top | up | prev | next

Emitter Abstract Class

Definition at line 50 of Emitter.hpp

Constructors

Emitter(ValueStack* stack_)

Member Functions

void AddCase(void* switchInst, void* caseValue, void* caseDest) pure virtual
void AddClauseToLangdingPad(void* landingPad, void* exceptionTypeId) pure virtual
void AddControlFlowGraphEdge(int32_t startNodeId, int32_t endNodeId) pure virtual
int32_t AddControlFlowGraphNode() pure virtual
void AddHandlerToCatchSwitch(void* catchSwitch, void* target) pure virtual
void AddInlineFunctionAttribute(void* function) pure virtual
void AddLocalVariable(const std::string& localVariableName, const boost::uuids::uuid& typeId, void* irObject) pure virtual
void AddMDItem(void* mdStruct, const std::string& fieldName, void* mdItem) pure virtual
void AddNoUnwindAttribute(void* function) pure virtual
void AddUWTableAttribute(void* function) pure virtual
void BeginInstructionFlag(int16_t flag) pure virtual
void BeginScope() pure virtual
void BeginSubstituteLineNumber(int32_t lineNumber) pure virtual
void* CleanupBlock() pure virtual
void Compile(const std::string& bcFilePath, const std::string& objectFilePath, int optimizationLevel) pure virtual
void* ComputeAddress(void* ptr, void* index) pure virtual
void* CreateAShr(void* left, void* right) pure virtual
void* CreateAdd(void* left, void* right) pure virtual
void* CreateAlloca(void* irType) pure virtual
void* CreateAnd(void* left, void* right) pure virtual
void* CreateArrayIndexAddress(void* arrayPtr, void* index) pure virtual
void* CreateBasicBlock(const std::string& name) pure virtual
void* CreateBeginCatch() pure virtual
void* CreateBeginTry() pure virtual
void* CreateBitCast(void* operand, void* destinationType) pure virtual
void CreateBr(void* targetBasicBlock) pure virtual
void* CreateCall(void* callee, const std::vector<void*>& args) pure virtual
void* CreateCallInst(void* callee, const std::vector<void*>& args, const std::vector<void*>& bundles, const Span& span) pure virtual
void* CreateCallInstToBasicBlock(void* callee, const std::vector<void*>& args, const std::vector<void*>& bundles, void* basicBlock, const Span& span) pure virtual
void* CreateCatchPad(void* parentPad, const std::vector<void*>& args) pure virtual
void* CreateCatchRet(void* catchPad, void* returnTarget) pure virtual
void* CreateCatchSwitch(void* unwindBlock) pure virtual
void* CreateCatchSwitchWithParent(void* parentPad, void* unwindBlock) pure virtual
void* CreateClassDIType(void* classPtr) pure virtual
void CreateCleanup() pure virtual
void* CreateCleanupPad(const std::vector<void*>& args) pure virtual
void* CreateCleanupPadWithParent(void* parentPad, const std::vector<void*>& args) pure virtual
void* CreateCleanupRet(void* cleanupPad, void* unwindTarget) pure virtual
void CreateCondBr(void* cond, void* trueBasicBlock, void* falseBasicBlock) pure virtual
void* CreateConstDIType(void* diType) pure virtual
void* CreateDIAutoVariable(const std::string& name, const Span& span, const boost::uuids::uuid& moduleId, void* irType, void* allocaInst) pure virtual
void* CreateDIFunction(const std::string& name, const std::string& mangledName, const Span& span, const boost::uuids::uuid& moduleId, void* subroutineType, unsigned flags) pure virtual
void* CreateDIMemberType(void* scope, const std::string& name, const Span& span, const boost::uuids::uuid& moduleId, uint64_t sizeInBits, uint64_t alignInBits, uint64_t offsetInBits, void* diType) pure virtual
void* CreateDIMethod(const std::string& name, const std::string& mangledName, const Span& span, const boost::uuids::uuid& moduleId, void* subroutineType, unsigned virtuality, unsigned vtableIndex, void* vtableHolder, unsigned flags) pure virtual
void* CreateDIParameterVariable(const std::string& name, int index, const Span& span, const boost::uuids::uuid& moduleId, void* irType, void* allocaInst) pure virtual
void* CreateDITypeForArray(void* elementDIType, const std::vector<void*>& elements) pure virtual
void* CreateDITypeForBool() pure virtual
void* CreateDITypeForByte() pure virtual
void* CreateDITypeForChar() pure virtual
void* CreateDITypeForClassType(void* irType, const std::vector<void*>& memberVariableElements, const Span& classSpan, const boost::uuids::uuid& moduleId, const std::string& name, void* vtableHolderClass, const std::string& mangledName, void* baseClassDIType) pure virtual
void* CreateDITypeForDouble() pure virtual
void* CreateDITypeForEnumConstant(const std::string& name, int64_t value) pure virtual
void* CreateDITypeForEnumType(const std::string& name, const std::string& mangledName, const Span& span, const boost::uuids::uuid& moduleId, const std::vector<void*>& enumConstantElements, uint64_t sizeInBits, uint32_t alignInBits, void* underlyingDIType) pure virtual
void* CreateDITypeForFloat() pure virtual
void* CreateDITypeForInt() pure virtual
void* CreateDITypeForLong() pure virtual
void* CreateDITypeForSByte() pure virtual
void* CreateDITypeForShort() pure virtual
void* CreateDITypeForUChar() pure virtual
void* CreateDITypeForUInt() pure virtual
void* CreateDITypeForULong() pure virtual
void* CreateDITypeForUShort() pure virtual
void* CreateDITypeForVoid() pure virtual
void* CreateDITypeForWChar() pure virtual
void* CreateDebugInfoForNamespace(void* scope, const std::string& name) pure virtual
void* CreateDefaultIrValueForArrayType(void* arrayIrType, const std::vector<void*>& arrayOfDefaults) pure virtual
void* CreateDefaultIrValueForBool() pure virtual
void* CreateDefaultIrValueForByte() pure virtual
void* CreateDefaultIrValueForChar() pure virtual
void* CreateDefaultIrValueForDelegateType(void* irType) pure virtual
void* CreateDefaultIrValueForDerivedType(void* irType) pure virtual
void* CreateDefaultIrValueForDouble() pure virtual
void* CreateDefaultIrValueForFloat() pure virtual
void* CreateDefaultIrValueForInt() pure virtual
void* CreateDefaultIrValueForLong() pure virtual
void* CreateDefaultIrValueForPtrType(void* irType) pure virtual
void* CreateDefaultIrValueForSByte() pure virtual
void* CreateDefaultIrValueForShort() pure virtual
void* CreateDefaultIrValueForStruct(void* irType, const std::vector<void*>& defaultMembers) pure virtual
void* CreateDefaultIrValueForUChar() pure virtual
void* CreateDefaultIrValueForUInt() pure virtual
void* CreateDefaultIrValueForULong() pure virtual
void* CreateDefaultIrValueForUShort() pure virtual
void* CreateDefaultIrValueForVoidPtrType() pure virtual
void* CreateDefaultIrValueForWChar() pure virtual
void* CreateEndCatch(void* nextDest) pure virtual
void* CreateEndTry(void* nextDest) pure virtual
void* CreateExtractValue(void* aggregate, const std::vector<unsigned int>& indeces) pure virtual
void* CreateFAdd(void* left, void* right) pure virtual
void* CreateFCmpOEQ(void* left, void* right) pure virtual
void* CreateFCmpOLT(void* leftValue, void* rightValue) pure virtual
void* CreateFDiv(void* left, void* right) pure virtual
void* CreateFMul(void* left, void* right) pure virtual
void* CreateFNeg(void* value) pure virtual
void* CreateFPExt(void* operand, void* destinationType) pure virtual
void* CreateFPToSI(void* operand, void* destinationType) pure virtual
void* CreateFPToUI(void* operand, void* destinationType) pure virtual
void* CreateFPTrunc(void* operand, void* destinationType) pure virtual
void* CreateFSub(void* left, void* right) pure virtual
void* CreateFwdIrTypeForClassType() pure virtual
void* CreateGlobalStringPtr(const std::string& name) pure virtual
void* CreateGlobalUStringPtr(const std::u32string& name) pure virtual
void* CreateGlobalWStringPtr(const std::u16string& name) pure virtual
void* CreateICmpEQ(void* left, void* right) pure virtual
void* CreateICmpSLT(void* leftValue, void* rightValue) pure virtual
void* CreateICmpULT(void* leftValue, void* rightValue) pure virtual
void* CreateIncludeBasicBlockInstruction(void* basicBlock) pure virtual
void* CreateInsertValue(void* aggregate, void* value, const std::vector<unsigned int>& indeces) pure virtual
void* CreateIntToPtr(void* intValue, void* destinationType) pure virtual
void* CreateInvoke(void* callee, void* normalBlock, void* unwindBlock, const std::vector<void*>& args) pure virtual
void* CreateInvokeInst(void* callee, void* normalBlock, void* unwindBlock, const std::vector<void*>& args, const std::vector<void*>& bundles, const Span& span) pure virtual
void* CreateIrDIForwardDeclaration(void* irType, const std::string& name, const std::string& mangledName, const Span& span, const boost::uuids::uuid& moduleId) pure virtual
void* CreateIrValueForBool(bool value) pure virtual
void* CreateIrValueForByte(uint8_t value) pure virtual
void* CreateIrValueForChar(uint8_t value) pure virtual
void* CreateIrValueForConstantArray(void* arrayIrType, const std::vector<void*>& elementConstants, const std::string& prefix) pure virtual
void* CreateIrValueForConstantStruct(void* structIrType, const std::vector<void*>& elementConstants) pure virtual
void* CreateIrValueForDouble(double value) pure virtual
void* CreateIrValueForFloat(float value) pure virtual
void* CreateIrValueForInt(int32_t value) pure virtual
void* CreateIrValueForLong(int64_t value) pure virtual
void* CreateIrValueForSByte(int8_t value) pure virtual
void* CreateIrValueForShort(int16_t value) pure virtual
void* CreateIrValueForUChar(uint32_t value) pure virtual
void* CreateIrValueForUInt(uint32_t value) pure virtual
void* CreateIrValueForULong(uint64_t value) pure virtual
void* CreateIrValueForUShort(uint16_t value) pure virtual
void* CreateIrValueForUString(void* ustringConstant) pure virtual
void* CreateIrValueForUuid(void* uuidConstant) pure virtual
void* CreateIrValueForWChar(uint16_t value) pure virtual
void* CreateIrValueForWString(void* wstringConstant) pure virtual
void* CreateLShr(void* left, void* right) pure virtual
void* CreateLValueRefDIType(void* diType) pure virtual
void* CreateLandingPad(void* lpType) pure virtual
void* CreateLexicalBlock(const Span& span, const boost::uuids::uuid& moduleId) pure virtual
void* CreateLoad(void* ptr) pure virtual
void* CreateMDBasicBlockRef(void* bb) pure virtual
void* CreateMDBool(bool value) pure virtual
void* CreateMDLong(int64_t value) pure virtual
void* CreateMDString(const std::string& value) pure virtual
void* CreateMDStruct() pure virtual
void* CreateMDStructRef(int id) pure virtual
void* CreateModule(const std::string& moduleName) pure virtual
void* CreateMul(void* left, void* right) pure virtual
void* CreateNeg(void* value) pure virtual
void* CreateNop() pure virtual
void* CreateNot(void* value) pure virtual
void* CreateOr(void* left, void* right) pure virtual
void* CreatePointerDIType(void* diType) pure virtual
void* CreatePtrDiff(void* left, void* right) pure virtual
void* CreatePtrToInt(void* ptrValue, void* destinationType) pure virtual
void* CreateRValueRefDIType(void* diType) pure virtual
void CreateResume(void* exception) pure virtual
void* CreateRet(void* value) pure virtual
void* CreateRetVoid() pure virtual
void* CreateSDiv(void* left, void* right) pure virtual
void* CreateSExt(void* operand, void* destinationType) pure virtual
void* CreateSIToFP(void* operand, void* destinationType) pure virtual
void* CreateSRem(void* left, void* right) pure virtual
void* CreateSave() pure virtual
void* CreateShl(void* left, void* right) pure virtual
void CreateStore(void* value, void* ptr) pure virtual
void* CreateSub(void* left, void* right) pure virtual
void* CreateSubroutineType(const std::vector<void*>& elementTypes) pure virtual
void* CreateSwitch(void* condition, void* defaultDest, unsigned numCases) pure virtual
void* CreateTrunc(void* operand, void* destinationType) pure virtual
void* CreateUDiv(void* left, void* right) pure virtual
void* CreateUIToFP(void* operand, void* destinationType) pure virtual
void* CreateURem(void* left, void* right) pure virtual
void* CreateUndefValue(void* type) pure virtual
void* CreateUnspecifiedDIType(const std::string& name) pure virtual
void* CreateXor(void* left, void* right) pure virtual
void* CreateZExt(void* operand, void* destinationType) pure virtual
void* CurrentBasicBlock() const pure virtual
Pad* CurrentPad() pure virtual
void* CurrentScope() pure virtual
void* DIBuilder() pure virtual
void DebugPrintDebugInfo(const std::string& filePath) pure virtual
void DestroyModule(void* module) pure virtual
void Disassemble(const std::string& bcFilePath, const std::string& llFilePath) pure virtual
void EmitIrFile(const std::string& filePath) pure virtual
void EmitIrText(const std::string& filePath) pure virtual
void EmitObjectCodeFile(const std::string& objectFilePath) pure virtual
void EndDebugInfo() pure virtual
void EndInstructionFlag(int16_t flag) pure virtual
void EndScope() pure virtual
void EndSubstituteLineNumber() pure virtual
void FinalizeDebugInfo() pure virtual
void FinalizeFunction(void* function, bool hasCleanup) pure virtual
void* GenerateTrap(const std::vector<void*>& args) pure virtual
uint64_t GetAlignmentInBits(void* irType) pure virtual
void* GetArrayBeginAddress(void* arrayPtr) pure virtual
void* GetArrayEndAddress(void* arrayPtr, uint64_t size) pure virtual
int GetBasicBlockId(void* basicBlock) pure virtual
void* GetBoundCompileUnit() const pure virtual
void* GetClassIdPtr(void* vmtPtr, int32_t classIdVmtIndexOffset) pure virtual
void* GetClassName(void* vmtPtr, int32_t classNameVmtIndexOffset) pure virtual
uint64_t GetClassTypeAlignmentInBits(void* classIrType) pure virtual
uint64_t GetClassTypeSizeInBits(void* classIrType) pure virtual
void* GetClsIdValue(const std::string& typeId) pure virtual
void* GetConversionValue(void* type, void* from) pure virtual
int16_t GetCurrentScopeId() const pure virtual
void* GetDIMemberType(const std::pair<boost::uuids::uuid, int32_t>& memberVariableId) pure virtual
void* GetDITypeByTypeId(const boost::uuids::uuid& typeId) const pure virtual
void* GetDebugInfoForFile(const Span& span, const boost::uuids::uuid& moduleId) pure virtual
void* GetDelegateFromClassDelegate(void* classDelegatePtr) pure virtual
void* GetFunctionArgument(void* function, int argumentIndex) pure virtual
unsigned GetFunctionFlags(bool isStatic, unsigned accessFlags, bool isExplicit) pure virtual
void* GetFunctionIrType(void* functionSymbol) const pure virtual
void* GetGlobalStringPtr(int stringId) pure virtual
void* GetGlobalUStringConstant(int stringId) pure virtual
void* GetGlobalUuidConstant(int uuidId) pure virtual
void* GetGlobalWStringConstant(int stringId) pure virtual
void* GetImt(void* imtArray, int32_t interfaceIndex) pure virtual
void* GetImtArray(void* vmtObjectPtr, int32_t imtsVmtIndexOffset) pure virtual
std::string GetImtArrayObjectName(void* symbol) const pure virtual
void* GetImtPtrFromInterface(void* interfaceTypePtr) pure virtual
void* GetInterfaceMethod(void* imtPtr, int32_t methodIndex, void* interfaceMethodType) pure virtual
void* GetIrObject(void* symbol) const pure virtual
void* GetIrTypeByTypeId(const boost::uuids::uuid& typeId) pure virtual
void* GetIrTypeForArrayType(void* elementType, int64_t size) pure virtual
void* GetIrTypeForBool() pure virtual
void* GetIrTypeForByte() pure virtual
void* GetIrTypeForChar() pure virtual
void* GetIrTypeForClassType(const std::vector<void*>& elementTypes) pure virtual
void* GetIrTypeForDelegateType(void* retType, const std::vector<void*>& paramTypes) pure virtual
void* GetIrTypeForDouble() pure virtual
void* GetIrTypeForFloat() pure virtual
void* GetIrTypeForFunction(void* retType, const std::vector<void*>& paramTypes) pure virtual
void* GetIrTypeForInt() pure virtual
void* GetIrTypeForLong() pure virtual
void* GetIrTypeForPtrType(void* baseIrType) pure virtual
void* GetIrTypeForSByte() pure virtual
void* GetIrTypeForShort() pure virtual
void* GetIrTypeForStructType(const std::vector<void*>& elementTypes) pure virtual
void* GetIrTypeForUChar() pure virtual
void* GetIrTypeForUInt() pure virtual
void* GetIrTypeForULong() pure virtual
void* GetIrTypeForUShort() pure virtual
void* GetIrTypeForVariableParamFunction(void* retType) pure virtual
void* GetIrTypeForVoid() pure virtual
void* GetIrTypeForVoidPtrType() pure virtual
void* GetIrTypeForWChar() pure virtual
std::string GetIrTypeName(void* irType) pure virtual
int GetMDStructId(void* mdStruct) pure virtual
void* GetMDStructRefForSourceFile(const std::string& sourceFileName) pure virtual
void* GetMemberVariablePtr(void* classPtr, int32_t memberVariableLayoutIndex) pure virtual
void* GetMethodPtr(void* vmtPtr, int32_t vmtIndex) pure virtual
uint32_t GetNoFlags() pure virtual
void* GetObjectFromClassDelegate(void* classDelegatePtr) pure virtual
void* GetObjectFromInterface(void* interfaceTypePtr) pure virtual
void* GetObjectPointer() pure virtual
void* GetObjectPtrFromInterface(void* interfaceTypePtr) pure virtual
uint64_t GetOffsetInBits(void* classIrType, int layoutIndex) pure virtual
void* GetOrInsertAnyComdat(const std::string& name, void* global) pure virtual
void* GetOrInsertAnyFunctionComdat(const std::string& name, void* function) pure virtual
void* GetOrInsertFunction(const std::string& name, void* type, bool nothrow) pure virtual
void* GetOrInsertGlobal(const std::string& name, void* type) pure virtual
uint32_t GetPrivateFlag() pure virtual
uint32_t GetProtectedFlag() pure virtual
uint32_t GetPublicFlag() pure virtual
unsigned GetPureVirtualVirtuality() pure virtual
uint64_t GetSizeInBits(void* irType) pure virtual
std::string GetStaticObjectName(void* symbol) const pure virtual
void* GetStaticObjectType(void* symbol) const pure virtual
unsigned GetVirtualVirtuality() pure virtual
std::string GetVmtObjectName(void* symbol) const pure virtual
void* GetVmtObjectType(void* symbol) const pure virtual
void* GetVmtPtr(void* thisPtr, int32_t vmtPtrIndex, void* vmtPtrType) pure virtual
void* HandlerBlock() pure virtual
int Install(const std::string& str) pure virtual
int Install(const std::u16string& str) pure virtual
int Install(const std::u32string& str) pure virtual
bool IsStaticObjectCreated(void* symbol) const pure virtual
bool IsVmtObjectCreated(void* symbol) const pure virtual
std::string MakeVmtVariableName(const std::string& vmtObjectName) pure virtual
void MapClassPtr(const boost::uuids::uuid& typeId, void* classPtr, const std::string& className) pure virtual
void MapFwdDeclaration(void* fwdDeclaration, const boost::uuids::uuid& typeId) pure virtual
void MoveAllocaIntoBasicBlock(void* allocaInst, void* lastAlloca, void* basicBlock) pure virtual
bool NewCleanupNeeded() pure virtual
void Optimize(const std::string& bcFilePath, const std::string& opBCFilePath, const std::string& optimizationFlags) pure virtual
void PopParentBlock() pure virtual
void PopScope() pure virtual
void PushParentBlock() pure virtual
void PushScope(void* scope) pure virtual
void ResetCurrentDebugLocation() pure virtual
void SaveObjectPointer(void* objectPointer_) pure virtual
void SetBoundCompileUnit(void* boundCompileUnit) pure virtual
void SetCleanupBlock(void* cleanupBlock) pure virtual
void SetColumnSpanProvider(ColumnSpanProvider* columnSpanProvider_) pure virtual
void SetCompileUnitId(const std::string& compileUnitId) pure virtual
void SetCurrentBasicBlock(void* basicBlock) pure virtual
void SetCurrentControlFlowGraphNodeId(int32_t controlFlowGraphNodeId) pure virtual
void SetCurrentDIBuilder(void* diBuilder_) pure virtual
void SetCurrentDebugLocation(const Span& span) pure virtual
void SetCurrentScopeId(int16_t scopeId) pure virtual
void SetCurrentSourceSpan(int32_t lineNumber, int16_t scol, int16_t ecol) pure virtual
void SetDICompileUnit(void* diCompileUnit_) pure virtual
void SetDIFile(void* diFile_) pure virtual
void SetDIMemberType(const std::pair<boost::uuids::uuid, int32_t>& memberVariableId, void* diType) pure virtual
void SetDISubprogram(void* function, void* subprogram) pure virtual
void SetDITypeByTypeId(const boost::uuids::uuid& typeId, void* diType, const std::string& typeName) pure virtual
void SetDataLayout(void* dataLayout_) pure virtual
void SetDebugLoc(void* callInst) pure virtual
void SetEmittingDelegate(EmittingDelegate* emittingDelegate_) pure virtual
void SetFunction(void* function_, int32_t fileIndex, const boost::uuids::uuid& sourceModuleId, const boost::uuids::uuid& functionId) pure virtual
void SetFunctionCallConventionToStdCall(void* function) pure virtual
void SetFunctionIrType(void* symbol, void* irType) pure virtual
void SetFunctionLinkage(void* function, bool setInline) pure virtual
void SetFunctionLinkageToLinkOnceODRLinkage(void* function) pure virtual
void SetFunctionMdId(void* function, int mdId) pure virtual
void SetFunctionName(const std::string& functionName) pure virtual
void SetFwdIrTypeBody(void* forwardDeclaredType, const std::vector<void*>& elementTypes) pure virtual
void SetHandlerBlock(void* tryBlock, void* catchBlock) pure virtual
void SetImtArrayObjectName(void* symbol, const std::string& imtArrayObjectName) pure virtual
void SetInPrologue(bool inPrologue_) pure virtual
void SetInitializer(void* global, void* initializer) pure virtual
void SetIrObject(void* symbol, void* irObject) pure virtual
void SetIrTypeByTypeId(const boost::uuids::uuid& typeId, void* irType) pure virtual
void SetLandindPadAsCleanup(void* landingPad) pure virtual
void SetLineNumber(int32_t lineNumber) pure virtual
void SetMetadataRef(void* inst, void* mdStructRef) pure virtual
void SetModule(void* module_) pure virtual
void SetObjectPointer(void* objectPointer_) pure virtual
void SetPersonalityFunction(void* function, void* personalityFunction) pure virtual
void SetPrivateLinkage(void* global) pure virtual
void SetSourceFileName(const std::string& sourceFileName) pure virtual
void SetStaticObjectCreated(void* symbol) pure virtual
void SetStaticObjectName(void* symbol, const std::string& staticObjectName) pure virtual
void SetStaticObjectType(void* symbol, void* type) pure virtual
void SetTargetTriple(const std::string& targetTriple) pure virtual
void SetVmtObjectCreated(void* symbol) pure virtual
void SetVmtObjectName(void* symbol, const std::string& vmtObjectName) pure virtual
void SetVmtObjectType(void* symbol, void* vmtObjectType) pure virtual
void* SizeOf(void* ptrType) pure virtual
ValueStack& Stack()
void StartDebugInfo(const std::string& sourceFilePath, const std::string& compilerVersion, bool optimized, ColumnSpanProvider* columnSpanProvider_) pure virtual
void VerifyModule() pure virtual

