void |
AddLineInfo(Instruction* inst) |
void |
AddMDStructItem(MDStruct* mdStruct, const std::string& fieldName, MDItem* item) |
void |
AddValue(Value* value) |
Instruction* |
CreateAdd(Value* left, Value* right) |
Instruction* |
CreateAnd(Value* left, Value* right) |
Instruction* |
CreateArg(Value* arg) |
Instruction* |
CreateBitCast(Value* arg, Type* destType) |
Instruction* |
CreateBranch(Value* cond, BasicBlock* trueDest, BasicBlock* falseDest) |
Instruction* |
CreateCall(Value* function) |
Instruction* |
CreateDiv(Value* left, Value* right) |
Instruction* |
CreateElemAddr(Value* ptr, Value* index) |
Instruction* |
CreateEqual(Value* left, Value* right) |
Instruction* |
CreateFloatToInt(Value* arg, Type* destType) |
GlobalVariable* |
CreateGlobalStringPtr(const std::string& stringValue) |
Instruction* |
CreateIntToFloat(Value* arg, Type* destType) |
Instruction* |
CreateIntToPtr(Value* arg, Type* destType) |
Instruction* |
CreateJump(BasicBlock* dest) |
Instruction* |
CreateLess(Value* left, Value* right) |
Instruction* |
CreateLoad(Value* ptr) |
Instruction* |
CreateLocal(Type* type) |
MDBasicBlockRef* |
CreateMDBasicBlockRef(void* bb) |
MDBool* |
CreateMDBool(bool value) |
MDLong* |
CreateMDLong(int64_t value) |
MDString* |
CreateMDString(const std::string& value) |
MDStruct* |
CreateMDStruct() |
MDStructRef* |
CreateMDStructRef(int id) |
Instruction* |
CreateMod(Value* left, Value* right) |
Instruction* |
CreateMul(Value* left, Value* right) |
Instruction* |
CreateNeg(Value* arg) |
Instruction* |
CreateNop() |
Instruction* |
CreateNot(Value* arg) |
Instruction* |
CreateOr(Value* left, Value* right) |
Instruction* |
CreateParam(Type* type) |
Instruction* |
CreatePtrDiff(Value* leftPtr, Value* rightPtr) |
Instruction* |
CreatePtrOffset(Value* ptr, Value* offset) |
Instruction* |
CreatePtrToInt(Value* arg, Type* destType) |
Instruction* |
CreateRet(Value* value) |
Instruction* |
CreateSave() |
Instruction* |
CreateShl(Value* left, Value* right) |
Instruction* |
CreateShr(Value* left, Value* right) |
Instruction* |
CreateSignExtend(Value* arg, Type* destType) |
Instruction* |
CreateStore(Value* value, Value* ptr) |
Type* |
CreateStructureType() |
Instruction* |
CreateSub(Value* left, Value* right) |
Instruction* |
CreateSwitch(Value* cond, BasicBlock* defaultDest) |
Instruction* |
CreateTrap(const std::vector<Value*>& args) |
Instruction* |
CreateTruncate(Value* arg, Type* destType) |
Instruction* |
CreateXor(Value* left, Value* right) |
Instruction* |
CreateZeroExtend(Value* arg, Type* destType) |
Type* |
GetArrayType(Type* elementType, uint64_t size) |
ArrayValue* |
GetArrayValue(Type* arrayType, const std::vector<ConstantValue*>& elements, const std::string& prefix) |
Type* |
GetBoolType() |
ConstantValue* |
GetBoolValue(bool value) |
Type* |
GetByteType() |
ConstantValue* |
GetByteValue(uint8_t value) |
ClsIdValue* |
GetClsIdValue(const std::string& typeId) |
ConversionValue* |
GetConversionValue(Type* type, ConstantValue* from) |
BasicBlock* |
GetCurrentBasicBlock() const |
DataRepository& |
GetDataRepository() |
ConstantValue* |
GetDefaultBoolValue() |
ConstantValue* |
GetDefaultByteValue() |
ConstantValue* |
GetDefaultDoubleValue() |
ConstantValue* |
GetDefaultFloatValue() |
ConstantValue* |
GetDefaultIntValue() |
ConstantValue* |
GetDefaultLongValue() |
ConstantValue* |
GetDefaultSByteValue() |
ConstantValue* |
GetDefaultShortValue() |
ConstantValue* |
GetDefaultUIntValue() |
ConstantValue* |
GetDefaultULongValue() |
ConstantValue* |
GetDefaultUShortValue() |
Type* |
GetDoubleType() |
ConstantValue* |
GetDoubleValue(double value) |
Type* |
GetFloatType() |
ConstantValue* |
GetFloatValue(float value) |
Type* |
GetFunctionType(Type* returnType, const std::vector<Type*>& paramTypes) |
Type* |
GetIntType() |
ConstantValue* |
GetIntValue(int32_t value) |
Type* |
GetLongType() |
ConstantValue* |
GetLongValue(int64_t value) |
MDStructRef* |
GetMDStructRefForSourceFile(const std::string& sourceFileName) |
Metadata& |
GetMetadata() |
ConstantValue* |
GetNullValue(PtrType* ptrType) |
GlobalVariable* |
GetOrInsertGlobal(const std::string& name, Type* type) |
Type* |
GetPtrType(Type* baseType) |
Type* |
GetSByteType() |
ConstantValue* |
GetSByteValue(int8_t value) |
Type* |
GetShortType() |
ConstantValue* |
GetShortValue(int16_t value) |
StringValue* |
GetStringValue(Type* stringType, const std::string& value) |
Type* |
GetStructureType(const std::vector<Type*>& memberTypes) |
StructureValue* |
GetStructureValue(Type* structureType, const std::vector<ConstantValue*>& members) |
TypeRepository& |
GetTypeRepository() |
Type* |
GetUIntType() |
ConstantValue* |
GetUIntValue(uint32_t value) |
Type* |
GetULongType() |
ConstantValue* |
GetULongValue(uint64_t value) |
Type* |
GetUShortType() |
ConstantValue* |
GetUShortValue(uint16_t value) |
Type* |
GetVoidType() |
void |
SetCompileUnitId(const std::string& compileUnitId_) |
void |
SetCurrentBasicBlock(BasicBlock* bb) |
void |
SetCurrentLineNumber(int lineNumber) |
void |
SetMetadataRef(Instruction* inst, MDStructRef* metadataRef) |