| /freebsd/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/ |
| H A D | dslDatasetHoldReleMismatch.ql | 19 (holdCall.getTarget().getName() = "dsl_dataset_hold_obj_flags" and 20 holdCall.getArgument(4).(AddressOfExpr).getOperand().(VariableAccess).getTarget() = ds and 21 releCall.getTarget().getName() = "dsl_dataset_rele" and 22 releCall.getArgument(0).(VariableAccess).getTarget() = ds and 25 (holdCall.getTarget().getName() = "dsl_dataset_hold_obj" and 26 holdCall.getArgument(3).(AddressOfExpr).getOperand().(VariableAccess).getTarget() = ds and 27 releCall.getTarget().getName() = "dsl_dataset_rele_flags" and 28 releCall.getArgument(0).(VariableAccess).getTarget() = ds and 32 …"Mismatched release: held with $@ but released with " + releCall.getTarget().getName() + " for dat… 33 holdCall, holdCall.getTarget().getName(),
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | x86_64.h | 450 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 456 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 464 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 473 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 482 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 498 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup() 507 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 513 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 522 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 531 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() [all …]
|
| H A D | x86.h | 194 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 200 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 206 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 215 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 224 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 232 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup() 240 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 345 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge() 371 if (E.getKind() == BranchPCRel32 && !E.getTarget().isDefined()) { in visitEdge() 380 E.setTarget(getEntryForTarget(G, E.getTarget())); in visitEdge()
|
| H A D | aarch64.h | 506 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 511 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 523 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 525 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup() 540 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 559 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup() 575 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 590 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 606 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 623 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() [all …]
|
| H A D | ppc64.h | 178 E.setTarget(createEntry(G, E.getTarget())); in visitEdge() 212 bool isExternal = E.getTarget().isExternal(); in visitEdge() 221 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in visitEdge() 235 E.setTarget(this->getEntryForTarget(G, E.getTarget())); in visitEdge() 363 int64_t S = E.getTarget().getAddress().getValue(); in applyFixup()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenTargetMachineImpl.cpp | 149 getTarget().createAsmPrinter(*this, std::move(*MCStreamerOrErr)); in addAsmPrinter() 171 std::unique_ptr<MCInstPrinter> InstPrinter(getTarget().createMCInstPrinter( in createMCStreamer() 182 MCE.reset(getTarget().createMCCodeEmitter(MII, Context)); in createMCStreamer() 185 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in createMCStreamer() 187 MCStreamer *S = getTarget().createAsmStreamer( in createMCStreamer() 196 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, Context); in createMCStreamer() 201 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in createMCStreamer() 207 AsmStreamer.reset(getTarget().createMCObjectStreamer( in createMCStreamer() 217 AsmStreamer.reset(getTarget().createNullStreamer(Context)); in createMCStreamer() 277 getTarget().createMCCodeEmitter(*getMCInstrInfo(), *Ctx)); in addPassesToEmitMC() [all …]
|
| H A D | BasicBlockSections.cpp | 202 if (MF.getTarget().getBBSectionsType() == llvm::BasicBlockSection::All || in assignSections() 298 auto BBSectionsType = MF.getTarget().getBBSectionsType(); in handleBBSections() 381 if (!MF.getTarget().Options.BBAddrMap) in handleBBAddrMap()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | CompactUnwindSupport.cpp | 73 << (E.getTarget().hasName() ? *E.getTarget().getName() in splitCompactUnwindBlocks() 75 << " (at " << E.getTarget().getAddress() << ")\n"; in splitCompactUnwindBlocks() 78 if (E.getTarget().isExternal()) in splitCompactUnwindBlocks() 82 *E.getTarget().getName() + " is an external symbol"); in splitCompactUnwindBlocks() 83 auto &TgtBlock = E.getTarget().getBlock(); in splitCompactUnwindBlocks()
|
| H A D | x86_64.cpp | 96 registerPreExistingEntry(EntrySym->getBlock().edges().begin()->getTarget(), in registerExistingEntries() 105 auto &GOTSym = EntrySym->getBlock().edges().begin()->getTarget(); in registerExistingEntries() 107 registerPreExistingEntry(GOTSym.getBlock().edges().begin()->getTarget(), in registerExistingEntries() 130 auto &GOTEntryBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses() 135 auto &GOTTarget = GOTEntryBlock.edges().begin()->getTarget(); in optimizeGOTAndStubAccesses() 193 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses() 199 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses() 205 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeGOTAndStubAccesses()
|
| H A D | ELF_riscv.cpp | 85 !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 D | x86.cpp | 57 auto &StubBlock = E.getTarget().getBlock(); in optimizeGOTAndStubAccesses() 63 auto &GOTBlock = StubBlock.edges().begin()->getTarget().getBlock(); in optimizeGOTAndStubAccesses() 69 auto &GOTTarget = GOTBlock.edges().begin()->getTarget(); in optimizeGOTAndStubAccesses()
|
| H A D | CompactUnwindSupport.h | 129 if (!PCBeginEdge->getTarget().isDefined()) in prepareForPrune() 133 *PCBeginEdge->getTarget().getName()); in prepareForPrune() 135 auto &Fn = PCBeginEdge->getTarget(); in prepareForPrune() 168 if (E.getKind() == Edge::KeepAlive && E.getTarget().isDefined() && in prepareForPrune() 169 &E.getTarget().getSection() == EHFrameSec) { in prepareForPrune() 179 auto &FDE = KeepAliveEdge->getTarget(); in prepareForPrune() 396 R.FDE = &E.getTarget(); in processCompactUnwind() 398 R.Fn = &E.getTarget(); in processCompactUnwind() 405 if (Personalities[PersonalityIdx] == &E.getTarget()) in processCompactUnwind() 413 Personalities.push_back(&E.getTarget()); in processCompactUnwind() [all …]
|
| H A D | JITLink.cpp | 139 auto &TargetSym = E.getTarget(); in printEdge() 354 if (E.getTarget().hasName()) in dump() 355 OS << E.getTarget().getName(); in dump() 358 << formatv("{0:x16}", E.getTarget().getAddress()) << "+" in dump() 359 << formatv("{0:x8}", E.getTarget().getOffset()); in dump() 425 << formatv("{0:x}", E.getTarget().getAddress() + E.getAddend()) in makeTargetOutOfRangeError() 427 if (E.getTarget().hasName()) in makeTargetOutOfRangeError() 428 ErrStream << E.getTarget().getName(); in makeTargetOutOfRangeError() 433 ErrStream << formatv(":{0:x}", E.getTarget().getAddress()) << " + " in makeTargetOutOfRangeError() 438 << formatv("{0:x}", E.getTarget().getAddress()) << " ("; in makeTargetOutOfRangeError()
|
| H A D | aarch64.cpp | 211 registerPreExistingEntry(EntrySym->getBlock().edges().begin()->getTarget(), in registerExistingEntries() 220 auto &GOTSym = EntrySym->getBlock().edges().begin()->getTarget(); in registerExistingEntries() 222 registerPreExistingEntry(GOTSym.getBlock().edges().begin()->getTarget(), in registerExistingEntries() 342 auto ValueToSign = E.getTarget().getAddress() + RealAddend; in lowerPointer64AuthEdgesToSigningFunction()
|
| H A D | JITLinkGeneric.cpp | 303 if (E.getTarget().isDefined() && !E.getTarget().isLive()) in prune() 304 Worklist.push_back(&E.getTarget()); in prune() 307 E.getTarget().setLive(true); in prune()
|
| 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.h | 164 assert((NoAllocSection || !E.getTarget().isDefined() || in fixUpBlocks() 165 E.getTarget().getSection().getMemLifetime() != in fixUpBlocks()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ABIInfo.cpp | 30 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() 270 auto ptrWidth = CGT.getTarget().getPointerWidth(LangAS::Default); in occupiesMoreThan()
|
| H A D | CGGPUBuiltin.cpp | 153 assert(getTarget().getTriple().isNVPTX()); in EmitNVPTXDevicePrintfCallExpr() 159 assert(getTarget().getTriple().isAMDGCN() || in EmitAMDGPUDevicePrintfCallExpr() 160 (getTarget().getTriple().isSPIRV() && in EmitAMDGPUDevicePrintfCallExpr() 161 getTarget().getTriple().getVendor() == llvm::Triple::AMD)); in EmitAMDGPUDevicePrintfCallExpr() 187 bool isBuffered = (CGM.getTarget().getTargetOpts().AMDGPUPrintfKindVal == in EmitAMDGPUDevicePrintfCallExpr()
|
| H A D | CGHLSLBuiltins.cpp | 35 if (CGF.CGM.getTarget().getTriple().isDXIL()) in handleAsDoubleBuiltin() 74 if (CGF->CGM.getTarget().getTriple().isDXIL()) { in handleHlslClip() 76 } else if (CGF->CGM.getTarget().getTriple().isSPIRV()) { in handleHlslClip() 106 if (CGF->getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()) in handleHlslSplitdouble() 112 if (CGF->CGM.getTarget().getTriple().isDXIL()) { in handleHlslSplitdouble() 564 if (CGM.getTarget().getTriple().getArch() == llvm::Triple::dxil) in EmitHLSLBuiltinExpr() 573 if (CGM.getTarget().getTriple().getArch() == llvm::Triple::dxil) in EmitHLSLBuiltinExpr() 680 getTarget().getTriple().getArch(), CGM.getHLSLRuntime(), in EmitHLSLBuiltinExpr() 691 getTarget().getTriple().getArch(), CGM.getHLSLRuntime(), in EmitHLSLBuiltinExpr() 702 switch (CGM.getTarget().getTriple().getArch()) { in EmitHLSLBuiltinExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | ARM.cpp | 33 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( 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 D | SPIR.cpp | 79 return getABIInfo().getTarget().getTriple().getVendor() != in supportsLibCall() 116 if (getTarget().getTriple().getVendor() != llvm::Triple::AMD) in classifyReturnType() 151 if (getTarget().getTriple().getVendor() == llvm::Triple::AMD) in classifyKernelArgumentType() 178 if (getTarget().getTriple().getVendor() != llvm::Triple::AMD) in classifyArgumentType() 218 if (CGM.getTarget().getTriple().isSPIRV()) in computeSPIRKernelABIInfo() 271 M.getTarget().getTriple().getVendor() != llvm::Triple::AMD) in setTargetAttributes()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | GlobalISelMatchTableExecutorEmitter.cpp | 35 getTarget().getName(), getClassName(), "computeAvailableModuleFeatures", in emitSubtargetFeatureBitsetImpl() 42 << getTarget().getName() in emitSubtargetFeatureBitsetImpl() 47 getTarget().getName(), getClassName(), "computeAvailableFunctionFeatures", in emitSubtargetFeatureBitsetImpl() 268 << "computeAvailableModuleFeatures(const " << getTarget().getName() in emitPredicatesDecl() 271 << "computeAvailableFunctionFeatures(const " << getTarget().getName() in emitPredicatesDecl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsMachineFunction.cpp | 41 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/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenItaniumCXXABI.cpp | 130 if (cgm.getTarget().getTriple().isOSBinFormatELF() || in getCIRGenToUse() 131 cgm.getTarget().getTriple().isOSBinFormatWasm()) in getCIRGenToUse() 192 assert(cgm.getTarget().getCXXABI().hasConstructorVariants()); in emitCXXConstructors()
|