Member Variables

ValueStack* stack

Constructor Details

Emitter Constructor

cmajor::ir::Emitter::Emitter(ValueStack * stack_)

Definition at line 10 of Emitter.cpp :
10 : stack(stack_)
11 {
12 }


Declaration at line 53 of Emitter.hpp


Member Function Details

AddCase Member Function

void cmajor::ir::Emitter::AddCase(void * switchInst, void * caseValue, void * caseDest) pure virtual

Definition at line 363 of Emitter.hpp


AddClauseToLangdingPad Member Function

void cmajor::ir::Emitter::AddClauseToLangdingPad(void * landingPad, void * exceptionTypeId) pure virtual

Definition at line 386 of Emitter.hpp


AddControlFlowGraphEdge Member Function

void cmajor::ir::Emitter::AddControlFlowGraphEdge(int32_t startNodeId, int32_t endNodeId) pure virtual

Definition at line 338 of Emitter.hpp


AddControlFlowGraphNode Member Function

int32_t cmajor::ir::Emitter::AddControlFlowGraphNode() pure virtual

Definition at line 336 of Emitter.hpp


AddHandlerToCatchSwitch Member Function

void cmajor::ir::Emitter::AddHandlerToCatchSwitch(void * catchSwitch, void * target) pure virtual

Definition at line 261 of Emitter.hpp


