Home
last modified time | relevance | path

Searched refs:OpBundles (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp50 SmallVector<OperandBundleDef, 1> OpBundles; in runImpl() local
51 II->getOperandBundlesAsDefs(OpBundles); in runImpl()
55 CallArgs, OpBundles, "", II->getIterator()); in runImpl()
H A DInlineFunction.cpp974 SmallVector<OperandBundleDef, 1> OpBundles; in PropagateOperandBundles() local
975 I->getOperandBundlesAsDefs(OpBundles); in PropagateOperandBundles()
976 OpBundles.emplace_back("funclet", CallSiteEHPad); in PropagateOperandBundles()
978 Instruction *NewInst = CallBase::Create(I, OpBundles, I->getIterator()); in PropagateOperandBundles()
2796 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local
2797 DeoptCall->getOperandBundlesAsDefs(OpBundles); in InlineFunction()
2800 assert(!OpBundles.empty() && in InlineFunction()
2805 Builder.CreateCall(NewDeoptIntrinsic, CallArgs, OpBundles); in InlineFunction()
H A DLocal.cpp2879 SmallVector<OperandBundleDef, 1> OpBundles; in createCallMatchingInvoke() local
2880 II->getOperandBundlesAsDefs(OpBundles); in createCallMatchingInvoke()
2882 II->getCalledOperand(), Args, OpBundles); in createCallMatchingInvoke()
2938 SmallVector<OperandBundleDef, 1> OpBundles; in changeToInvokeAndSplitBasicBlock() local
2940 CI->getOperandBundlesAsDefs(OpBundles); in changeToInvokeAndSplitBasicBlock()
2948 UnwindEdge, InvokeArgs, OpBundles, CI->getName(), BB); in changeToInvokeAndSplitBasicBlock()
H A DSimplifyLibCalls.cpp3948 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local
3949 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall()
3952 Builder.setDefaultOperandBundles(OpBundles); in optimizeCall()
4384 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local
4385 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall()
4388 Builder.setDefaultOperandBundles(OpBundles); in optimizeCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp30 SmallVector<OperandBundleDef, 1> OpBundles; in createCallInstWithColors() local
37 OpBundles.emplace_back("funclet", EHPad); in createCallInstWithColors()
40 return CallInst::Create(FTy, Callee, Args, OpBundles, NameStr, InsertBefore); in createCallInstWithColors()
H A DObjCARCOpts.cpp572 SmallVectorImpl<OperandBundleDef> &OpBundles, in cloneOpBundlesIf() argument
577 OpBundles.emplace_back(B); in cloneOpBundlesIf()
582 SmallVectorImpl<OperandBundleDef> &OpBundles) { in addOpBundleForFunclet() argument
588 OpBundles.emplace_back("funclet", EHPad); in addOpBundleForFunclet()
1149 SmallVector<OperandBundleDef, 1> OpBundles; in OptimizeIndividualCallImpl() local
1150 cloneOpBundlesIf(CInst, OpBundles, [](const OperandBundleUse &B) { in OptimizeIndividualCallImpl()
1153 addOpBundleForFunclet(InsertPos->getParent(), OpBundles); in OptimizeIndividualCallImpl()
1154 CallInst *Clone = CallInst::Create(CInst, OpBundles); in OptimizeIndividualCallImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp87 SmallVector<OperandBundleDef, 1> OpBundles; in replaceWithTLIFunction() local
88 II->getOperandBundlesAsDefs(OpBundles); in replaceWithTLIFunction()
90 auto *Replacement = IRBuilder.CreateCall(TLIVecFunc, Args, OpBundles); in replaceWithTLIFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h134 ArrayRef<OperandBundleDef> OpBundles) in IRBuilderBase() argument
136 DefaultFPMathTag(FPMathTag), DefaultOperandBundles(OpBundles) { in IRBuilderBase()
362 void setDefaultOperandBundles(ArrayRef<OperandBundleDef> OpBundles) { in setDefaultOperandBundles() argument
363 DefaultOperandBundles = OpBundles; in setDefaultOperandBundles()
857 ArrayRef<OperandBundleDef> OpBundles = std::nullopt);
1166 ArrayRef<OperandBundleDef> OpBundles,
1169 InvokeInst::Create(Ty, Callee, NormalDest, UnwindDest, Args, OpBundles);
1187 ArrayRef<OperandBundleDef> OpBundles,
1190 NormalDest, UnwindDest, Args, OpBundles, Name);
1214 ArrayRef<OperandBundleDef> OpBundles,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp201 SmallVector<OperandBundleDef, 1> OpBundles; in deleteDeadVarargs() local
202 CB->getOperandBundlesAsDefs(OpBundles); in deleteDeadVarargs()
207 Args, OpBundles, "", CB->getIterator()); in deleteDeadVarargs()
209 NewCB = CallInst::Create(NF, Args, OpBundles, "", CB->getIterator()); in deleteDeadVarargs()
939 SmallVector<OperandBundleDef, 1> OpBundles; in removeDeadStuffFromFunction() local
940 CB.getOperandBundlesAsDefs(OpBundles); in removeDeadStuffFromFunction()
945 Args, OpBundles, "", CB.getParent()); in removeDeadStuffFromFunction()
947 NewCB = CallInst::Create(NFTy, NF, Args, OpBundles, "", CB.getIterator()); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp264 SmallVector<OperandBundleDef, 1> OpBundles; in doPromotion() local
265 CB.getOperandBundlesAsDefs(OpBundles); in doPromotion()
270 Args, OpBundles, "", CB.getIterator()); in doPromotion()
273 CallInst::Create(NF, Args, OpBundles, "", CB.getIterator()); in doPromotion()
H A DExpandVariadics.cpp803 SmallVector<OperandBundleDef, 1> OpBundles; in expandCall() local
804 CB->getOperandBundlesAsDefs(OpBundles); in expandCall()
812 NewCB = CallInst::Create(NFTy, Dst, Args, OpBundles, "", CI); in expandCall()
H A DGlobalOpt.cpp1856 SmallVector<OperandBundleDef, 1> OpBundles; in RemovePreallocated() local
1857 CB->getOperandBundlesAsDefs(OpBundles); in RemovePreallocated()
1859 for (auto *It = OpBundles.begin(); It != OpBundles.end(); ++It) { in RemovePreallocated()
1862 OpBundles.erase(It); in RemovePreallocated()
1872 CallBase *NewCB = CallBase::Create(CB, OpBundles, CB->getIterator()); in RemovePreallocated()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp460 SmallVector<OperandBundleDef, 1> OpBundles; in rewriteSetJmpCall()
461 Call.getOperandBundlesAsDefs(OpBundles); in rewriteSetJmpCall()
485 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCall()
491 SetJmp3, II->getNormalDest(), II->getUnwindDest(), Args, OpBundles); in rewriteSetJmpCall()
463 SmallVector<OperandBundleDef, 1> OpBundles; rewriteSetJmpCall() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp843 SmallVectorImpl<OperandBundleDef> &OpBundles) { in populateEHOperandBundle() argument
854 OpBundles.emplace_back(OperandBundleDef(*ParentFunclet)); in populateEHOperandBundle()
864 OpBundles.emplace_back("funclet", EHPad); in populateEHOperandBundle()
1008 SmallVector<OperandBundleDef, 1> OpBundles; in instrumentOneFunc() local
1009 populateEHOperandBundle(Cand, BlockColors, OpBundles); in instrumentOneFunc()
1014 OpBundles); in instrumentOneFunc()
H A DInstrProfiling.cpp1062 SmallVector<OperandBundleDef, 1> OpBundles; in lowerValueProfileInst() local
1063 Ind->getOperandBundlesAsDefs(OpBundles); in lowerValueProfileInst()
1067 OpBundles); in lowerValueProfileInst()
1072 Args, OpBundles); in lowerValueProfileInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2988 SmallVector<OperandBundleDef, 4> OpBundles; in visitCallInst() local
2989 II->getOperandBundlesAsDefs(OpBundles); in visitCallInst()
3015 Builder.CreateCall(AssumeIntrinsicTy, AssumeIntrinsic, A, OpBundles, in visitCallInst()
3023 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst()
4291 SmallVector<OperandBundleDef, 1> OpBundles; in transformConstExprCastCall() local
4292 Call.getOperandBundlesAsDefs(OpBundles); in transformConstExprCastCall()
4297 II->getUnwindDest(), Args, OpBundles); in transformConstExprCastCall()
4299 NewCall = Builder.CreateCall(Callee, Args, OpBundles); in transformConstExprCastCall()
4449 SmallVector<OperandBundleDef, 1> OpBundles; in transformCallThroughTrampoline() local
4450 Call.getOperandBundlesAsDefs(OpBundles); in transformCallThroughTrampoline()
[all …]
H A DInstCombineCasts.cpp1873 SmallVector<OperandBundleDef, 1> OpBundles; in visitFPTrunc() local
1874 II->getOperandBundlesAsDefs(OpBundles); in visitFPTrunc()
1876 CallInst::Create(Overload, {InnerTrunc}, OpBundles, II->getName()); in visitFPTrunc()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp82 ArrayRef<OperandBundleDef> OpBundles) { in createCallHelper() argument
83 CallInst *CI = CreateCall(Callee, Ops, OpBundles, Name); in createCallHelper()
553 ArrayRef<OperandBundleDef> OpBundles) { in CreateAssumption() argument
560 return CreateCall(FnAssume, Ops, OpBundles); in CreateAssumption()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp1436 SmallVector<OperandBundleDef, 1> OpBundles; in cloneInstructionInExitBlock() local
1443 OpBundles.emplace_back(Bundle); in cloneInstructionInExitBlock()
1452 OpBundles.emplace_back("funclet", EHPad); in cloneInstructionInExitBlock()
1455 New = CallInst::Create(CI, OpBundles); in cloneInstructionInExitBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp918 SmallVector<OperandBundleDef, 1> OpBundles; in execute() local
920 CI->getOperandBundlesAsDefs(OpBundles); in execute()
922 CallInst *V = State.Builder.CreateCall(VectorF, Args, OpBundles); in execute()
H A DSLPVectorizer.cpp13529 SmallVector<OperandBundleDef, 1> OpBundles; in vectorizeTree() local
13530 CI->getOperandBundlesAsDefs(OpBundles); in vectorizeTree()
13531 Value *V = Builder.CreateCall(CF, OpVecs, OpBundles); in vectorizeTree()