Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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); in runImpl()
H A DInlineFunction.cpp976 SmallVector<OperandBundleDef, 1> OpBundles; in PropagateOperandBundles() local
977 I->getOperandBundlesAsDefs(OpBundles); in PropagateOperandBundles()
978 OpBundles.emplace_back("funclet", CallSiteEHPad); in PropagateOperandBundles()
980 Instruction *NewInst = CallBase::Create(I, OpBundles, I); in PropagateOperandBundles()
2638 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local
2639 DeoptCall->getOperandBundlesAsDefs(OpBundles); in InlineFunction()
2642 assert(!OpBundles.empty() && in InlineFunction()
2647 Builder.CreateCall(NewDeoptIntrinsic, CallArgs, OpBundles); in InlineFunction()
H A DLocal.cpp2270 SmallVector<OperandBundleDef, 1> OpBundles; in createCallMatchingInvoke() local
2271 II->getOperandBundlesAsDefs(OpBundles); in createCallMatchingInvoke()
2273 II->getCalledOperand(), Args, OpBundles); in createCallMatchingInvoke()
2329 SmallVector<OperandBundleDef, 1> OpBundles; in changeToInvokeAndSplitBasicBlock() local
2331 CI->getOperandBundlesAsDefs(OpBundles); in changeToInvokeAndSplitBasicBlock()
2339 UnwindEdge, InvokeArgs, OpBundles, CI->getName(), BB); in changeToInvokeAndSplitBasicBlock()
H A DSimplifyLibCalls.cpp3569 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local
3570 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall()
3573 Builder.setDefaultOperandBundles(OpBundles); in optimizeCall()
4023 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local
4024 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall()
4027 Builder.setDefaultOperandBundles(OpBundles); in optimizeCall()
/openbsd/gnu/llvm/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()
1145 SmallVector<OperandBundleDef, 1> OpBundles; in OptimizeIndividualCallImpl() local
1146 cloneOpBundlesIf(CInst, OpBundles, [](const OperandBundleUse &B) { in OptimizeIndividualCallImpl()
1149 addOpBundleForFunclet(InsertPos->getParent(), OpBundles); in OptimizeIndividualCallImpl()
1150 CallInst *Clone = CallInst::Create(CInst, OpBundles); in OptimizeIndividualCallImpl()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp74 SmallVector<OperandBundleDef, 1> OpBundles; in replaceWithTLIFunction() local
75 CI.getOperandBundlesAsDefs(OpBundles); in replaceWithTLIFunction()
76 CallInst *Replacement = IRBuilder.CreateCall(TLIFunc, Args, OpBundles); in replaceWithTLIFunction()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DIRBuilder.h137 ArrayRef<OperandBundleDef> OpBundles) in IRBuilderBase() argument
352 DefaultOperandBundles = OpBundles; in setDefaultOperandBundles()
1128 OpBundles), Name);
2305 ArrayRef<OperandBundleDef> OpBundles,
2323 ArrayRef<OperandBundleDef> OpBundles,
2326 OpBundles, Name, FPMathTag);
2570 FPMathTag, OpBundles),
2578 FPMathTag, OpBundles) {
2585 OpBundles) {
2593 FPMathTag, OpBundles),
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp194 SmallVector<OperandBundleDef, 1> OpBundles; in deleteDeadVarargs() local
195 CB->getOperandBundlesAsDefs(OpBundles); in deleteDeadVarargs()
200 Args, OpBundles, "", CB); in deleteDeadVarargs()
202 NewCB = CallInst::Create(NF, Args, OpBundles, "", CB); in deleteDeadVarargs()
925 SmallVector<OperandBundleDef, 1> OpBundles; in removeDeadStuffFromFunction() local
926 CB.getOperandBundlesAsDefs(OpBundles); in removeDeadStuffFromFunction()
931 Args, OpBundles, "", CB.getParent()); in removeDeadStuffFromFunction()
933 NewCB = CallInst::Create(NFTy, NF, Args, OpBundles, "", &CB); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp267 SmallVector<OperandBundleDef, 1> OpBundles; in doPromotion() local
268 CB.getOperandBundlesAsDefs(OpBundles); in doPromotion()
273 Args, OpBundles, "", &CB); in doPromotion()
275 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", &CB); in doPromotion()
H A DGlobalOpt.cpp1885 SmallVector<OperandBundleDef, 1> OpBundles; in RemovePreallocated() local
1886 CB->getOperandBundlesAsDefs(OpBundles); in RemovePreallocated()
1888 for (auto *It = OpBundles.begin(); It != OpBundles.end(); ++It) { in RemovePreallocated()
1891 OpBundles.erase(It); in RemovePreallocated()
1901 CallBase *NewCB = CallBase::Create(CB, OpBundles, CB); in RemovePreallocated()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86WinEHState.cpp464 SmallVector<OperandBundleDef, 1> OpBundles; in rewriteSetJmpCall() local
465 Call.getOperandBundlesAsDefs(OpBundles); in rewriteSetJmpCall()
489 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCall()
495 SetJmp3, II->getNormalDest(), II->getUnwindDest(), Args, OpBundles); in rewriteSetJmpCall()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2332 SmallVector<OperandBundleDef, 4> OpBundles; in visitCallInst() local
2333 II->getOperandBundlesAsDefs(OpBundles); in visitCallInst()
2359 Builder.CreateCall(AssumeIntrinsicTy, AssumeIntrinsic, A, OpBundles, in visitCallInst()
2367 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst()
3622 SmallVector<OperandBundleDef, 1> OpBundles; in transformConstExprCastCall() local
3623 Call.getOperandBundlesAsDefs(OpBundles); in transformConstExprCastCall()
3628 II->getUnwindDest(), Args, OpBundles); in transformConstExprCastCall()
3633 NewCall = Builder.CreateCall(Callee, Args, OpBundles); in transformConstExprCastCall()
3789 SmallVector<OperandBundleDef, 1> OpBundles; in transformCallThroughTrampoline() local
3790 Call.getOperandBundlesAsDefs(OpBundles); in transformCallThroughTrampoline()
[all …]
H A DInstCombineCasts.cpp1930 SmallVector<OperandBundleDef, 1> OpBundles; in visitFPTrunc() local
1931 II->getOperandBundlesAsDefs(OpBundles); in visitFPTrunc()
1933 CallInst::Create(Overload, {InnerTrunc}, OpBundles, II->getName()); in visitFPTrunc()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp646 SmallVector<OperandBundleDef, 1> OpBundles; in lowerValueProfileInst() local
647 Ind->getOperandBundlesAsDefs(OpBundles); in lowerValueProfileInst()
653 OpBundles); in lowerValueProfileInst()
660 Args, OpBundles); in lowerValueProfileInst()
H A DPGOInstrumentation.cpp822 SmallVectorImpl<OperandBundleDef> &OpBundles) { in populateEHOperandBundle() argument
833 OpBundles.emplace_back(OperandBundleDef(*ParentFunclet)); in populateEHOperandBundle()
843 OpBundles.emplace_back("funclet", EHPad); in populateEHOperandBundle()
934 SmallVector<OperandBundleDef, 1> OpBundles; in instrumentOneFunc() local
935 populateEHOperandBundle(Cand, BlockColors, OpBundles); in instrumentOneFunc()
941 OpBundles); in instrumentOneFunc()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp486 SmallVector<OperandBundleDef, 1> OpBundles; in execute() local
487 CI.getOperandBundlesAsDefs(OpBundles); in execute()
488 CallInst *V = State.Builder.CreateCall(VectorF, Args, OpBundles); in execute()
H A DSLPVectorizer.cpp9705 SmallVector<OperandBundleDef, 1> OpBundles; in vectorizeTree() local
9706 CI->getOperandBundlesAsDefs(OpBundles); in vectorizeTree()
9707 Value *V = Builder.CreateCall(CF, OpVecs, OpBundles); in vectorizeTree()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DIRBuilder.cpp90 ArrayRef<OperandBundleDef> OpBundles) { in createCallHelper() argument
91 CallInst *CI = CreateCall(Callee, Ops, OpBundles, Name); in createCallHelper()
562 ArrayRef<OperandBundleDef> OpBundles) { in CreateAssumption() argument
569 return CreateCall(FnAssume, Ops, OpBundles); in CreateAssumption()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLICM.cpp1413 SmallVector<OperandBundleDef, 1> OpBundles; in cloneInstructionInExitBlock() local
1420 OpBundles.emplace_back(Bundle); in cloneInstructionInExitBlock()
1429 OpBundles.emplace_back("funclet", EHPad); in cloneInstructionInExitBlock()
1432 New = CallInst::Create(CI, OpBundles); in cloneInstructionInExitBlock()