AddInlineFunctionAttribute Member Function

void cmajor::ir::Emitter::AddInlineFunctionAttribute(void * function) pure virtual

Definition at line 326 of Emitter.hpp


AddLocalVariable Member Function

void cmajor::ir::Emitter::AddLocalVariable(const std::string& localVariableName, const boost::uuids::uuid& typeId, void * irObject) pure virtual

Definition at line 339 of Emitter.hpp


AddMDItem Member Function

void cmajor::ir::Emitter::AddMDItem(void * mdStruct, const std::string& fieldName, void * mdItem) pure virtual

Definition at line 374 of Emitter.hpp


AddNoUnwindAttribute Member Function

void cmajor::ir::Emitter::AddNoUnwindAttribute(void * function) pure virtual

Definition at line 359 of Emitter.hpp


AddUWTableAttribute Member Function

void cmajor::ir::Emitter::AddUWTableAttribute(void * function) pure virtual

Definition at line 360 of Emitter.hpp


BeginInstructionFlag Member Function

void cmajor::ir::Emitter::BeginInstructionFlag(int16_t flag) pure virtual

Definition at line 340 of Emitter.hpp


BeginScope Member Function

void cmajor::ir::Emitter::BeginScope() pure virtual

Definition at line 332 of Emitter.hpp


BeginSubstituteLineNumber Member Function

void cmajor::ir::Emitter::BeginSubstituteLineNumber(int32_t lineNumber) pure virtual

Definition at line 392 of Emitter.hpp


CleanupBlock Member Function

void * cmajor::ir::Emitter::CleanupBlock() pure virtual

Definition at line 251 of Emitter.hpp


Compile Member Function

void cmajor::ir::Emitter::Compile(const std::string& bcFilePath, const std::string& objectFilePath, int optimizationLevel) pure virtual

Definition at line 316 of Emitter.hpp


ComputeAddress Member Function

void * cmajor::ir::Emitter::ComputeAddress(void * ptr, void * index) pure virtual

Definition at line 293 of Emitter.hpp


CreateAShr Member Function

void * cmajor::ir::Emitter::CreateAShr(void * left, void * right) pure virtual

Definition at line 202 of Emitter.hpp


CreateAdd Member Function

void * cmajor::ir::Emitter::CreateAdd(void * left, void * right) pure virtual

Definition at line 187 of Emitter.hpp


CreateAlloca Member Function

void * cmajor::ir::Emitter::CreateAlloca(void * irType) pure virtual

Definition at line 351 of Emitter.hpp


CreateAnd Member Function

void * cmajor::ir::Emitter::CreateAnd(void * left, void * right) pure virtual

Definition at line 198 of Emitter.hpp


CreateArrayIndexAddress Member Function

void * cmajor::ir::Emitter::CreateArrayIndexAddress(void * arrayPtr, void * index) pure virtual

Definition at line 184 of Emitter.hpp


CreateBasicBlock Member Function

void * cmajor::ir::Emitter::CreateBasicBlock(const std::string& name) pure virtual

Definition at line 173 of Emitter.hpp


CreateBeginCatch Member Function

void * cmajor::ir::Emitter::CreateBeginCatch() pure virtual

Definition at line 228 of Emitter.hpp


CreateBeginTry Member Function

void * cmajor::ir::Emitter::CreateBeginTry() pure virtual

Definition at line 226 of Emitter.hpp


CreateBitCast Member Function

void * cmajor::ir::Emitter::CreateBitCast(void * operand, void * destinationType) pure virtual

Definition at line 214 of Emitter.hpp


CreateBr Member Function

void cmajor::ir::Emitter::CreateBr(void * targetBasicBlock) pure virtual

Definition at line 180 of Emitter.hpp


CreateCall Member Function

void * cmajor::ir::Emitter::CreateCall(void * callee, const std::vector<void *>& args) pure virtual

Definition at line 264 of Emitter.hpp


CreateCallInst Member Function

void * cmajor::ir::Emitter::CreateCallInst(void * callee, const std::vector<void *>& args, const std::vector<void *>& bundles, const Span & span) pure virtual

Definition at line 265 of Emitter.hpp


CreateCallInstToBasicBlock Member Function

void * cmajor::ir::Emitter::CreateCallInstToBasicBlock(void * callee, const std::vector<void *>& args, const std::vector<void *>& bundles, void * basicBlock, const Span & span) pure virtual

Definition at line 266 of Emitter.hpp


CreateCatchPad Member Function

void * cmajor::ir::Emitter::CreateCatchPad(void * parentPad, const std::vector<void *>& args) pure virtual

Definition at line 262 of Emitter.hpp


CreateCatchRet Member Function

void * cmajor::ir::Emitter::CreateCatchRet(void * catchPad, void * returnTarget) pure virtual

Definition at line 258 of Emitter.hpp


CreateCatchSwitch Member Function

void * cmajor::ir::Emitter::CreateCatchSwitch(void * unwindBlock) pure virtual

Definition at line 259 of Emitter.hpp


CreateCatchSwitchWithParent Member Function

void * cmajor::ir::Emitter::CreateCatchSwitchWithParent(void * parentPad, void * unwindBlock) pure virtual

Definition at line 260 of Emitter.hpp


CreateClassDIType Member Function

void * cmajor::ir::Emitter::CreateClassDIType(void * classPtr) pure virtual

Definition at line 263 of Emitter.hpp


CreateCleanup Member Function

void cmajor::ir::Emitter::CreateCleanup() pure virtual

Definition at line 253 of Emitter.hpp


CreateCleanupPad Member Function

void * cmajor::ir::Emitter::CreateCleanupPad(const std::vector<void *>& args) pure virtual

Definition at line 256 of Emitter.hpp


CreateCleanupPadWithParent Member Function

void * cmajor::ir::Emitter::CreateCleanupPadWithParent(void * parentPad, const std::vector<void *>& args) pure virtual

Definition at line 255 of Emitter.hpp


CreateCleanupRet Member Function

void * cmajor::ir::Emitter::CreateCleanupRet(void * cleanupPad, void * unwindTarget) pure virtual

Definition at line 257 of Emitter.hpp


CreateCondBr Member Function

void cmajor::ir::Emitter::CreateCondBr(void * cond, void * trueBasicBlock, void * falseBasicBlock) pure virtual

Definition at line 183 of Emitter.hpp


CreateConstDIType Member Function

void * cmajor::ir::Emitter::CreateConstDIType(void * diType) pure virtual

Definition at line 162 of Emitter.hpp


