Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dx86_64.h418 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
424 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
432 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
441 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
450 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
466 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
475 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
481 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
490 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
499 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
[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.h442 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
447 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
459 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
461 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
476 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
495 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
511 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
526 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
542 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
559 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
[all …]
H A Dppc64.h177 E.setTarget(createEntry(G, E.getTarget())); in visitEdge()
211 bool isExternal = E.getTarget().isExternal();
220 E.setTarget(this->getEntryForTarget(G, E.getTarget()));
234 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in applyFixup()
362 int64_t S = E.getTarget().getAddress().getValue();
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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp142 getTarget().createAsmPrinter(*this, std::move(*MCStreamerOrErr)); in addAsmPrinter()
162 MCInstPrinter *InstPrinter = getTarget().createMCInstPrinter( in createMCStreamer()
168 MCE.reset(getTarget().createMCCodeEmitter(MII, Context)); in createMCStreamer()
171 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in createMCStreamer()
173 MCStreamer *S = getTarget().createAsmStreamer( in createMCStreamer()
181 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, Context); in createMCStreamer()
186 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in createMCStreamer()
192 AsmStreamer.reset(getTarget().createMCObjectStreamer( in createMCStreamer()
202 AsmStreamer.reset(getTarget().createNullStreamer(Context)); in createMCStreamer()
261 getTarget().createMCCodeEmitter(*getMCInstrInfo(), *Ctx)); in addPassesToEmitMC()
[all …]
H A DBasicBlockSections.cpp199 if (MF.getTarget().getBBSectionsType() == llvm::BasicBlockSection::All || in assignSections()
295 auto BBSectionsType = MF.getTarget().getBBSectionsType(); in handleBBSections()
383 if (MF.getTarget().getBBSectionsType() == BasicBlockSection::Labels) in handleBBAddrMap()
385 if (!MF.getTarget().Options.BBAddrMap) in handleBBAddrMap()
H A DTargetFrameLoweringImpl.cpp41 !MF.getTarget().getMCAsmInfo()->usesWindowsCFI(); in enableCFIFixup()
108 if (MF.getTarget().Options.EnableIPRA && in determineCalleeSaves()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp85 !E.getTarget().isDefined(); in isExternalBranchEdge()
180 const Symbol &Sym = E.getTarget(); in getRISCVPCRelHi20()
201 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
206 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
211 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
226 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
244 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
261 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
277 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup()
278 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup()
[all …]
H A Dx86_64.cpp100 auto &GOTEntryBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
105 auto &GOTTarget = GOTEntryBlock.edges().begin()->getTarget(); in optimizeGOTAndStubAccesses()
163 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses()
169 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses()
175 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()
388 if (E.getTarget().hasName()) { in makeTargetOutOfRangeError()
389 ErrStream << "\"" << E.getTarget().getName() << "\""; in makeTargetOutOfRangeError()
391 ErrStream << E.getTarget().getBlock().getSection().getName() << " + " in makeTargetOutOfRangeError()
393 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()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp176 assert(getTarget().getTriple().isNVPTX()); in EmitNVPTXDevicePrintfCallExpr()
182 assert(getTarget().getTriple().isAMDGCN() || in EmitAMDGPUDevicePrintfCallExpr()
183 (getTarget().getTriple().isSPIRV() && in EmitAMDGPUDevicePrintfCallExpr()
184 getTarget().getTriple().getVendor() == llvm::Triple::AMD)); in EmitAMDGPUDevicePrintfCallExpr()
210 bool isBuffered = (CGM.getTarget().getTargetOpts().AMDGPUPrintfKindVal == in EmitAMDGPUDevicePrintfCallExpr()
218 assert(getTarget().getTriple().isNVPTX() || in EmitOpenMPDevicePrintfCallExpr()
219 getTarget().getTriple().isAMDGCN()); in EmitOpenMPDevicePrintfCallExpr()
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()
213 const TargetInfo &TI = CGT.getTarget(); in appendAttributeMangling()
262 auto ptrWidth = CGT.getTarget().getPointerWidth(LangAS::Default); in occupiesMoreThan()
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/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp33 switch (getTarget().getTriple().getEnvironment()) { in isEABI()
45 return getTarget().getTriple().isOHOSFamily(); in isEABI()
50 switch (getTarget().getTriple().getEnvironment()) { in isEABIHF()
64 return !IsFloatABISoftFP && getTarget().hasBFloat16Type(); in allowBFloatArgsAndRet()
145 CGM.getTarget().parseTargetAttr(TA->getFeaturesStr()); in setTargetAttributes()
150 Attr.CPU.empty() ? CGM.getTarget().getTargetOpts().CPU : Attr.CPU; in setTargetAttributes()
151 if (!CGM.getTarget().validateBranchProtection(Attr.BranchProtection, in setTargetAttributes()
164 if (!CGM.getTarget().isBranchProtectionSupportedArch(Attr.CPU)) in setTargetAttributes()
170 } else if (CGM.getTarget().isBranchProtectionSupportedArch( in setTargetAttributes()
171 CGM.getTarget().getTargetOpts().CPU)) { in setTargetAttributes()
[all …]
H A DAArch64.cpp81 return getTarget().hasBFloat16Type(); in allowBFloatArgsAndRet()
127 CGM.getTarget().parseTargetAttr(TA->getFeaturesStr()); in setTargetAttributes()
130 (void)CGM.getTarget().validateBranchProtection(Attr.BranchProtection, in setTargetAttributes()
141 if (CGF.getTarget().hasFeature("ls64")) { in isScalarizableAsmOperand()
360 if (getTarget().isRenderScriptTarget()) { in classifyArgumentType()
370 (unsigned)getTarget().getPointerWidth(LangAS::Default)); in classifyArgumentType()
421 !(getTarget().getTriple().getArch() == llvm::Triple::aarch64_32 && in classifyReturnType()
430 if (getTarget().isRenderScriptTarget()) { in classifyReturnType()
479 llvm::Triple Triple = getTarget().getTriple(); in isIllegalVectorType()
793 uint64_t PointerSize = getTarget().getPointerWidth(LangAS::Default) / 8; in EmitDarwinVAArg()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTableExecutorEmitter.cpp35 getTarget().getName(), getClassName(), "computeAvailableModuleFeatures", in emitSubtargetFeatureBitsetImpl()
42 << getTarget().getName() in emitSubtargetFeatureBitsetImpl()
47 getTarget().getName(), getClassName(), "computeAvailableFunctionFeatures", in emitSubtargetFeatureBitsetImpl()
263 << "computeAvailableModuleFeatures(const " << getTarget().getName() in emitPredicatesDecl()
266 << "computeAvailableFunctionFeatures(const " << getTarget().getName() in emitPredicatesDecl()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.cpp134 static_cast<const NVPTXTargetMachine &>(MF.getTarget()); in getFrameRegister()
141 static_cast<const NVPTXTargetMachine &>(MF.getTarget()); in getFrameLocalRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp106 switch (MF.getTarget().getCodeModel()) { in needsPrologueENDBR()
126 static_cast<const X86TargetMachine *>(&MF.getTarget()); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp56 const TargetMachine &TM = MF.getTarget(); in GetGlobalAddressSymbol()
69 const TargetMachine &TM = MF.getTarget(); in GetGlobalAddressSymbol()
159 const TargetMachine &TM = MI->getMF()->getTarget(); in getFunctionReturns()

12345678910>>...12