Home
last modified time | relevance | path

Searched refs:getTargetMachine (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h41 TargetMachine &getTargetMachine() { return *TM; } in getTargetMachine() function
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp171 const TargetMachine &TM = getTLI()->getTargetMachine(); in isSourceOfDivergence()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.h176 const PPCTargetMachine &getTargetMachine() const { return TM; } in getTargetMachine() function
DPPCInstrInfo.cpp69 Subtarget(STI), RI(STI.getTargetMachine()) {} in PPCInstrInfo()
236 if (Subtarget.getTargetMachine().getOptLevel() != CodeGenOpt::Aggressive) in getMachineCombinerPatterns()
DPPCISelLowering.cpp2124 TLSModel::Model Model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
2830 bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt && in LowerFormalArguments_32SVR4()
3057 bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt && in LowerFormalArguments_64SVR4()
3475 bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt && in LowerFormalArguments_Darwin()
3850 if (!getTargetMachine().Options.GuaranteedTailCallOpt) in IsEligibleForTailCallOptimization()
3867 if (getTargetMachine().getRelocationModel() != Reloc::PIC_) in IsEligibleForTailCallOptimization()
4385 getTargetMachine().Options.GuaranteedTailCallOpt) ? NumBytes : 0; in FinishCall()
4527 if (getTargetMachine().Options.GuaranteedTailCallOpt && in LowerCall_32SVR4()
4770 if (getTargetMachine().Options.GuaranteedTailCallOpt && in LowerCall_64SVR4()
4880 if (getTargetMachine().Options.GuaranteedTailCallOpt && in LowerCall_64SVR4()
[all …]
DPPCFrameLowering.cpp79 : (STI.getTargetMachine().getRelocationModel() == Reloc::PIC_) in computeBasePointerSaveOffset()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h295 TargetMachine *getTargetMachine() override { return TM.get(); } in getTargetMachine() function
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h423 virtual TargetMachine *getTargetMachine() { return nullptr; } in getTargetMachine() function
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp284 return wrap(unwrap(EE)->getTargetMachine()); in LLVMGetExecutionEngineTargetMachine()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1602 if ((getTargetMachine().getRelocationModel() == Reloc::PIC_) || ABI.IsN64()) { in lowerBR_JT()
1685 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) { in lowerGlobalAddress()
1688 getTargetMachine().getObjFileLowering()); in lowerGlobalAddress()
1689 if (TLOF->IsGlobalInSmallSection(GV, getTargetMachine())) in lowerGlobalAddress()
1717 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) in lowerBlockAddress()
1738 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in lowerGlobalTLSAddress()
1811 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) in lowerJumpTable()
1823 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) { in lowerConstantPool()
1826 getTargetMachine().getObjFileLowering()); in lowerConstantPool()
1829 getTargetMachine())) in lowerConstantPool()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp532 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
/external/mesa3d/src/gallium/drivers/radeon/
DSIISelLowering.cpp68 const TargetInstrInfo * TII = getTargetMachine().getInstrInfo(); in EmitInstrWithCustomInserter()
DAMDILISelLowering.cpp101 const AMDGPUSubtarget &STM = getTargetMachine().getSubtarget<AMDGPUSubtarget>(); in InitAMDILLowering()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp806 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp924 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2715 if (getTargetMachine().Options.GuaranteedTailCallOpt) { in isEligibleForTailCallOptimization()
2730 const Triple &TT = getTargetMachine().getTargetTriple(); in isEligibleForTailCallOptimization()
3117 if (getTargetMachine().getCodeModel() == CodeModel::Large && in LowerCall()
3308 Subtarget->ClassifyGlobalReference(GV, getTargetMachine()); in LowerGlobalAddress()
3322 assert(getTargetMachine().getCodeModel() == CodeModel::Small && in LowerGlobalAddress()
3341 if (getTargetMachine().getCodeModel() == CodeModel::Large) { in LowerGlobalAddress()
3471 assert(getTargetMachine().getCodeModel() == CodeModel::Small && in LowerELFGlobalTLSAddress()
3480 TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerELFGlobalTLSAddress()
4090 if (getTargetMachine().getCodeModel() == CodeModel::Large && in LowerJumpTable()
4116 if (getTargetMachine().getCodeModel() == CodeModel::Large) { in LowerConstantPool()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp1382 getTargetMachine().Options.FloatABIType == FloatABI::Hard && in getEffectiveCallingConv()
1789 getTargetMachine().getRelocationModel() == Reloc::Static) && in LowerCall()
1829 getTargetMachine().getRelocationModel() != Reloc::Static; in LowerCall()
1860 getTargetMachine().getRelocationModel() == Reloc::PIC_) in LowerCall()
1867 getTargetMachine().getRelocationModel() != Reloc::Static; in LowerCall()
1888 getTargetMachine().getRelocationModel() == Reloc::PIC_) in LowerCall()
2118 const Triple &TT = getTargetMachine().getTargetTriple(); in IsEligibleForTailCallOptimization()
2510 Reloc::Model RelocM = getTargetMachine().getRelocationModel(); in LowerBlockAddress()
2641 TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal()); in LowerGlobalTLSAddress()
2659 if (getTargetMachine().getRelocationModel() == Reloc::PIC_) { in LowerGlobalAddressELF()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp241 if (getTargetMachine().getRelocationModel() != Reloc::PIC_) in getJumpTableEncoding()
245 if (getTargetMachine().getMCAsmInfo()->getGPRel32Directive() != nullptr) in getJumpTableEncoding()
277 if (getTargetMachine().getRelocationModel() == Reloc::Static) in isOffsetFoldingLegal()
281 if (getTargetMachine().getRelocationModel() == Reloc::DynamicNoPIC && in isOffsetFoldingLegal()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp956 unsigned TF = ((getTargetMachine().getRelocationModel() == Reloc::PIC_) in LowerCall_32()
1270 unsigned TF = ((getTargetMachine().getRelocationModel() == Reloc::PIC_) in LowerCall_64()
1906 if (getTargetMachine().getRelocationModel() == Reloc::PIC_) { in makeAddress()
1922 switch(getTargetMachine().getCodeModel()) { in makeAddress()
1976 TLSModel::Model model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddress()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp1090 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1323 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModule()
/external/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp140 const SystemZTargetMachine &getTargetMachine() const { in getTargetMachine() function in __anon07fcbd290111::SystemZDAGToDAGISel
/external/llvm/include/llvm/Target/
DTargetLowering.h166 const TargetMachine &getTargetMachine() const { return TM; } in getTargetMachine() function
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp380 const X86TargetMachine &getTargetMachine() const { in getTargetMachine() function in __anon357e74f70311::X86DAGToDAGISel
554 getTargetMachine().getRelocationModel() != Reloc::PIC_)))) { in PreprocessISelDAG()
/external/llvm/docs/tutorial/
DLangImpl4.rst135 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout());

12