| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LLVMTargetMachine.cpp | 138 getTarget().createAsmPrinter(*this, std::move(*MCStreamerOrErr)); in addAsmPrinter() 161 MCInstPrinter *InstPrinter = getTarget().createMCInstPrinter( in createMCStreamer() 167 MCE.reset(getTarget().createMCCodeEmitter(MII, MRI, Context)); in createMCStreamer() 170 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in createMCStreamer() 172 MCStreamer *S = getTarget().createAsmStreamer( in createMCStreamer() 187 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in createMCStreamer() 193 AsmStreamer.reset(getTarget().createMCObjectStreamer( in createMCStreamer() 205 AsmStreamer.reset(getTarget().createNullStreamer(Context)); in createMCStreamer() 263 getTarget().createMCCodeEmitter(*getMCInstrInfo(), MRI, *Ctx); in addPassesToEmitMC() 265 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in addPassesToEmitMC() [all …]
|
| H A D | TargetFrameLoweringImpl.cpp | 90 if (MF.getTarget().Options.EnableIPRA && in determineCalleeSaves() 134 return MF.getTarget().getAllocaPointerSize(); in getStackAlignmentSkew()
|
| H A D | BasicBlockSections.cpp | 251 if (MF.getTarget().getBBSectionsType() == llvm::BasicBlockSection::All || in assignSections() 343 auto BBSectionsType = MF.getTarget().getBBSectionsType(); in runOnMachineFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | x86_64.h | 271 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 277 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 291 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup() 300 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 306 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 315 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup() 321 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_x86_64.cpp | 91 return E.getKind() == Branch32 && !E.getTarget().isDefined(); in isExternalBranchEdge() 162 auto &GOTBlock = E.getTarget().getBlock(); in optimizeELF_x86_64_GOTAndStubs() 168 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeELF_x86_64_GOTAndStubs() 190 auto &StubBlock = E.getTarget().getBlock(); in optimizeELF_x86_64_GOTAndStubs() 198 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeELF_x86_64_GOTAndStubs() 204 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeELF_x86_64_GOTAndStubs() 441 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 449 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 454 int64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 459 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() [all …]
|
| H A D | ELF_riscv.cpp | 35 const Symbol &Sym = E.getTarget(); in getRISCVPCRelHi20() 82 int64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 89 int64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 97 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 108 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 118 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup() 119 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup() 128 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup() 129 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup()
|
| H A D | JITLink.cpp | 121 auto &TargetSym = E.getTarget(); in printEdge() 297 if (E.getTarget().hasName()) in dump() 298 OS << E.getTarget().getName(); in dump() 301 << formatv("{0:x16}", E.getTarget().getAddress()) << "+" in dump() 302 << formatv("{0:x8}", E.getTarget().getOffset()); in dump() 369 if (E.getTarget().hasName()) in makeTargetOutOfRangeError() 370 ErrStream << "\"" << E.getTarget().getName() << "\" "; in makeTargetOutOfRangeError() 371 ErrStream << "at address " << formatv("{0:x}", E.getTarget().getAddress()); in makeTargetOutOfRangeError()
|
| H A D | MachO_arm64.cpp | 439 return E.getKind() == Branch26 && !E.getTarget().isDefined(); in isExternalBranchEdge() 539 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 557 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 565 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 574 (E.getTarget().getAddress() + E.getAddend()) & in applyFixup() 593 (E.getTarget().getAddress() + E.getAddend()) & 0xfff; in applyFixup() 613 uint32_t TargetOffset = E.getTarget().getAddress() & 0xfff; in applyFixup() 625 int64_t Delta = E.getTarget().getAddress() - FixupAddress; in applyFixup() 643 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 645 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
|
| H A D | MachO_x86_64.cpp | 456 return E.getKind() == x86_64::BranchPCRel32 && E.getTarget().isExternal(); in isExternalBranchEdge() 507 auto &GOTBlock = E.getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs() 513 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeMachO_x86_64_GOTAndStubs() 539 auto &StubBlock = E.getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs() 545 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeMachO_x86_64_GOTAndStubs() 551 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeMachO_x86_64_GOTAndStubs()
|
| H A D | PerGraphGOTAndPLTStubsBuilder.h | 54 impl().fixGOTEdge(E, getGOTEntry(E.getTarget())); in run() 62 impl().fixPLTEdge(E, getPLTStub(E.getTarget())); in run()
|
| H A D | JITLinkGeneric.cpp | 456 if (E.getTarget().isDefined() && !E.getTarget().isLive()) in prune() 457 Worklist.push_back(&E.getTarget()); in prune() 460 E.getTarget().setLive(true); in prune()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsMachineFunction.cpp | 33 auto &TM = static_cast<const MipsTargetMachine &>(MF.getTarget()); in getGlobalBaseRegClass() 73 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI(); in initGlobalBaseReg() 96 if (!MF.getTarget().isPositionIndependent()) { in initGlobalBaseReg() 153 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI().IsN64() in createEhDataRegsFI()
|
| H A D | MipsFrameLowering.cpp | 97 return MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGGPUBuiltin.cpp | 72 assert(getTarget().getTriple().isNVPTX()); in EmitNVPTXDevicePrintfCallExpr() 128 assert(getTarget().getTriple().getArch() == llvm::Triple::amdgcn); in EmitAMDGPUDevicePrintfCallExpr()
|
| H A D | CGException.cpp | 73 getTarget().getCXXABI().isItaniumFamily()) { in getTerminateFn() 76 getTarget().getCXXABI().isMicrosoft()) { in getTerminateFn() 232 const llvm::Triple &T = CGM.getTarget().getTriple(); in get() 234 const TargetInfo &Target = CGM.getTarget(); in get() 345 const EHPersonality &CXX = getCXXPersonality(getTarget(), LangOpts); in SimplifyPersonality() 487 if (getTarget().getCXXABI().isMicrosoft()) in EmitStartEHSpec() 506 if (getTarget().getCXXABI() == TargetCXXABI::WebAssembly && in EmitStartEHSpec() 589 if (getTarget().getCXXABI().isMicrosoft()) in EmitEndEHSpec() 1855 CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in EmitCapturedLocals() 2089 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in EmitSEHExceptionCodeSave() [all …]
|
| H A D | CGOpenMPRuntimeAMDGCN.cpp | 38 unsigned WarpSize = CGF.getTarget().getGridValue(llvm::omp::GV_Warp_Size); in getGPUWarpSize()
|
| H A D | CGCXX.cpp | 229 if (getTarget().getCXXABI().isMicrosoft() && in getAddrAndTypeOfCXXStructor() 251 assert(!CGF.CGM.getTarget().getCXXABI().isMicrosoft() && in BuildAppleKextVirtualCall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMCInstLower.cpp | 57 const TargetMachine &TM = MF.getTarget(); in GetGlobalAddressSymbol() 74 const TargetMachine &TM = MF.getTarget(); in GetGlobalAddressSymbol() 180 const TargetMachine &TM = MI->getMF()->getTarget(); in getFunctionReturns()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86IndirectThunks.cpp | 135 if (MMI.getTarget().getTargetTriple().getArch() == Triple::x86_64) in insertThunks() 144 bool Is64Bit = MF.getTarget().getTargetTriple().getArch() == Triple::x86_64; in populateThunk()
|
| H A D | X86SpeculativeExecutionSideEffectSuppression.cpp | 91 const auto &OptLevel = MF.getTarget().getOptLevel(); in runOnMachineFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InstructionSelect.cpp | 98 : MF.getTarget().getOptLevel(); in runOnMachineFunction() 302 TLI.getTargetMachine().getTarget().getBackendName()); in runOnMachineFunction()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 119 TO->HostTriple = getTarget().getTriple().str(); in createTarget() 123 if (!getTarget().hasStrictFP() && !getLangOpts().ExpStrictFP) { in createTarget() 139 !getTarget().validateOpenCLTarget(getLangOpts(), getDiagnostics())) in createTarget() 145 getTarget().adjust(getDiagnostics(), getLangOpts()); in createTarget() 148 getTarget().adjustTargetOptions(getCodeGenOpts(), getTargetOpts()); in createTarget() 151 getTarget().setAuxTarget(Aux); in createTarget() 454 getDiagnostics(), getLangOpts(), &getTarget()); in createPreprocessor() 460 getTarget().adjust(getDiagnostics(), getLangOpts()); in createPreprocessor() 461 PP->Initialize(getTarget(), getAuxTarget()); in createPreprocessor() 555 Context->InitBuiltinTypes(getTarget(), getAuxTarget()); in createASTContext() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXFrameLowering.cpp | 48 static_cast<const NVPTXTargetMachine &>(MF.getTarget()).is64Bit(); in emitPrologue()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PreLegalizerCombiner.cpp | 127 GV, MF.getTarget()) != AArch64II::MO_NO_FLAG) in matchFoldGlobalOffset() 347 MF.getTarget().getOptLevel() != CodeGenOpt::None && !skipFunction(F); in runOnMachineFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineFunction.cpp | 23 NoSignedZerosFPMath(MF.getTarget().Options.NoSignedZerosFPMath) { in AMDGPUMachineFunction()
|