CreateDIAutoVariable Member Function

void * cmajor::ir::Emitter::CreateDIAutoVariable(const std::string& name, const Span & span, const boost::uuids::uuid& moduleId, void * irType, void * allocaInst) pure virtual

Definition at line 353 of Emitter.hpp


CreateDIFunction Member Function

void * cmajor::ir::Emitter::CreateDIFunction(const std::string& name, const std::string& mangledName, const Span & span, const boost::uuids::uuid& moduleId, void * subroutineType, unsigned flags) pure virtual

Definition at line 349 of Emitter.hpp


CreateDIMemberType Member Function

void * cmajor::ir::Emitter::CreateDIMemberType(void * scope, const std::string& name, const Span & span, const boost::uuids::uuid& moduleId, uint64_t sizeInBits, uint64_t alignInBits, uint64_t offsetInBits, void * diType) pure virtual

Definition at line 161 of Emitter.hpp


CreateDIMethod Member Function

void * cmajor::ir::Emitter::CreateDIMethod(const std::string& name, const std::string& mangledName, const Span & span, const boost::uuids::uuid& moduleId, void * subroutineType, unsigned virtuality, unsigned vtableIndex, void * vtableHolder, unsigned flags) pure virtual

Definition at line 347 of Emitter.hpp


CreateDIParameterVariable Member Function

void * cmajor::ir::Emitter::CreateDIParameterVariable(const std::string& name, int index, const Span & span, const boost::uuids::uuid& moduleId, void * irType, void * allocaInst) pure virtual

Definition at line 352 of Emitter.hpp


CreateDITypeForArray Member Function

void * cmajor::ir::Emitter::CreateDITypeForArray(void * elementDIType, const std::vector<void *>& elements) pure virtual

Definition at line 148 of Emitter.hpp


CreateDITypeForBool Member Function

void * cmajor::ir::Emitter::CreateDITypeForBool() pure virtual

Definition at line 133 of Emitter.hpp


CreateDITypeForByte Member Function

void * cmajor::ir::Emitter::CreateDITypeForByte() pure virtual

Definition at line 135 of Emitter.hpp


CreateDITypeForChar Member Function

void * cmajor::ir::Emitter::CreateDITypeForChar() pure virtual

Definition at line 144 of Emitter.hpp


CreateDITypeForClassType Member Function

void * cmajor::ir::Emitter::CreateDITypeForClassType(void * irType, const std::vector<void *>& memberVariableElements, const Span & classSpan, const boost::uuids::uuid& moduleId, const std::string& name, void * vtableHolderClass, const std::string& mangledName, void * baseClassDIType) pure virtual

Definition at line 154 of Emitter.hpp


CreateDITypeForDouble Member Function

void * cmajor::ir::Emitter::CreateDITypeForDouble() pure virtual

Definition at line 143 of Emitter.hpp


CreateDITypeForEnumConstant Member Function

void * cmajor::ir::Emitter::CreateDITypeForEnumConstant(const std::string& name, int64_t value) pure virtual

Definition at line 149 of Emitter.hpp


CreateDITypeForEnumType Member Function

void * cmajor::ir::Emitter::CreateDITypeForEnumType(const std::string& name, const std::string& mangledName, const Span & span, const boost::uuids::uuid& moduleId, const std::vector<void *>& enumConstantElements, uint64_t sizeInBits, uint32_t alignInBits, void * underlyingDIType) pure virtual

Definition at line 150 of Emitter.hpp


CreateDITypeForFloat Member Function

void * cmajor::ir::Emitter::CreateDITypeForFloat() pure virtual

Definition at line 142 of Emitter.hpp


CreateDITypeForInt Member Function

void * cmajor::ir::Emitter::CreateDITypeForInt() pure virtual

Definition at line 138 of Emitter.hpp


CreateDITypeForLong Member Function

void * cmajor::ir::Emitter::CreateDITypeForLong() pure virtual

Definition at line 140 of Emitter.hpp


CreateDITypeForSByte Member Function

void * cmajor::ir::Emitter::CreateDITypeForSByte() pure virtual

Definition at line 134 of Emitter.hpp


CreateDITypeForShort Member Function

void * cmajor::ir::Emitter::CreateDITypeForShort() pure virtual

Definition at line 136 of Emitter.hpp


CreateDITypeForUChar Member Function

void * cmajor::ir::Emitter::CreateDITypeForUChar() pure virtual

Definition at line 146 of Emitter.hpp


CreateDITypeForUInt Member Function

void * cmajor::ir::Emitter::CreateDITypeForUInt() pure virtual

Definition at line 139 of Emitter.hpp


CreateDITypeForULong Member Function

void * cmajor::ir::Emitter::CreateDITypeForULong() pure virtual

Definition at line 141 of Emitter.hpp


CreateDITypeForUShort Member Function

void * cmajor::ir::Emitter::CreateDITypeForUShort() pure virtual

Definition at line 137 of Emitter.hpp


CreateDITypeForVoid Member Function

void * cmajor::ir::Emitter::CreateDITypeForVoid() pure virtual

Definition at line 147 of Emitter.hpp


CreateDITypeForWChar Member Function

void * cmajor::ir::Emitter::CreateDITypeForWChar() pure virtual

Definition at line 145 of Emitter.hpp


CreateDebugInfoForNamespace Member Function

void * cmajor::ir::Emitter::CreateDebugInfoForNamespace(void * scope, const std::string& name) pure virtual

Definition at line 319 of Emitter.hpp


CreateDefaultIrValueForArrayType Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForArrayType(void * arrayIrType, const std::vector<void *>& arrayOfDefaults) pure virtual

Definition at line 86 of Emitter.hpp


CreateDefaultIrValueForBool Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForBool() pure virtual

Definition at line 87 of Emitter.hpp


CreateDefaultIrValueForByte Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForByte() pure virtual

Definition at line 89 of Emitter.hpp


CreateDefaultIrValueForChar Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForChar() pure virtual

Definition at line 98 of Emitter.hpp


CreateDefaultIrValueForDelegateType Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForDelegateType(void * irType) pure virtual

Definition at line 102 of Emitter.hpp


CreateDefaultIrValueForDerivedType Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForDerivedType(void * irType) pure virtual

Definition at line 104 of Emitter.hpp


CreateDefaultIrValueForDouble Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForDouble() pure virtual

Definition at line 97 of Emitter.hpp


CreateDefaultIrValueForFloat Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForFloat() pure virtual

Definition at line 96 of Emitter.hpp


CreateDefaultIrValueForInt Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForInt() pure virtual

Definition at line 92 of Emitter.hpp


CreateDefaultIrValueForLong Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForLong() pure virtual

Definition at line 94 of Emitter.hpp


CreateDefaultIrValueForPtrType Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForPtrType(void * irType) pure virtual

Definition at line 105 of Emitter.hpp


CreateDefaultIrValueForSByte Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForSByte() pure virtual

Definition at line 88 of Emitter.hpp


CreateDefaultIrValueForShort Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForShort() pure virtual

Definition at line 90 of Emitter.hpp


CreateDefaultIrValueForStruct Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForStruct(void * irType, const std::vector<void *>& defaultMembers) pure virtual

Definition at line 101 of Emitter.hpp


CreateDefaultIrValueForUChar Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForUChar() pure virtual

Definition at line 100 of Emitter.hpp


CreateDefaultIrValueForUInt Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForUInt() pure virtual

Definition at line 93 of Emitter.hpp


CreateDefaultIrValueForULong Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForULong() pure virtual

Definition at line 95 of Emitter.hpp


CreateDefaultIrValueForUShort Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForUShort() pure virtual

Definition at line 91 of Emitter.hpp


CreateDefaultIrValueForVoidPtrType Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForVoidPtrType() pure virtual

Definition at line 103 of Emitter.hpp


CreateDefaultIrValueForWChar Member Function

void * cmajor::ir::Emitter::CreateDefaultIrValueForWChar() pure virtual

Definition at line 99 of Emitter.hpp


CreateEndCatch Member Function

void * cmajor::ir::Emitter::CreateEndCatch(void * nextDest) pure virtual

Definition at line 229 of Emitter.hpp


CreateEndTry Member Function

void * cmajor::ir::Emitter::CreateEndTry(void * nextDest) pure virtual

Definition at line 227 of Emitter.hpp


CreateExtractValue Member Function

void * cmajor::ir::Emitter::CreateExtractValue(void * aggregate, const std::vector<unsigned int >& indeces) pure virtual

Definition at line 387 of Emitter.hpp


CreateFAdd Member Function

void * cmajor::ir::Emitter::CreateFAdd(void * left, void * right) pure virtual

Definition at line 188 of Emitter.hpp


CreateFCmpOEQ Member Function

void * cmajor::ir::Emitter::CreateFCmpOEQ(void * left, void * right) pure virtual

Definition at line 205 of Emitter.hpp


CreateFCmpOLT Member Function

void * cmajor::ir::Emitter::CreateFCmpOLT(void * leftValue, void * rightValue) pure virtual

Definition at line 208 of Emitter.hpp


CreateFDiv Member Function

void * cmajor::ir::Emitter::CreateFDiv(void * left, void * right) pure virtual

Definition at line 195 of Emitter.hpp


CreateFMul Member Function

void * cmajor::ir::Emitter::CreateFMul(void * left, void * right) pure virtual

Definition at line 192 of Emitter.hpp


CreateFNeg Member Function

void * cmajor::ir::Emitter::CreateFNeg(void * value) pure virtual

Definition at line 223 of Emitter.hpp


CreateFPExt Member Function

void * cmajor::ir::Emitter::CreateFPExt(void * operand, void * destinationType) pure virtual

Definition at line 211 of Emitter.hpp


CreateFPToSI Member Function

void * cmajor::ir::Emitter::CreateFPToSI(void * operand, void * destinationType) pure virtual

Definition at line 218 of Emitter.hpp


CreateFPToUI Member Function

void * cmajor::ir::Emitter::CreateFPToUI(void * operand, void * destinationType) pure virtual

Definition at line 217 of Emitter.hpp


CreateFPTrunc Member Function

void * cmajor::ir::Emitter::CreateFPTrunc(void * operand, void * destinationType) pure virtual

Definition at line 213 of Emitter.hpp


CreateFSub Member Function

void * cmajor::ir::Emitter::CreateFSub(void * left, void * right) pure virtual

Definition at line 190 of Emitter.hpp


CreateFwdIrTypeForClassType Member Function

void * cmajor::ir::Emitter::CreateFwdIrTypeForClassType() pure virtual

Definition at line 78 of Emitter.hpp


CreateGlobalStringPtr Member Function

void * cmajor::ir::Emitter::CreateGlobalStringPtr(const std::string& name) pure virtual

Definition at line 126 of Emitter.hpp


CreateGlobalUStringPtr Member Function

