Searched refs:getCodeModel (Results 1 – 16 of 16) sorted by relevance
99 CodeModel::Model TargetMachine::getCodeModel() const { in getCodeModel() function in TargetMachine102 return CodeGenInfo->getCodeModel(); in getCodeModel()
44 TM.getRelocationModel(), TM.getCodeModel(), *Ctx); in Initialize()
42 CodeModel::Model getCodeModel() const { return CMModel; } in getCodeModel() function
201 CodeModel::Model getCodeModel() const;
127 CodeModel::Model CModel = TM.getCodeModel(); in PPCMaterializeFP()
1266 CodeModel::Model CModel = TM.getCodeModel(); in Select()
71 if (TM.getCodeModel() == CodeModel::Large) in ClassifyGlobalReference()
496 if (TM.getCodeModel() != CodeModel::Small) in X86SelectAddress()642 if (TM.getCodeModel() != CodeModel::Small) in X86SelectCallAddress()2320 if (TM.getCodeModel() != CodeModel::Small) in TargetMaterializeConstant()2404 TM.getCodeModel() == CodeModel::Small) { in TargetMaterializeConstant()
588 CodeModel::Model M = TM.getCodeModel(); in FoldOffsetIntoAddress()639 CodeModel::Model M = TM.getCodeModel(); in MatchWrapper()743 if (TM.getCodeModel() == CodeModel::Small && in MatchAddress()1410 return TM.getCodeModel() == CodeModel::Small; in SelectMOV64Imm32()
659 def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small">;660 def KernelCode : Predicate<"TM.getCodeModel() == CodeModel::Kernel">;661 def FarData : Predicate<"TM.getCodeModel() != CodeModel::Small &&"662 "TM.getCodeModel() != CodeModel::Kernel">;663 def NearData : Predicate<"TM.getCodeModel() == CodeModel::Small ||"664 "TM.getCodeModel() == CodeModel::Kernel">;
1741 if (getTargetMachine().getCodeModel() == CodeModel::Kernel) in getStackCookieLocation()2749 if (getTargetMachine().getCodeModel() == CodeModel::Large) { in LowerCall()7825 CodeModel::Model M = getTargetMachine().getCodeModel(); in LowerConstantPool()7858 CodeModel::Model M = getTargetMachine().getCodeModel(); in LowerJumpTable()7891 CodeModel::Model M = getTargetMachine().getCodeModel(); in LowerExternalSymbol()7934 CodeModel::Model M = getTargetMachine().getCodeModel(); in LowerBlockAddress()7964 CodeModel::Model M = getTargetMachine().getCodeModel(); in LowerGlobalAddress()13270 CodeModel::Model M = getTargetMachine().getCodeModel(); in isLegalAddressingMode()15033 bool UseImmLabel = (getTargetMachine().getCodeModel() == CodeModel::Small) && in emitEHSjLjSetJmp()
4122 if (TM.getCodeModel() != CodeModel::Small && in foldMemoryOperandImpl()4123 TM.getCodeModel() != CodeModel::Kernel) in foldMemoryOperandImpl()
247 switch (getTargetLowering()->getTargetMachine().getCodeModel()) { in getConstantPoolItemAddress()
1721 switch(getTargetMachine().getCodeModel()) { in LowerBlockAddress()1911 assert(getTargetMachine().getCodeModel() == CodeModel::Large); in LowerGlobalAddressELFLarge()1936 assert(getTargetMachine().getCodeModel() == CodeModel::Small); in LowerGlobalAddressELFSmall()2020 switch (getTargetMachine().getCodeModel()) { in LowerGlobalAddressELF()2079 assert(getTargetMachine().getCodeModel() == CodeModel::Small in LowerGlobalTLSAddress()2193 switch (getTargetMachine().getCodeModel()) { in LowerJumpTable()
1513 switch(getTargetMachine().getCodeModel()) { in makeAddress()
1150 CodeModel::Model CM = TM.getCodeModel(); in lowerGlobalAddress()