Home
last modified time | relevance | path

Searched refs:getTarget (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dx86_64.h405 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
411 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
419 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
428 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
437 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
453 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
462 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
493 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup()
606 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge()
632 if (E.getKind() == x86_64::BranchPCRel32 && !E.getTarget().isDefined()) { in visitEdge()
[all …]
H A Di386.h212 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
219 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
225 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
235 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
244 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
252 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup()
261 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
366 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge()
392 if (E.getKind() == i386::BranchPCRel32 && !E.getTarget().isDefined()) { in visitEdge()
401 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge()
H A Daarch64.h430 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
435 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
447 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
449 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
464 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
483 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
500 int64_t Delta = E.getTarget().getAddress() - FixupAddress; in applyFixup()
563 (E.getTarget().getAddress().getValue() + E.getAddend()) & in applyFixup()
583 (E.getTarget().getAddress() + E.getAddend()).getValue() & 0xfff; in applyFixup()
709 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge()
[all …]
H A Dloongarch.h179 uint64_t TargetAddress = E.getTarget().getAddress().getValue(); in applyFixup()
339 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge()
366 if (E.getKind() == Branch26PCRel && !E.getTarget().isDefined()) { in visitEdge()
372 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge()
H A Dppc64.h177 E.setTarget(createEntry(G, E.getTarget())); in visitEdge()
211 bool isExternal = E.getTarget().isExternal(); in visitEdge()
220 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in visitEdge()
234 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in visitEdge()
362 int64_t S = E.getTarget().getAddress().getValue(); in applyFixup()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp146 getTarget().createAsmPrinter(*this, std::move(*MCStreamerOrErr)); in addAsmPrinter()
169 MCInstPrinter *InstPrinter = getTarget().createMCInstPrinter( in createMCStreamer()
175 MCE.reset(getTarget().createMCCodeEmitter(MII, Context)); in createMCStreamer()
191 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in createMCStreamer()
193 MCStreamer *S = getTarget().createAsmStreamer( in createMCStreamer()
208 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in createMCStreamer()
214 AsmStreamer.reset(getTarget().createMCObjectStreamer( in createMCStreamer()
226 AsmStreamer.reset(getTarget().createNullStreamer(Context)); in createMCStreamer()
287 getTarget().createMCCodeEmitter(*getMCInstrInfo(), *Ctx)); in addPassesToEmitMC()
289 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in addPassesToEmitMC()
[all …]
H A DTargetFrameLoweringImpl.cpp41 !MF.getTarget().getMCAsmInfo()->usesWindowsCFI(); in enableCFIFixup()
94 if (MF.getTarget().Options.EnableIPRA && in determineCalleeSaves()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp85 !E.getTarget().isDefined(); in isExternalBranchEdge()
143 const Symbol &Sym = E.getTarget(); in getRISCVPCRelHi20()
275 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup()
276 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup()
290 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup()
333 (E.getTarget().getAddress() + in applyFixup()
340 int64_t Value = (E.getTarget().getAddress() + in applyFixup()
347 int64_t Value = (E.getTarget().getAddress() + in applyFixup()
354 int64_t Value = (E.getTarget().getAddress() + in applyFixup()
421 Value -= E.getTarget().getAddress().getValue() - E.getAddend(); in applyFixup()
[all …]
H A Dx86_64.cpp98 auto &GOTEntryBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
103 auto &GOTTarget = GOTEntryBlock.edges().begin()->getTarget(); in optimizeGOTAndStubAccesses()
161 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
167 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses()
173 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeGOTAndStubAccesses()
H A Di386.cpp59 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
65 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses()
71 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeGOTAndStubAccesses()
H A DJITLink.cpp138 auto &TargetSym = E.getTarget(); in printEdge()
317 if (E.getTarget().hasName()) in dump()
318 OS << E.getTarget().getName(); in dump()
321 << formatv("{0:x16}", E.getTarget().getAddress()) << "+" in dump()
322 << formatv("{0:x8}", E.getTarget().getOffset()); in dump()
387 if (E.getTarget().hasName()) { in makeTargetOutOfRangeError()
388 ErrStream << "\"" << E.getTarget().getName() << "\""; in makeTargetOutOfRangeError()
390 ErrStream << E.getTarget().getBlock().getSection().getName() << " + " in makeTargetOutOfRangeError()
392 ErrStream << " at address " << formatv("{0:x}", E.getTarget().getAddress()) in makeTargetOutOfRangeError()
H A DJITLinkGeneric.cpp305 if (E.getTarget().isDefined() && !E.getTarget().isLive()) in prune()
306 Worklist.push_back(&E.getTarget()); in prune()
309 E.getTarget().setLive(true); in prune()
H A DPerGraphGOTAndPLTStubsBuilder.h54 impl().fixGOTEdge(E, getGOTEntry(E.getTarget())); in run()
62 impl().fixPLTEdge(E, getPLTStub(E.getTarget())); in run()
H A DJITLinkGeneric.h164 assert((NoAllocSection || !E.getTarget().isDefined() || in fixUpBlocks()
165 E.getTarget().getBlock().getSection().getMemLifetime() != in fixUpBlocks()
H A DELF_ppc64.cpp48 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in visitEdge()
52 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in visitEdge()
56 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in visitEdge()
134 return E.getKind() == ppc64::Pointer64 && E.getTarget().isExternal(); in registerExistingGOTEntries()
140 TOC.registerPreExistingEntry(E.getTarget(), in registerExistingGOTEntries()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp30 const TargetInfo &ABIInfo::getTarget() const { return CGT.getTarget(); } in getTarget() function in ABIInfo
36 bool ABIInfo::isAndroid() const { return getTarget().getTriple().isAndroid(); } in isAndroid()
39 return getTarget().getTriple().isOHOSFamily(); in isOHOSFamily()
210 auto ptrWidth = CGT.getTarget().getPointerWidth(LangAS::Default); in occupiesMoreThan()
H A DCGGPUBuiltin.cpp175 assert(getTarget().getTriple().isNVPTX()); in EmitNVPTXDevicePrintfCallExpr()
181 assert(getTarget().getTriple().getArch() == llvm::Triple::amdgcn); in EmitAMDGPUDevicePrintfCallExpr()
207 bool isBuffered = (CGM.getTarget().getTargetOpts().AMDGPUPrintfKindVal == in EmitAMDGPUDevicePrintfCallExpr()
215 assert(getTarget().getTriple().isNVPTX() || in EmitOpenMPDevicePrintfCallExpr()
216 getTarget().getTriple().isAMDGCN()); in EmitOpenMPDevicePrintfCallExpr()
H A DCGCXX.cpp45 if (getTarget().getTriple().isWindowsArm64EC()) in TryEmitBaseDestructorAsAlias()
228 if (getTarget().getCXXABI().isMicrosoft() && in getAddrAndTypeOfCXXStructor()
250 assert(!CGF.CGM.getTarget().getCXXABI().isMicrosoft() && in BuildAppleKextVirtualCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp33 switch (getTarget().getTriple().getEnvironment()) { in isEABI()
43 return getTarget().getTriple().isOHOSFamily(); in isEABI()
48 switch (getTarget().getTriple().getEnvironment()) { in isEABIHF()
61 return !IsFloatABISoftFP && getTarget().hasBFloat16Type(); in allowBFloatArgsAndRet()
142 CGM.getTarget().parseTargetAttr(TA->getFeaturesStr()); in setTargetAttributes()
170 if (!CGM.getTarget().isBranchProtectionSupportedArch(Attr.CPU)) in setTargetAttributes()
257 if (isEABIHF() || getTarget().getTriple().isWatchABI()) in getLLVMDefaultCC()
426 if (getTarget().isRenderScriptTarget()) { in classifyArgumentType()
547 if ((!getTarget().hasLegalHalfType() && in classifyReturnType()
615 if (getTarget().isRenderScriptTarget()) { in classifyReturnType()
[all …]
H A DAArch64.cpp75 return getTarget().hasBFloat16Type(); in allowBFloatArgsAndRet()
116 CGM.getTarget().parseTargetAttr(TA->getFeaturesStr()); in setTargetAttributes()
122 (void)CGM.getTarget().validateBranchProtection(Attr.BranchProtection, in setTargetAttributes()
147 if (CGF.getTarget().hasFeature("ls64")) { in isScalarizableAsmOperand()
344 if (getTarget().isRenderScriptTarget()) { in classifyArgumentType()
354 (unsigned)getTarget().getPointerWidth(LangAS::Default)); in classifyArgumentType()
405 !(getTarget().getTriple().getArch() == llvm::Triple::aarch64_32 && in classifyReturnType()
414 if (getTarget().isRenderScriptTarget()) { in classifyReturnType()
463 llvm::Triple Triple = getTarget().getTriple(); in isIllegalVectorType()
521 uint64_t PointerSize = getTarget().getPointerWidth(LangAS::Default) / 8; in EmitAAPCSVAArg()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelMatchTableExecutorEmitter.cpp35 getTarget().getName(), getClassName(), "computeAvailableModuleFeatures", in emitSubtargetFeatureBitsetImpl()
42 << getTarget().getName() in emitSubtargetFeatureBitsetImpl()
47 getTarget().getName(), getClassName(), "computeAvailableFunctionFeatures", in emitSubtargetFeatureBitsetImpl()
266 << "computeAvailableModuleFeatures(const " << getTarget().getName() in emitPredicatesDecl()
269 << "computeAvailableFunctionFeatures(const " << getTarget().getName() in emitPredicatesDecl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMachineFunction.cpp41 auto &TM = static_cast<const MipsTargetMachine &>(MF.getTarget()); in getGlobalBaseRegClass()
81 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI(); in initGlobalBaseReg()
104 if (!MF.getTarget().isPositionIndependent()) { in initGlobalBaseReg()
161 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI().IsN64() in createEhDataRegsFI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.cpp130 static_cast<const NVPTXTargetMachine &>(MF.getTarget()); in getFrameRegister()
137 static_cast<const NVPTXTargetMachine &>(MF.getTarget()); in getFrameLocalRegister()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp105 switch (MF.getTarget().getCodeModel()) { in needsPrologueENDBR()
125 static_cast<const X86TargetMachine *>(&MF.getTarget()); in runOnMachineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMIRFormatter.cpp25 static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in parseCustomPseudoSourceValue()

12345678910>>...12