void * cmajor::ir::Emitter::CreateGlobalUStringPtr(const std::u32string& name) pure virtual

Definition at line 128 of Emitter.hpp


CreateGlobalWStringPtr Member Function

void * cmajor::ir::Emitter::CreateGlobalWStringPtr(const std::u16string& name) pure virtual

Definition at line 127 of Emitter.hpp


CreateICmpEQ Member Function

void * cmajor::ir::Emitter::CreateICmpEQ(void * left, void * right) pure virtual

Definition at line 204 of Emitter.hpp


CreateICmpSLT Member Function

void * cmajor::ir::Emitter::CreateICmpSLT(void * leftValue, void * rightValue) pure virtual

Definition at line 207 of Emitter.hpp


CreateICmpULT Member Function

void * cmajor::ir::Emitter::CreateICmpULT(void * leftValue, void * rightValue) pure virtual

Definition at line 206 of Emitter.hpp


CreateIncludeBasicBlockInstruction Member Function

void * cmajor::ir::Emitter::CreateIncludeBasicBlockInstruction(void * basicBlock) pure virtual

Definition at line 174 of Emitter.hpp


CreateInsertValue Member Function

void * cmajor::ir::Emitter::CreateInsertValue(void * aggregate, void * value, const std::vector<unsigned int >& indeces) pure virtual

Definition at line 388 of Emitter.hpp


CreateIntToPtr Member Function

void * cmajor::ir::Emitter::CreateIntToPtr(void * intValue, void * destinationType) pure virtual

Definition at line 219 of Emitter.hpp


CreateInvoke Member Function

void * cmajor::ir::Emitter::CreateInvoke(void * callee, void * normalBlock, void * unwindBlock, const std::vector<void *>& args) pure virtual

Definition at line 267 of Emitter.hpp


CreateInvokeInst Member Function

void * cmajor::ir::Emitter::CreateInvokeInst(void * callee, void * normalBlock, void * unwindBlock, const std::vector<void *>& args, const std::vector<void *>& bundles, const Span & span) pure virtual

Definition at line 268 of Emitter.hpp


CreateIrDIForwardDeclaration Member Function

void * cmajor::ir::Emitter::CreateIrDIForwardDeclaration(void * irType, const std::string& name, const std::string& mangledName, const Span & span, const boost::uuids::uuid& moduleId) pure virtual

Definition at line 152 of Emitter.hpp


CreateIrValueForBool Member Function

void * cmajor::ir::Emitter::CreateIrValueForBool(bool value) pure virtual

Definition at line 106 of Emitter.hpp


CreateIrValueForByte Member Function

void * cmajor::ir::Emitter::CreateIrValueForByte(uint8_t value) pure virtual

Definition at line 108 of Emitter.hpp


CreateIrValueForChar Member Function

void * cmajor::ir::Emitter::CreateIrValueForChar(uint8_t value) pure virtual

Definition at line 117 of Emitter.hpp


CreateIrValueForConstantArray Member Function

void * cmajor::ir::Emitter::CreateIrValueForConstantArray(void * arrayIrType, const std::vector<void *>& elementConstants, const std::string& prefix) pure virtual

Definition at line 122 of Emitter.hpp


CreateIrValueForConstantStruct Member Function

void * cmajor::ir::Emitter::CreateIrValueForConstantStruct(void * structIrType, const std::vector<void *>& elementConstants) pure virtual

Definition at line 123 of Emitter.hpp


CreateIrValueForDouble Member Function

void * cmajor::ir::Emitter::CreateIrValueForDouble(double value) pure virtual

Definition at line 116 of Emitter.hpp


CreateIrValueForFloat Member Function

void * cmajor::ir::Emitter::CreateIrValueForFloat(float value) pure virtual

Definition at line 115 of Emitter.hpp


CreateIrValueForInt Member Function

void * cmajor::ir::Emitter::CreateIrValueForInt(int32_t value) pure virtual

Definition at line 111 of Emitter.hpp


CreateIrValueForLong Member Function

void * cmajor::ir::Emitter::CreateIrValueForLong(int64_t value) pure virtual

Definition at line 113 of Emitter.hpp


CreateIrValueForSByte Member Function

void * cmajor::ir::Emitter::CreateIrValueForSByte(int8_t value) pure virtual

Definition at line 107 of Emitter.hpp


CreateIrValueForShort Member Function

void * cmajor::ir::Emitter::CreateIrValueForShort(int16_t value) pure virtual

Definition at line 109 of Emitter.hpp


CreateIrValueForUChar Member Function

void * cmajor::ir::Emitter::CreateIrValueForUChar(uint32_t value) pure virtual

Definition at line 119 of Emitter.hpp


CreateIrValueForUInt Member Function

void * cmajor::ir::Emitter::CreateIrValueForUInt(uint32_t value) pure virtual

Definition at line 112 of Emitter.hpp


CreateIrValueForULong Member Function

void * cmajor::ir::Emitter::CreateIrValueForULong(uint64_t value) pure virtual

Definition at line 114 of Emitter.hpp


CreateIrValueForUShort Member Function

void * cmajor::ir::Emitter::CreateIrValueForUShort(uint16_t value) pure virtual

Definition at line 110 of Emitter.hpp


CreateIrValueForUString Member Function

void * cmajor::ir::Emitter::CreateIrValueForUString(void * ustringConstant) pure virtual

Definition at line 121 of Emitter.hpp


CreateIrValueForUuid Member Function

void * cmajor::ir::Emitter::CreateIrValueForUuid(void * uuidConstant) pure virtual

Definition at line 124 of Emitter.hpp


CreateIrValueForWChar Member Function

void * cmajor::ir::Emitter::CreateIrValueForWChar(uint16_t value) pure virtual

Definition at line 118 of Emitter.hpp


CreateIrValueForWString Member Function

void * cmajor::ir::Emitter::CreateIrValueForWString(void * wstringConstant) pure virtual

Definition at line 120 of Emitter.hpp


CreateLShr Member Function

void * cmajor::ir::Emitter::CreateLShr(void * left, void * right) pure virtual

Definition at line 203 of Emitter.hpp


CreateLValueRefDIType Member Function

void * cmajor::ir::Emitter::CreateLValueRefDIType(void * diType) pure virtual

Definition at line 163 of Emitter.hpp


CreateLandingPad Member Function

void * cmajor::ir::Emitter::CreateLandingPad(void * lpType) pure virtual

Definition at line 383 of Emitter.hpp


CreateLexicalBlock Member Function

void * cmajor::ir::Emitter::CreateLexicalBlock(const Span & span, const boost::uuids::uuid& moduleId) pure virtual

Definition at line 361 of Emitter.hpp


CreateLoad Member Function

void * cmajor::ir::Emitter::CreateLoad(void * ptr) pure virtual

Definition at line 186 of Emitter.hpp


CreateMDBasicBlockRef Member Function

void * cmajor::ir::Emitter::CreateMDBasicBlockRef(void * bb) pure virtual

Definition at line 372 of Emitter.hpp


CreateMDBool Member Function

void * cmajor::ir::Emitter::CreateMDBool(bool value) pure virtual

Definition at line 367 of Emitter.hpp


CreateMDLong Member Function

void * cmajor::ir::Emitter::CreateMDLong(int64_t value) pure virtual

Definition at line 368 of Emitter.hpp


CreateMDString Member Function

void * cmajor::ir::Emitter::CreateMDString(const std::string& value) pure virtual

Definition at line 369 of Emitter.hpp


CreateMDStruct Member Function

void * cmajor::ir::Emitter::CreateMDStruct() pure virtual

Definition at line 371 of Emitter.hpp


CreateMDStructRef Member Function

void * cmajor::ir::Emitter::CreateMDStructRef(int id) pure virtual

Definition at line 370 of Emitter.hpp


CreateModule Member Function

void * cmajor::ir::Emitter::CreateModule(const std::string& moduleName) pure virtual

Definition at line 299 of Emitter.hpp


CreateMul Member Function

void * cmajor::ir::Emitter::CreateMul(void * left, void * right) pure virtual

Definition at line 191 of Emitter.hpp


CreateNeg Member Function

void * cmajor::ir::Emitter::CreateNeg(void * value) pure virtual

Definition at line 222 of Emitter.hpp


CreateNop Member Function

void * cmajor::ir::Emitter::CreateNop() pure virtual

Definition at line 224 of Emitter.hpp


CreateNot Member Function

void * cmajor::ir::Emitter::CreateNot(void * value) pure virtual

Definition at line 221 of Emitter.hpp


CreateOr Member Function

void * cmajor::ir::Emitter::CreateOr(void * left, void * right) pure virtual

Definition at line 199 of Emitter.hpp


CreatePointerDIType Member Function

void * cmajor::ir::Emitter::CreatePointerDIType(void * diType) pure virtual

Definition at line 165 of Emitter.hpp


CreatePtrDiff Member Function

void * cmajor::ir::Emitter::CreatePtrDiff(void * left, void * right) pure virtual

Definition at line 294 of Emitter.hpp


CreatePtrToInt Member Function

void * cmajor::ir::Emitter::CreatePtrToInt(void * ptrValue, void * destinationType) pure virtual

Definition at line 220 of Emitter.hpp


CreateRValueRefDIType Member Function

void * cmajor::ir::Emitter::CreateRValueRefDIType(void * diType) pure virtual

Definition at line 164 of Emitter.hpp


CreateResume Member Function

void cmajor::ir::Emitter::CreateResume(void * exception) pure virtual

Definition at line 390 of Emitter.hpp


CreateRet Member Function

void * cmajor::ir::Emitter::CreateRet(void * value) pure virtual

Definition at line 356 of Emitter.hpp


CreateRetVoid Member Function

void * cmajor::ir::Emitter::CreateRetVoid() pure virtual

Definition at line 357 of Emitter.hpp


CreateSDiv Member Function

void * cmajor::ir::Emitter::CreateSDiv(void * left, void * right) pure virtual

Definition at line 194 of Emitter.hpp


CreateSExt Member Function

void * cmajor::ir::Emitter::CreateSExt(void * operand, void * destinationType) pure virtual

Definition at line 209 of Emitter.hpp


CreateSIToFP Member Function

void * cmajor::ir::Emitter::CreateSIToFP(void * operand, void * destinationType) pure virtual

Definition at line 216 of Emitter.hpp


CreateSRem Member Function

void * cmajor::ir::Emitter::CreateSRem(void * left, void * right) pure virtual

Definition at line 197 of Emitter.hpp


CreateSave Member Function

void * cmajor::ir::Emitter::CreateSave() pure virtual

Definition at line 225 of Emitter.hpp


CreateShl Member Function

void * cmajor::ir::Emitter::CreateShl(void * left, void * right) pure virtual

Definition at line 201 of Emitter.hpp


CreateStore Member Function

