Home
last modified time | relevance | path

Searched refs:Bundles (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp184 SmallVector<llvm::OperandBundleDef, 1> Bundles; in insertCFGuardCheck() local
186 Bundles.push_back(OperandBundleDef(*Bundle)); in insertCFGuardCheck()
194 B.CreateCall(GuardFnType, GuardCheckLoad, {CalledOperand}, Bundles); in insertCFGuardCheck()
216 SmallVector<llvm::OperandBundleDef, 1> Bundles; in insertCFGuardDispatch() local
217 CB->getOperandBundlesAsDefs(Bundles); in insertCFGuardDispatch()
218 Bundles.emplace_back("cfguardtarget", CalledOperand); in insertCFGuardDispatch()
223 CallBase *NewCB = CallBase::Create(CB, Bundles, CB->getIterator()); in insertCFGuardDispatch()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAssumeBundleQueries.cpp71 for (auto &Bundles : Assume.bundle_op_infos()) { in fillMapFromAssume() local
73 nullptr, Attribute::getAttrKindFromName(Bundles.Tag->getKey())}; in fillMapFromAssume()
74 if (bundleHasArgument(Bundles, ABA_WasOn)) in fillMapFromAssume()
75 Key.first = getValueFromBundleOpInfo(Assume, Bundles, ABA_WasOn); in fillMapFromAssume()
79 if (!bundleHasArgument(Bundles, ABA_Argument)) { in fillMapFromAssume()
84 getValueFromBundleOpInfo(Assume, Bundles, ABA_Argument)); in fillMapFromAssume()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h1403 ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr,
1414 ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr);
1444 ArrayRef<OperandBundleDef> Bundles = std::nullopt,
1448 ComputeNumOperands(Args.size(), CountBundleInputs(Bundles));
1449 const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo);
1452 CallInst(Ty, Func, Args, Bundles, NameStr, InsertBefore);
1462 ArrayRef<OperandBundleDef> Bundles = std::nullopt,
1465 return Create(Func.getFunctionType(), Func.getCallee(), Args, Bundles,
1482 static CallInst *Create(CallInst *CI, ArrayRef<OperandBundleDef> Bundles,
1556 ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr,
[all …]
H A DInstrTypes.h1286 static CallBase *Create(CallBase *CB, ArrayRef<OperandBundleDef> Bundles,
2352 op_iterator populateBundleOperandInfos(ArrayRef<OperandBundleDef> Bundles,
2372 static unsigned CountBundleInputs(ArrayRef<OperandBundleDef> Bundles) {
2374 for (const auto &B : Bundles)
H A DIRBuilder.h642 ArrayRef<OperandBundleDef> Bundles = std::nullopt);
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DXRayArgs.cpp76 auto Bundles = in XRayArgs() local
78 if (Bundles.empty()) in XRayArgs()
81 for (const auto &B : Bundles) { in XRayArgs()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp298 CallBase *CallBase::Create(CallBase *CB, ArrayRef<OperandBundleDef> Bundles, in Create() argument
302 return CallInst::Create(cast<CallInst>(CB), Bundles, InsertPt); in Create()
304 return InvokeInst::Create(cast<InvokeInst>(CB), Bundles, InsertPt); in Create()
306 return CallBrInst::Create(cast<CallBrInst>(CB), Bundles, InsertPt); in Create()
487 CallBase::populateBundleOperandInfos(ArrayRef<OperandBundleDef> Bundles, in populateBundleOperandInfos() argument
490 for (auto &B : Bundles) in populateBundleOperandInfos()
494 auto BI = Bundles.begin(); in populateBundleOperandInfos()
498 assert(BI != Bundles.end() && "Incorrect allocation?"); in populateBundleOperandInfos()
507 assert(BI == Bundles.end() && "Incorrect allocation?"); in populateBundleOperandInfos()
565 SmallVector<OperandBundleDef, 1> Bundles; in addOperandBundle() local
[all …]
H A DCore.cpp3372 unsigned NumArgs, LLVMOperandBundleRef *Bundles, in LLVMBuildCallBr() argument
3376 for (auto *Bundle : ArrayRef(Bundles, NumBundles)) { in LLVMBuildCallBr()
3399 LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name) { in LLVMBuildInvokeWithOperandBundles() argument
3401 for (auto *Bundle : ArrayRef(Bundles, NumBundles)) { in LLVMBuildInvokeWithOperandBundles()
4221 unsigned NumArgs, LLVMOperandBundleRef *Bundles, in LLVMBuildCallWithOperandBundles() argument
4225 for (auto *Bundle : ArrayRef(Bundles, NumBundles)) { in LLVMBuildCallWithOperandBundles()
H A DIRBuilder.cpp355 ArrayRef<OperandBundleDef> Bundles) { in CreateFree() argument
365 CallInst *Result = CreateCall(FreeFunc, Source, Bundles, ""); in CreateFree()
H A DAutoUpgrade.cpp5468 void llvm::UpgradeOperandBundles(std::vector<OperandBundleDef> &Bundles) { in UpgradeOperandBundles() argument
5473 erase_if(Bundles, [&](OperandBundleDef &OBD) { in UpgradeOperandBundles()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp742 ArrayRef<unsigned> Blocks = Bundles->getBlocks(Bundle); in growRegion()
876 bool RegIn = LiveBundles[Bundles->getBundle(BC.Number, false)]; in calcGlobalSplitCost()
877 bool RegOut = LiveBundles[Bundles->getBundle(BC.Number, true)]; in calcGlobalSplitCost()
891 bool RegIn = LiveBundles[Bundles->getBundle(Number, false)]; in calcGlobalSplitCost()
892 bool RegOut = LiveBundles[Bundles->getBundle(Number, true)]; in calcGlobalSplitCost()
944 unsigned CandIn = BundleCand[Bundles->getBundle(Number, false)]; in splitAroundRegion()
953 unsigned CandOut = BundleCand[Bundles->getBundle(Number, true)]; in splitAroundRegion()
992 unsigned CandIn = BundleCand[Bundles->getBundle(Number, false)]; in splitAroundRegion()
1000 unsigned CandOut = BundleCand[Bundles->getBundle(Number, true)]; in splitAroundRegion()
1198 BundleCand.assign(Bundles->getNumBundles(), NoCand); in doRegionSplit()
[all …]
H A DRegAllocGreedy.h178 EdgeBundles *Bundles = nullptr; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp122 EdgeBundles *Bundles = nullptr; member
340 Bundles = &getAnalysis<EdgeBundles>(); in runOnMachineFunction()
354 LiveBundles[Bundles->getBundle(Entry->getNumber(), false)]; in runOnMachineFunction()
394 LiveBundles.resize(Bundles->getNumBundles()); in bundleCFGRecomputeKillFlags()
404 LiveBundles[Bundles->getBundle(MBB.getNumber(), false)].Mask |= Mask; in bundleCFGRecomputeKillFlags()
510 LiveBundles[Bundles->getBundle(MBB->getNumber(), false)]; in setupBlockStack()
548 unsigned BundleIdx = Bundles->getBundle(MBB->getNumber(), true); in finishBlockStack()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp576 auto Bundles = getBundlesForCoroEnd(CGF); in Emit() local
581 Bundles); in Emit()
582 if (Bundles.empty()) { in Emit()
H A DCodeGenFunction.cpp2799 const CGCallee &Callee, SmallVectorImpl<llvm::OperandBundleDef> &Bundles) { in EmitKCFIOperandBundle() argument
2803 Bundles.emplace_back("kcfi", CGM.CreateKCFITypeId(FP->desugar())); in EmitKCFIOperandBundle()
3071 SmallVectorImpl<llvm::OperandBundleDef> &Bundles) { in EmitPointerAuthOperandBundle() argument
3082 Bundles.emplace_back("ptrauth", Args); in EmitPointerAuthOperandBundle()
H A DCodeGenFunction.h4458 SmallVectorImpl<llvm::OperandBundleDef> &Bundles);
5083 SmallVectorImpl<llvm::OperandBundleDef> &Bundles);
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp752 SmallVector<llvm::OperandBundleDef, 1> Bundles; in lowerCall() local
754 Bundles.push_back(OperandBundleDef(*Bundle)); in lowerCall()
771 Bundles); in lowerCall()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4184 unsigned NumArgs, LLVMOperandBundleRef *Bundles,
4193 LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name);
4543 LLVMOperandBundleRef *Bundles,
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1702 SmallVector<OperandBundleDef, 1> Bundles; in handleLongjmpableCallsForWasmSjLj() local