Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp101 GO, TLInfo.getTargetMachine()); in isAddressedViaADA()
126 return TLInfo.getTargetMachine().shouldAssumeDSOLocal(GV); in isPC32DBLSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYSubtarget.cpp106 auto FloatABI = getTargetLowering()->getTargetMachine().Options.FloatABIType; in useHardFloatABI()
H A DCSKYISelLowering.cpp653 bool IsLocal = getTargetMachine().shouldAssumeDSOLocal(GV); in LowerCall()
665 bool IsLocal = getTargetMachine().shouldAssumeDSOLocal(nullptr); in LowerCall()
1128 bool IsLocal = getTargetMachine().shouldAssumeDSOLocal(GV); in LowerGlobalAddress()
1244 TLSModel::Model Model = getTargetMachine().getTLSModel(N->getGlobal()); in LowerGlobalTLSAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCSubtarget.h160 const PPCTargetMachine &getTargetMachine() const { return TM; } in getTargetMachine() function
H A DPPCSubtarget.cpp255 CodeModel::Medium == getTargetMachine().getCodeModel(); in isUsingPCRelativeCalls()
H A DPPCTargetTransformInfo.cpp343 const PPCTargetMachine &TM = ST->getTargetMachine(); in isHardwareLoopProfitable()
901 const TargetMachine &TM = getTLI()->getTargetMachine(); in areInlineCompatible()
971 const PPCTargetMachine &TM = ST->getTargetMachine(); in shouldBuildRelLookupTables()
H A DPPCTLSDynamicCall.cpp53 Subtarget.getTargetMachine().getCodeModel() == CodeModel::Large; in processBlock()
H A DPPCISelLowering.cpp3265 switch (getTargetMachine().getCodeModel()) { in getPICJumpTableRelocBase()
3282 switch (getTargetMachine().getCodeModel()) { in getPICJumpTableRelocBaseExpr()
3431 TLSModel::Model Model = getTargetMachine().getTLSModel(GV); in LowerGlobalTLSAddressAIX()
3435 updateForAIXShLibTLSModelOpt(Model, DAG, getTargetMachine()); in LowerGlobalTLSAddressAIX()
3581 const TargetMachine &TM = getTargetMachine(); in LowerGlobalTLSAddressLinux()
4283 bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt && in LowerFormalArguments_32SVR4()
4525 bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt && in LowerFormalArguments_64SVR4()
5070 bool TailCallOpt = getTargetMachine().Options.GuaranteedTailCallOpt; in IsEligibleForTailCallOptimization_64SVR4()
5124 !callsShareTOCBase(CallerFunc, CalleeGV, getTargetMachine())) in IsEligibleForTailCallOptimization_64SVR4()
5155 if (!getTargetMachine().Options.GuaranteedTailCallOpt) in IsEligibleForTailCallOptimization()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyUtilities.cpp190 Subtarget->getTargetLowering()->getTargetMachine()); in canLowerMultivalueReturn()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp126 *static_cast<const RISCVTargetMachine *>(&TLInfo.getTargetMachine()), in getInstructionSelector()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp598 const TargetOptions &Options = TLI->getTargetMachine().Options; in getArithmeticInstrCost()
654 TLI->getTargetMachine().Options.UnsafeFPMath)) { in getArithmeticInstrCost()
1127 static_cast<const GCNTargetMachine &>(getTLI()->getTargetMachine()); in rewriteIntrinsicWithAddressSpace()
1276 const TargetMachine &TM = getTLI()->getTargetMachine(); in areInlineCompatible()
H A DSIMachineFunctionInfo.cpp34 return static_cast<const GCNTargetMachine &>(TLI->getTargetMachine()); in getTM()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1087 getTargetMachine().getObjFileLowering()); in LowerConstantPool()
1091 if (getTargetMachine().getCodeModel() == CodeModel::Small || in LowerConstantPool()
1121 getTargetMachine().getObjFileLowering()); in LowerGlobalAddress()
1126 if (TLOF->isGlobalInSmallSection(GO, getTargetMachine())) { in LowerGlobalAddress()
1169 if (getTargetMachine().getCodeModel() == CodeModel::Small) { in LowerJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h284 TargetMachine *getTargetMachine() override { return TM.get(); } in getTargetMachine() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.h310 switch (TLInfo.getTargetMachine().getCodeModel()) { in useSmallAddressing()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelect.cpp339 TLI.getTargetMachine().getTarget().getBackendName()); in selectMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/
H A DM68kCallLowering.cpp211 unsigned Opc = TLI.getTargetMachine().isPositionIndependent() ? M68k::CALLq in lowerCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h444 virtual TargetMachine *getTargetMachine() { return nullptr; } in getTargetMachine() function
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp288 return wrap(unwrap(EE)->getTargetMachine()); in LLVMGetExecutionEngineTargetMachine()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h370 const TargetMachine &TM = getTLI()->getTargetMachine(); in areInlineCompatible()
409 return getTLI()->getTargetMachine().isNoopAddrSpaceCast(FromAS, ToAS); in isNoopAddrSpaceCast()
413 return getTLI()->getTargetMachine().getAssumedAddrSpace(V); in getAssumedAddrSpace()
417 return getTLI()->getTargetMachine().Options.ThreadModel == in isSingleThreaded()
423 return getTLI()->getTargetMachine().getPredicatedAddrSpace(V); in getPredicatedAddrSpace()
613 const TargetMachine &TM = getTLI()->getTargetMachine(); in shouldBuildRelLookupTables()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp608 static_cast<const NVPTXTargetMachine &>(getTLI()->getTargetMachine()); in getAssumedAddrSpace()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp2034 if (getTargetMachine().getTargetTriple().isOSOpenBSD()) { in getIRStackGuard()
2068 if (getTargetMachine().getTargetTriple().isOSOpenBSD()) { in getSDagStackGuard()
2099 return getTargetMachine().isPositionIndependent(); in isJumpTableRelative()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h373 return getTargetMachine().isPositionIndependent(); in isJumpTableRelative()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp195 const M68kTargetMachine &getTargetMachine() { in getTargetMachine() function in __anon65c018290211::M68kDAGToDAGISel
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLoweringCall.cpp438 getTargetMachine().getCodeModel() == CodeModel::Large && in getJumpTableEncoding()
507 getTargetMachine().getCodeModel() == CodeModel::Large)) in getPICJumpTableRelocBaseExpr()
543 return (getTargetMachine().getCodeModel() == CodeModel::Kernel) ? X86AS::GS in getAddressSpace()

123