void cmajor::ir::Emitter::CreateStore(void * value, void * ptr) pure virtual

Definition at line 185 of Emitter.hpp

Called by: cmajor::ir::NativeValue::Store


CreateSub Member Function

void * cmajor::ir::Emitter::CreateSub(void * left, void * right) pure virtual

Definition at line 189 of Emitter.hpp


CreateSubroutineType Member Function

void * cmajor::ir::Emitter::CreateSubroutineType(const std::vector<void *>& elementTypes) pure virtual

Definition at line 343 of Emitter.hpp


CreateSwitch Member Function

void * cmajor::ir::Emitter::CreateSwitch(void * condition, void * defaultDest, unsigned numCases) pure virtual

Definition at line 362 of Emitter.hpp


CreateTrunc Member Function

void * cmajor::ir::Emitter::CreateTrunc(void * operand, void * destinationType) pure virtual

Definition at line 212 of Emitter.hpp


CreateUDiv Member Function

void * cmajor::ir::Emitter::CreateUDiv(void * left, void * right) pure virtual

Definition at line 193 of Emitter.hpp


CreateUIToFP Member Function

void * cmajor::ir::Emitter::CreateUIToFP(void * operand, void * destinationType) pure virtual

Definition at line 215 of Emitter.hpp


CreateURem Member Function

void * cmajor::ir::Emitter::CreateURem(void * left, void * right) pure virtual

Definition at line 196 of Emitter.hpp


CreateUndefValue Member Function

void * cmajor::ir::Emitter::CreateUndefValue(void * type) pure virtual

Definition at line 389 of Emitter.hpp


CreateUnspecifiedDIType Member Function

void * cmajor::ir::Emitter::CreateUnspecifiedDIType(const std::string& name) pure virtual

Definition at line 166 of Emitter.hpp


CreateXor Member Function

void * cmajor::ir::Emitter::CreateXor(void * left, void * right) pure virtual

Definition at line 200 of Emitter.hpp


CreateZExt Member Function

void * cmajor::ir::Emitter::CreateZExt(void * operand, void * destinationType) pure virtual

Definition at line 210 of Emitter.hpp


CurrentBasicBlock Member Function

void * cmajor::ir::Emitter::CurrentBasicBlock() const pure virtual

Definition at line 181 of Emitter.hpp


CurrentPad Member Function

Pad * cmajor::ir::Emitter::CurrentPad() pure virtual

Definition at line 254 of Emitter.hpp


CurrentScope Member Function

void * cmajor::ir::Emitter::CurrentScope() pure virtual

Definition at line 323 of Emitter.hpp


DIBuilder Member Function

void * cmajor::ir::Emitter::DIBuilder() pure virtual

Definition at line 269 of Emitter.hpp


DebugPrintDebugInfo Member Function

void cmajor::ir::Emitter::DebugPrintDebugInfo(const std::string& filePath) pure virtual

Definition at line 391 of Emitter.hpp


DestroyModule Member Function

void cmajor::ir::Emitter::DestroyModule(void * module) pure virtual

Definition at line 300 of Emitter.hpp


Disassemble Member Function

void cmajor::ir::Emitter::Disassemble(const std::string& bcFilePath, const std::string& llFilePath) pure virtual

Definition at line 315 of Emitter.hpp


EmitIrFile Member Function

void cmajor::ir::Emitter::EmitIrFile(const std::string& filePath) pure virtual

Definition at line 313 of Emitter.hpp


EmitIrText Member Function

void cmajor::ir::Emitter::EmitIrText(const std::string& filePath) pure virtual

Definition at line 312 of Emitter.hpp


EmitObjectCodeFile Member Function

void cmajor::ir::Emitter::EmitObjectCodeFile(const std::string& objectFilePath) pure virtual

Definition at line 318 of Emitter.hpp


EndDebugInfo Member Function

void cmajor::ir::Emitter::EndDebugInfo() pure virtual

Definition at line 311 of Emitter.hpp


EndInstructionFlag Member Function

void cmajor::ir::Emitter::EndInstructionFlag(int16_t flag) pure virtual

Definition at line 341 of Emitter.hpp


EndScope Member Function

void cmajor::ir::Emitter::EndScope() pure virtual

Definition at line 333 of Emitter.hpp


EndSubstituteLineNumber Member Function

void cmajor::ir::Emitter::EndSubstituteLineNumber() pure virtual

Definition at line 393 of Emitter.hpp


FinalizeDebugInfo Member Function

void cmajor::ir::Emitter::FinalizeDebugInfo() pure virtual

Definition at line 310 of Emitter.hpp


FinalizeFunction Member Function

void cmajor::ir::Emitter::FinalizeFunction(void * function, bool hasCleanup) pure virtual

Definition at line 379 of Emitter.hpp


GenerateTrap Member Function

void * cmajor::ir::Emitter::GenerateTrap(const std::vector<void *>& args) pure virtual

Definition at line 364 of Emitter.hpp


GetAlignmentInBits Member Function

uint64_t cmajor::ir::Emitter::GetAlignmentInBits(void * irType) pure virtual

Definition at line 169 of Emitter.hpp


GetArrayBeginAddress Member Function

void * cmajor::ir::Emitter::GetArrayBeginAddress(void * arrayPtr) pure virtual

Definition at line 171 of Emitter.hpp


GetArrayEndAddress Member Function

void * cmajor::ir::Emitter::GetArrayEndAddress(void * arrayPtr, uint64_t size) pure virtual

Definition at line 172 of Emitter.hpp


GetBasicBlockId Member Function

int cmajor::ir::Emitter::GetBasicBlockId(void * basicBlock) pure virtual

Definition at line 179 of Emitter.hpp


GetBoundCompileUnit Member Function

void * cmajor::ir::Emitter::GetBoundCompileUnit() const pure virtual

Definition at line 395 of Emitter.hpp


GetClassIdPtr Member Function

void * cmajor::ir::Emitter::GetClassIdPtr(void * vmtPtr, int32_t classIdVmtIndexOffset) pure virtual

Definition at line 291 of Emitter.hpp


GetClassName Member Function

void * cmajor::ir::Emitter::GetClassName(void * vmtPtr, int32_t classNameVmtIndexOffset) pure virtual

Definition at line 292 of Emitter.hpp


GetClassTypeAlignmentInBits Member Function

uint64_t cmajor::ir::Emitter::GetClassTypeAlignmentInBits(void * classIrType) pure virtual

Definition at line 325 of Emitter.hpp


GetClassTypeSizeInBits Member Function

uint64_t cmajor::ir::Emitter::GetClassTypeSizeInBits(void * classIrType) pure virtual

Definition at line 324 of Emitter.hpp


GetClsIdValue Member Function

void * cmajor::ir::Emitter::GetClsIdValue(const std::string& typeId) pure virtual

Definition at line 366 of Emitter.hpp


GetConversionValue Member Function

void * cmajor::ir::Emitter::GetConversionValue(void * type, void * from) pure virtual

Definition at line 125 of Emitter.hpp


GetCurrentScopeId Member Function

int16_t cmajor::ir::Emitter::GetCurrentScopeId() const pure virtual

Definition at line 334 of Emitter.hpp


GetDIMemberType Member Function

void * cmajor::ir::Emitter::GetDIMemberType(const std::pair<boost::uuids::uuid, int32_t>& memberVariableId) pure virtual

Definition at line 159 of Emitter.hpp


GetDITypeByTypeId Member Function

void * cmajor::ir::Emitter::GetDITypeByTypeId(const boost::uuids::uuid& typeId) const pure virtual

Definition at line 157 of Emitter.hpp


GetDebugInfoForFile Member Function

void * cmajor::ir::Emitter::GetDebugInfoForFile(const Span & span, const boost::uuids::uuid& moduleId) pure virtual

Definition at line 320 of Emitter.hpp


GetDelegateFromClassDelegate Member Function

void * cmajor::ir::Emitter::GetDelegateFromClassDelegate(void * classDelegatePtr) pure virtual

Definition at line 272 of Emitter.hpp


GetFunctionArgument Member Function

void * cmajor::ir::Emitter::GetFunctionArgument(void * function, int argumentIndex) pure virtual

Definition at line 354 of Emitter.hpp


GetFunctionFlags Member Function

unsigned cmajor::ir::Emitter::GetFunctionFlags(bool isStatic, unsigned accessFlags, bool isExplicit) pure virtual

Definition at line 346 of Emitter.hpp


GetFunctionIrType Member Function

void * cmajor::ir::Emitter::GetFunctionIrType(void * functionSymbol) const pure virtual

Definition at line 277 of Emitter.hpp


GetGlobalStringPtr Member Function

void * cmajor::ir::Emitter::GetGlobalStringPtr(int stringId) pure virtual

Definition at line 129 of Emitter.hpp


GetGlobalUStringConstant Member Function

void * cmajor::ir::Emitter::GetGlobalUStringConstant(int stringId) pure virtual

Definition at line 131 of Emitter.hpp


GetGlobalUuidConstant Member Function

void * cmajor::ir::Emitter::GetGlobalUuidConstant(int uuidId) pure virtual

Definition at line 132 of Emitter.hpp


GetGlobalWStringConstant Member Function

void * cmajor::ir::Emitter::GetGlobalWStringConstant(int stringId) pure virtual

Definition at line 130 of Emitter.hpp


GetImt Member Function

void * cmajor::ir::Emitter::GetImt(void * imtArray, int32_t interfaceIndex) pure virtual

Definition at line 282 of Emitter.hpp


GetImtArray Member Function

void * cmajor::ir::Emitter::GetImtArray(void * vmtObjectPtr, int32_t imtsVmtIndexOffset) pure virtual

Definition at line 281 of Emitter.hpp


GetImtArrayObjectName Member Function

std::string cmajor::ir::Emitter::GetImtArrayObjectName(void * symbol) const pure virtual

Definition at line 232 of Emitter.hpp


GetImtPtrFromInterface Member Function

void * cmajor::ir::Emitter::GetImtPtrFromInterface(void * interfaceTypePtr) pure virtual

Definition at line 275 of Emitter.hpp


GetInterfaceMethod Member Function

void * cmajor::ir::Emitter::GetInterfaceMethod(void * imtPtr, int32_t methodIndex, void * interfaceMethodType) pure virtual

Definition at line 276 of Emitter.hpp


GetIrObject Member Function

void * cmajor::ir::Emitter::GetIrObject(void * symbol) const pure virtual

Definition at line 283 of Emitter.hpp


GetIrTypeByTypeId Member Function

void * cmajor::ir::Emitter::GetIrTypeByTypeId(const boost::uuids::uuid& typeId) pure virtual

Definition at line 74 of Emitter.hpp


GetIrTypeForArrayType Member Function

void * cmajor::ir::Emitter::GetIrTypeForArrayType(void * elementType, int64_t size) pure virtual

