top | up | prev | next

cmsxi Namespace

Classes

class AddInstruction
class AndInstruction
class ArgInstruction
class ArrayType
struct ArrayTypeKey
struct ArrayTypeKeyEqual
struct ArrayTypeKeyHash
class ArrayValue
class BasicBlock
class BinaryInstruction
class BitCastInstruction
class BoolType
class BoolValue
class BranchInstruction
class ByteType
class ByteValue
class CallInstruction
class ClsIdValue
class CompileUnit
class ConstantValue
class Context
class ConversionValue
class DataRepository
class DivInstruction
class DoubleType
class DoubleValue
class ElemAddrInstruction
class EqualInstruction
class FloatToIntInstruction
class FloatType
class FloatValue
class Function
class FunctionType
struct FunctionTypeKey
struct FunctionTypeKeyEqual
struct FunctionTypeKeyHash
class GlobalVariable
class Instruction
class IntToFloatInstruction
class IntToPtrInstruction
class IntType
class IntValue
class JumpInstruction
class LessInstruction
class LoadInstruction
class LocalInstruction
class LongType
class LongValue
class MDBasicBlockRef
class MDBool
class MDItem
class MDLong
class MDString
class MDStruct
class MDStructRef
class Metadata
class ModInstruction
class MulInstruction
class NegInstruction
class NoOperationInstruction
class NotInstruction
class NullValue
class OrInstruction
class ParamInstruction
class PrimitiveType
class PtrDiffInstruction
class PtrOffsetInstruction
class PtrToIntInstruction
class PtrType
class RetInstruction
class SByteType
class SByteValue
class SaveInstruction
class ShlInstruction
class ShortType
class ShortValue
class ShrInstruction
class SignExtendInstruction
class StoreInstruction
class StringValue
class StructureType
struct StructureTypeEqual
struct StructureTypeHash
class StructureValue
class SubInstruction
class SwitchInstruction
class TrapInstruction
class TruncateInstruction
class Type
class TypeRepository
class UIntType
class UIntValue
class ULongType
class ULongValue
class UShortType
class UShortValue
class UnaryInstruction
class UnaryTypeInstruction
class Value
class VoidType
class XorInstruction
class ZeroExtendInstruction

Functions

std::vector<GlobalVariable*> CreateDataOrder(const std::vector<std::unique_ptr<GlobalVariable>>& globalVariables, Context& context)
std::string TypeName(int typeId)
void Visit(std::vector<GlobalVariable*>& order, GlobalVariable* variable, std::unordered_set<GlobalVariable*>& visited, std::unordered_set<GlobalVariable*>& tempVisit, const std::unordered_map<GlobalVariable*, std::set<GlobalVariable*>>& dependencies, Context& context)

Enumerations

enum class MDItemKind

Variables

const int64_t beginCleanupNodeType
const int64_t beginTryNodeType
const int boolTypeId
const int byteTypeId
const int64_t catchNodeType
const int doubleTypeId
const int64_t endCleanupNodeType
const int64_t endTryNodeType
const int64_t fileInfoNodeType
const int floatTypeId
const int64_t funcInfoNodeType
const int intTypeId
const int64_t lineInfoNodeType
const int longTypeId
const int ptrTypeId
const int sbyteTypeId
const int shortTypeId
const int uintTypeId
const int ulongTypeId
const int ushortTypeId
const int voidTypeId

Function Details

CreateDataOrder Function

std::vector<GlobalVariable *> cmsxi::CreateDataOrder(const std::vector<std::unique_ptr<GlobalVariable >>& globalVariables, Context & context)

Definition at line 115 of Data.cpp

Calls: cmsxi::Value::AddDependencies

Called by: cmsxi::DataRepository::Write


TypeName Function

std::string cmsxi::TypeName(int typeId)

Definition at line 17 of Type.cpp :
 18 {
 19     if (typeId < 0)
 20     {
 21         return primitiveTypeName[-typeId];
 22     }
 23     else
 24     {
 25         return "$T" + std::to_string(typeId);
 26     }
 27 }


Declaration at line 33 of Type.hpp

Called by: cmsxi::Type::Name


Visit Function

void cmsxi::Visit(std::vector<GlobalVariable *>& order, GlobalVariable * variable, std::unordered_set<GlobalVariable *>& visited, std::unordered_set<GlobalVariable *>& tempVisit, const std::unordered_map<GlobalVariable *, std::set<GlobalVariable *>>& dependencies, Context & context)

Definition at line 81 of Data.cpp

Calls: cmsxi::GlobalVariable::Name


top | up | prev | next