Definition at line 76 of Emitter.hpp


GetIrTypeForBool Member Function

void * cmajor::ir::Emitter::GetIrTypeForBool() pure virtual

Definition at line 57 of Emitter.hpp


GetIrTypeForByte Member Function

void * cmajor::ir::Emitter::GetIrTypeForByte() pure virtual

Definition at line 59 of Emitter.hpp


GetIrTypeForChar Member Function

void * cmajor::ir::Emitter::GetIrTypeForChar() pure virtual

Definition at line 68 of Emitter.hpp


GetIrTypeForClassType Member Function

void * cmajor::ir::Emitter::GetIrTypeForClassType(const std::vector<void *>& elementTypes) pure virtual

Definition at line 77 of Emitter.hpp


GetIrTypeForDelegateType Member Function

void * cmajor::ir::Emitter::GetIrTypeForDelegateType(void * retType, const std::vector<void *>& paramTypes) pure virtual

Definition at line 80 of Emitter.hpp


GetIrTypeForDouble Member Function

void * cmajor::ir::Emitter::GetIrTypeForDouble() pure virtual

Definition at line 67 of Emitter.hpp


GetIrTypeForFloat Member Function

void * cmajor::ir::Emitter::GetIrTypeForFloat() pure virtual

Definition at line 66 of Emitter.hpp


GetIrTypeForFunction Member Function

void * cmajor::ir::Emitter::GetIrTypeForFunction(void * retType, const std::vector<void *>& paramTypes) pure virtual

Definition at line 72 of Emitter.hpp


GetIrTypeForInt Member Function

void * cmajor::ir::Emitter::GetIrTypeForInt() pure virtual

Definition at line 62 of Emitter.hpp


GetIrTypeForLong Member Function

void * cmajor::ir::Emitter::GetIrTypeForLong() pure virtual

Definition at line 64 of Emitter.hpp


GetIrTypeForPtrType Member Function

void * cmajor::ir::Emitter::GetIrTypeForPtrType(void * baseIrType) pure virtual

Definition at line 83 of Emitter.hpp


GetIrTypeForSByte Member Function

void * cmajor::ir::Emitter::GetIrTypeForSByte() pure virtual

Definition at line 58 of Emitter.hpp


GetIrTypeForShort Member Function

void * cmajor::ir::Emitter::GetIrTypeForShort() pure virtual

Definition at line 60 of Emitter.hpp


GetIrTypeForStructType Member Function

void * cmajor::ir::Emitter::GetIrTypeForStructType(const std::vector<void *>& elementTypes) pure virtual

Definition at line 82 of Emitter.hpp


GetIrTypeForUChar Member Function

void * cmajor::ir::Emitter::GetIrTypeForUChar() pure virtual

Definition at line 70 of Emitter.hpp


GetIrTypeForUInt Member Function

void * cmajor::ir::Emitter::GetIrTypeForUInt() pure virtual

Definition at line 63 of Emitter.hpp


GetIrTypeForULong Member Function

void * cmajor::ir::Emitter::GetIrTypeForULong() pure virtual

Definition at line 65 of Emitter.hpp


GetIrTypeForUShort Member Function

void * cmajor::ir::Emitter::GetIrTypeForUShort() pure virtual

Definition at line 61 of Emitter.hpp


GetIrTypeForVariableParamFunction Member Function

void * cmajor::ir::Emitter::GetIrTypeForVariableParamFunction(void * retType) pure virtual

Definition at line 73 of Emitter.hpp


GetIrTypeForVoid Member Function

void * cmajor::ir::Emitter::GetIrTypeForVoid() pure virtual

Definition at line 71 of Emitter.hpp


GetIrTypeForVoidPtrType Member Function

void * cmajor::ir::Emitter::GetIrTypeForVoidPtrType() pure virtual

Definition at line 81 of Emitter.hpp


GetIrTypeForWChar Member Function

void * cmajor::ir::Emitter::GetIrTypeForWChar() pure virtual

Definition at line 69 of Emitter.hpp


GetIrTypeName Member Function

std::string cmajor::ir::Emitter::GetIrTypeName(void * irType) pure virtual

Definition at line 84 of Emitter.hpp


GetMDStructId Member Function

int cmajor::ir::Emitter::GetMDStructId(void * mdStruct) pure virtual

Definition at line 373 of Emitter.hpp


GetMDStructRefForSourceFile Member Function

void * cmajor::ir::Emitter::GetMDStructRefForSourceFile(const std::string& sourceFileName) pure virtual

Definition at line 376 of Emitter.hpp


GetMemberVariablePtr Member Function

void * cmajor::ir::Emitter::GetMemberVariablePtr(void * classPtr, int32_t memberVariableLayoutIndex) pure virtual

Definition at line 285 of Emitter.hpp


GetMethodPtr Member Function

void * cmajor::ir::Emitter::GetMethodPtr(void * vmtPtr, int32_t vmtIndex) pure virtual

Definition at line 280 of Emitter.hpp


GetNoFlags Member Function

uint32_t cmajor::ir::Emitter::GetNoFlags() pure virtual

Definition at line 298 of Emitter.hpp


GetObjectFromClassDelegate Member Function

void * cmajor::ir::Emitter::GetObjectFromClassDelegate(void * classDelegatePtr) pure virtual

Definition at line 271 of Emitter.hpp


GetObjectFromInterface Member Function

void * cmajor::ir::Emitter::GetObjectFromInterface(void * interfaceTypePtr) pure virtual

Definition at line 273 of Emitter.hpp


GetObjectPointer Member Function

void * cmajor::ir::Emitter::GetObjectPointer() pure virtual

Definition at line 290 of Emitter.hpp


GetObjectPtrFromInterface Member Function

void * cmajor::ir::Emitter::GetObjectPtrFromInterface(void * interfaceTypePtr) pure virtual

Definition at line 274 of Emitter.hpp


GetOffsetInBits Member Function

uint64_t cmajor::ir::Emitter::GetOffsetInBits(void * classIrType, int layoutIndex) pure virtual

Definition at line 153 of Emitter.hpp


GetOrInsertAnyComdat Member Function

void * cmajor::ir::Emitter::GetOrInsertAnyComdat(const std::string& name, void * global) pure virtual

Definition at line 241 of Emitter.hpp


GetOrInsertAnyFunctionComdat Member Function

void * cmajor::ir::Emitter::GetOrInsertAnyFunctionComdat(const std::string& name, void * function) pure virtual

Definition at line 242 of Emitter.hpp


GetOrInsertFunction Member Function

void * cmajor::ir::Emitter::GetOrInsertFunction(const std::string& name, void * type, bool nothrow) pure virtual

Definition at line 243 of Emitter.hpp


GetOrInsertGlobal Member Function

void * cmajor::ir::Emitter::GetOrInsertGlobal(const std::string& name, void * type) pure virtual

Definition at line 240 of Emitter.hpp


GetPrivateFlag Member Function

uint32_t cmajor::ir::Emitter::GetPrivateFlag() pure virtual

Definition at line 295 of Emitter.hpp


GetProtectedFlag Member Function

uint32_t cmajor::ir::Emitter::GetProtectedFlag() pure virtual

Definition at line 296 of Emitter.hpp


GetPublicFlag Member Function

uint32_t cmajor::ir::Emitter::GetPublicFlag() pure virtual

Definition at line 297 of Emitter.hpp


GetPureVirtualVirtuality Member Function

unsigned cmajor::ir::Emitter::GetPureVirtualVirtuality() pure virtual

Definition at line 344 of Emitter.hpp


GetSizeInBits Member Function

uint64_t cmajor::ir::Emitter::GetSizeInBits(void * irType) pure virtual

Definition at line 168 of Emitter.hpp


GetStaticObjectName Member Function

std::string cmajor::ir::Emitter::GetStaticObjectName(void * symbol) const pure virtual

Definition at line 238 of Emitter.hpp


GetStaticObjectType Member Function

void * cmajor::ir::Emitter::GetStaticObjectType(void * symbol) const pure virtual

Definition at line 236 of Emitter.hpp


GetVirtualVirtuality Member Function

unsigned cmajor::ir::Emitter::GetVirtualVirtuality() pure virtual

Definition at line 345 of Emitter.hpp


GetVmtObjectName Member Function

std::string cmajor::ir::Emitter::GetVmtObjectName(void * symbol) const pure virtual

Definition at line 230 of Emitter.hpp


GetVmtObjectType Member Function

void * cmajor::ir::Emitter::GetVmtObjectType(void * symbol) const pure virtual

Definition at line 234 of Emitter.hpp


GetVmtPtr Member Function

void * cmajor::ir::Emitter::GetVmtPtr(void * thisPtr, int32_t vmtPtrIndex, void * vmtPtrType) pure virtual

Definition at line 279 of Emitter.hpp


HandlerBlock Member Function

void * cmajor::ir::Emitter::HandlerBlock() pure virtual

Definition at line 250 of Emitter.hpp


Install Member Function

int cmajor::ir::Emitter::Install(const std::string& str) pure virtual

Definition at line 380 of Emitter.hpp


Install Member Function

int cmajor::ir::Emitter::Install(const std::u16string& str) pure virtual

Definition at line 381 of Emitter.hpp


Install Member Function

int cmajor::ir::Emitter::Install(const std::u32string& str) pure virtual

Definition at line 382 of Emitter.hpp


IsStaticObjectCreated Member Function

bool cmajor::ir::Emitter::IsStaticObjectCreated(void * symbol) const pure virtual

Definition at line 248 of Emitter.hpp


IsVmtObjectCreated Member Function

bool cmajor::ir::Emitter::IsVmtObjectCreated(void * symbol) const pure virtual

Definition at line 246 of Emitter.hpp


MakeVmtVariableName Member Function

std::string cmajor::ir::Emitter::MakeVmtVariableName(const std::string& vmtObjectName) pure virtual

Definition at line 85 of Emitter.hpp


MapClassPtr Member Function

void cmajor::ir::Emitter::MapClassPtr(const boost::uuids::uuid& typeId, void * classPtr, const std::string& className) pure virtual

Definition at line 167 of Emitter.hpp


MapFwdDeclaration Member Function

void cmajor::ir::Emitter::MapFwdDeclaration(void * fwdDeclaration, const boost::uuids::uuid& typeId) pure virtual

Definition at line 156 of Emitter.hpp


MoveAllocaIntoBasicBlock Member Function

void cmajor::ir::Emitter::MoveAllocaIntoBasicBlock(void * allocaInst, void * lastAlloca, void * basicBlock) pure virtual

Definition at line 385 of Emitter.hpp


NewCleanupNeeded Member Function

bool cmajor::ir::Emitter::NewCleanupNeeded() pure virtual

Definition at line 252 of Emitter.hpp


Optimize Member Function

void cmajor::ir::Emitter::Optimize(const std::string& bcFilePath, const std::string& opBCFilePath, const std::string& optimizationFlags) pure virtual

Definition at line 314 of Emitter.hpp


PopParentBlock Member Function

void cmajor::ir::Emitter::PopParentBlock() pure virtual

Definition at line 176 of Emitter.hpp


PopScope Member Function

void cmajor::ir::Emitter::PopScope() pure virtual

Definition at line 322 of Emitter.hpp


PushParentBlock Member Function

void cmajor::ir::Emitter::PushParentBlock() pure virtual

Definition at line 175 of Emitter.hpp


PushScope Member Function

void cmajor::ir::Emitter::PushScope(void * scope) pure virtual

Definition at line 321 of Emitter.hpp


ResetCurrentDebugLocation Member Function

void cmajor::ir::Emitter::ResetCurrentDebugLocation() pure virtual

Definition at line 308 of Emitter.hpp


SaveObjectPointer Member Function

void cmajor::ir::Emitter::SaveObjectPointer(void * objectPointer_) pure virtual

Definition at line 288 of Emitter.hpp


SetBoundCompileUnit Member Function

void cmajor::ir::Emitter::SetBoundCompileUnit(void * boundCompileUnit) pure virtual

Definition at line 394 of Emitter.hpp


SetCleanupBlock Member Function

void cmajor::ir::Emitter::SetCleanupBlock(void * cleanupBlock) pure virtual

Definition at line 178 of Emitter.hpp


SetColumnSpanProvider Member Function

void cmajor::ir::Emitter::SetColumnSpanProvider(ColumnSpanProvider * columnSpanProvider_) pure virtual

Definition at line 307 of Emitter.hpp


SetCompileUnitId Member Function

void cmajor::ir::Emitter::SetCompileUnitId(const std::string& compileUnitId) pure virtual

Definition at line 365 of Emitter.hpp


SetCurrentBasicBlock Member Function

void cmajor::ir::Emitter::SetCurrentBasicBlock(void * basicBlock) pure virtual

Definition at line 182 of Emitter.hpp


SetCurrentControlFlowGraphNodeId Member Function

void cmajor::ir::Emitter::SetCurrentControlFlowGraphNodeId(int32_t controlFlowGraphNodeId) pure virtual

Definition at line 337 of Emitter.hpp


SetCurrentDIBuilder Member Function

void cmajor::ir::Emitter::SetCurrentDIBuilder(void * diBuilder_) pure virtual

Definition at line 270 of Emitter.hpp


SetCurrentDebugLocation Member Function

void cmajor::ir::Emitter::SetCurrentDebugLocation(const Span & span) pure virtual

Definition at line 170 of Emitter.hpp


SetCurrentScopeId Member Function

void cmajor::ir::Emitter::SetCurrentScopeId(int16_t scopeId) pure virtual

Definition at line 335 of Emitter.hpp


SetCurrentSourceSpan Member Function

void cmajor::ir::Emitter::SetCurrentSourceSpan(int32_t lineNumber, int16_t scol, int16_t ecol) pure virtual

Definition at line 377 of Emitter.hpp


SetDICompileUnit Member Function

void cmajor::ir::Emitter::SetDICompileUnit(void * diCompileUnit_) pure virtual

Definition at line 305 of Emitter.hpp


SetDIFile Member Function

void cmajor::ir::Emitter::SetDIFile(void * diFile_) pure virtual

Definition at line 306 of Emitter.hpp


SetDIMemberType Member Function

void cmajor::ir::Emitter::SetDIMemberType(const std::pair<boost::uuids::uuid, int32_t>& memberVariableId, void * diType) pure virtual

Definition at line 160 of Emitter.hpp


SetDISubprogram Member Function

void cmajor::ir::Emitter::SetDISubprogram(void * function, void * subprogram) pure virtual

Definition at line 350 of Emitter.hpp


SetDITypeByTypeId Member Function

void cmajor::ir::Emitter::SetDITypeByTypeId(const boost::uuids::uuid& typeId, void * diType, const std::string& typeName) pure virtual

Definition at line 158 of Emitter.hpp


SetDataLayout Member Function

void cmajor::ir::Emitter::SetDataLayout(void * dataLayout_) pure virtual

Definition at line 303 of Emitter.hpp


SetDebugLoc Member Function

void cmajor::ir::Emitter::SetDebugLoc(void * callInst) pure virtual

Definition at line 355 of Emitter.hpp


SetEmittingDelegate Member Function

void cmajor::ir::Emitter::SetEmittingDelegate(EmittingDelegate * emittingDelegate_) pure virtual

Definition at line 56 of Emitter.hpp


SetFunction Member Function

void cmajor::ir::Emitter::SetFunction(void * function_, int32_t fileIndex, const boost::uuids::uuid& sourceModuleId, const boost::uuids::uuid& functionId) pure virtual

Definition at line 330 of Emitter.hpp


SetFunctionCallConventionToStdCall Member Function

void cmajor::ir::Emitter::SetFunctionCallConventionToStdCall(void * function) pure virtual

Definition at line 329 of Emitter.hpp


SetFunctionIrType Member Function

void cmajor::ir::Emitter::SetFunctionIrType(void * symbol, void * irType) pure virtual

Definition at line 278 of Emitter.hpp


SetFunctionLinkage Member Function

void cmajor::ir::Emitter::SetFunctionLinkage(void * function, bool setInline) pure virtual

Definition at line 327 of Emitter.hpp


SetFunctionLinkageToLinkOnceODRLinkage Member Function

void cmajor::ir::Emitter::SetFunctionLinkageToLinkOnceODRLinkage(void * function) pure virtual

Definition at line 328 of Emitter.hpp


SetFunctionMdId Member Function

void cmajor::ir::Emitter::SetFunctionMdId(void * function, int mdId) pure virtual

Definition at line 375 of Emitter.hpp


SetFunctionName Member Function

void cmajor::ir::Emitter::SetFunctionName(const std::string& functionName) pure virtual

Definition at line 331 of Emitter.hpp


SetFwdIrTypeBody Member Function

void cmajor::ir::Emitter::SetFwdIrTypeBody(void * forwardDeclaredType, const std::vector<void *>& elementTypes) pure virtual

Definition at line 79 of Emitter.hpp


SetHandlerBlock Member Function

void cmajor::ir::Emitter::SetHandlerBlock(void * tryBlock, void * catchBlock) pure virtual

Definition at line 177 of Emitter.hpp


SetImtArrayObjectName Member Function

void cmajor::ir::Emitter::SetImtArrayObjectName(void * symbol, const std::string& imtArrayObjectName) pure virtual

Definition at line 233 of Emitter.hpp


SetInPrologue Member Function

void cmajor::ir::Emitter::SetInPrologue(bool inPrologue_) pure virtual

Definition at line 342 of Emitter.hpp


SetInitializer Member Function

void cmajor::ir::Emitter::SetInitializer(void * global, void * initializer) pure virtual

Definition at line 244 of Emitter.hpp


SetIrObject Member Function

void cmajor::ir::Emitter::SetIrObject(void * symbol, void * irObject) pure virtual

Definition at line 284 of Emitter.hpp


SetIrTypeByTypeId Member Function

void cmajor::ir::Emitter::SetIrTypeByTypeId(const boost::uuids::uuid& typeId, void * irType) pure virtual

Definition at line 75 of Emitter.hpp


SetLandindPadAsCleanup Member Function

void cmajor::ir::Emitter::SetLandindPadAsCleanup(void * landingPad) pure virtual

Definition at line 384 of Emitter.hpp


SetLineNumber Member Function

void cmajor::ir::Emitter::SetLineNumber(int32_t lineNumber) pure virtual

Definition at line 287 of Emitter.hpp


SetMetadataRef Member Function

void cmajor::ir::Emitter::SetMetadataRef(void * inst, void * mdStructRef) pure virtual

Definition at line 378 of Emitter.hpp


SetModule Member Function

void cmajor::ir::Emitter::SetModule(void * module_) pure virtual

Definition at line 301 of Emitter.hpp


SetObjectPointer Member Function

void cmajor::ir::Emitter::SetObjectPointer(void * objectPointer_) pure virtual

Definition at line 289 of Emitter.hpp


SetPersonalityFunction Member Function

void cmajor::ir::Emitter::SetPersonalityFunction(void * function, void * personalityFunction) pure virtual

Definition at line 358 of Emitter.hpp


SetPrivateLinkage Member Function

void cmajor::ir::Emitter::SetPrivateLinkage(void * global) pure virtual

Definition at line 245 of Emitter.hpp


SetSourceFileName Member Function

void cmajor::ir::Emitter::SetSourceFileName(const std::string& sourceFileName) pure virtual

Definition at line 304 of Emitter.hpp


SetStaticObjectCreated Member Function

void cmajor::ir::Emitter::SetStaticObjectCreated(void * symbol) pure virtual

Definition at line 249 of Emitter.hpp


SetStaticObjectName Member Function

void cmajor::ir::Emitter::SetStaticObjectName(void * symbol, const std::string& staticObjectName) pure virtual

Definition at line 239 of Emitter.hpp


SetStaticObjectType Member Function

void cmajor::ir::Emitter::SetStaticObjectType(void * symbol, void * type) pure virtual

Definition at line 237 of Emitter.hpp


SetTargetTriple Member Function

void cmajor::ir::Emitter::SetTargetTriple(const std::string& targetTriple) pure virtual

Definition at line 302 of Emitter.hpp


SetVmtObjectCreated Member Function

void cmajor::ir::Emitter::SetVmtObjectCreated(void * symbol) pure virtual

Definition at line 247 of Emitter.hpp


SetVmtObjectName Member Function

void cmajor::ir::Emitter::SetVmtObjectName(void * symbol, const std::string& vmtObjectName) pure virtual

Definition at line 231 of Emitter.hpp


SetVmtObjectType Member Function

void cmajor::ir::Emitter::SetVmtObjectType(void * symbol, void * vmtObjectType) pure virtual

Definition at line 235 of Emitter.hpp


SizeOf Member Function

void * cmajor::ir::Emitter::SizeOf(void * ptrType) pure virtual

Definition at line 286 of Emitter.hpp


Stack Member Function

ValueStack & cmajor::ir::Emitter::Stack()

Definition at line 55 of Emitter.hpp :
 55 { return *stack; }

Called by: cmajor::ir::NativeValue::Load , cmajor::ir::NativeValue::Store


StartDebugInfo Member Function

void cmajor::ir::Emitter::StartDebugInfo(const std::string& sourceFilePath, const std::string& compilerVersion, bool optimized, ColumnSpanProvider * columnSpanProvider_) pure virtual

Definition at line 309 of Emitter.hpp


VerifyModule Member Function

void cmajor::ir::Emitter::VerifyModule() pure virtual

Definition at line 317 of Emitter.hpp


top | up | prev | next