/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 52 SmallVector<OperandBundleDef, 1> OpBundles; in runImpl() local 53 II->getOperandBundlesAsDefs(OpBundles); in runImpl() 56 CallInst::Create(II->getCalledValue(), CallArgs, OpBundles, "", II); in runImpl()
|
D | InlineFunction.cpp | 2009 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local 2026 CS.getOperandBundlesAsDefs(OpBundles); in InlineFunction() 2027 OpBundles.emplace_back("funclet", CallSiteEHPad); in InlineFunction() 2031 NewInst = CallInst::Create(cast<CallInst>(I), OpBundles, I); in InlineFunction() 2033 NewInst = InvokeInst::Create(cast<InvokeInst>(I), OpBundles, I); in InlineFunction() 2038 OpBundles.clear(); in InlineFunction() 2101 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local 2102 DeoptCall->getOperandBundlesAsDefs(OpBundles); in InlineFunction() 2104 assert(!OpBundles.empty() && in InlineFunction() 2109 Builder.CreateCall(NewDeoptIntrinsic, CallArgs, OpBundles); in InlineFunction()
|
D | Local.cpp | 1945 SmallVector<OperandBundleDef, 1> OpBundles; in changeToCall() local 1946 II->getOperandBundlesAsDefs(OpBundles); in changeToCall() 1947 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, OpBundles, in changeToCall() 1982 SmallVector<OperandBundleDef, 1> OpBundles; in changeToInvokeAndSplitBasicBlock() local 1984 CI->getOperandBundlesAsDefs(OpBundles); in changeToInvokeAndSplitBasicBlock() 1991 InvokeArgs, OpBundles, CI->getName(), BB); in changeToInvokeAndSplitBasicBlock()
|
D | SimplifyLibCalls.cpp | 2383 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local 2384 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall() 2385 IRBuilder<> Builder(CI, /*FPMathTag=*/nullptr, OpBundles); in optimizeCall() 2681 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local 2682 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall() 2683 IRBuilder<> Builder(CI, /*FPMathTag=*/nullptr, OpBundles); in optimizeCall()
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 180 SmallVector<OperandBundleDef, 1> OpBundles; in DeleteDeadVarargs() local 181 CS.getOperandBundlesAsDefs(OpBundles); in DeleteDeadVarargs() 186 Args, OpBundles, "", Call); in DeleteDeadVarargs() 190 New = CallInst::Create(NF, Args, OpBundles, "", Call); in DeleteDeadVarargs() 886 SmallVector<OperandBundleDef, 1> OpBundles; in RemoveDeadStuffFromFunction() local 887 CS.getOperandBundlesAsDefs(OpBundles); in RemoveDeadStuffFromFunction() 892 Args, OpBundles, "", Call->getParent()); in RemoveDeadStuffFromFunction() 896 New = CallInst::Create(NF, Args, OpBundles, "", Call); in RemoveDeadStuffFromFunction()
|
D | ArgumentPromotion.cpp | 874 SmallVector<OperandBundleDef, 1> OpBundles; in DoPromotion() local 875 CS.getOperandBundlesAsDefs(OpBundles); in DoPromotion() 880 Args, OpBundles, "", Call); in DoPromotion() 885 New = CallInst::Create(NF, Args, OpBundles, "", Call); in DoPromotion()
|
D | GlobalOpt.cpp | 1247 SmallVector<OperandBundleDef, 1> OpBundles; in PerformHeapAllocSRoA() local 1248 CI->getOperandBundlesAsDefs(OpBundles); in PerformHeapAllocSRoA() 1268 NElems, OpBundles, nullptr, in PerformHeapAllocSRoA() 1327 CallInst::CreateFree(GVVal, OpBundles, BI); in PerformHeapAllocSRoA() 1493 SmallVector<OperandBundleDef, 1> OpBundles; in tryToOptimizeStoreOfMallocToGlobal() local 1494 CI->getOperandBundlesAsDefs(OpBundles); in tryToOptimizeStoreOfMallocToGlobal() 1497 OpBundles, nullptr, CI->getName()); in tryToOptimizeStoreOfMallocToGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 197 SmallVector<OperandBundleDef, 1> OpBundles; in DeleteDeadVarargs() local 198 CS.getOperandBundlesAsDefs(OpBundles); in DeleteDeadVarargs() 203 Args, OpBundles, "", Call); in DeleteDeadVarargs() 205 NewCS = CallInst::Create(NF, Args, OpBundles, "", Call); in DeleteDeadVarargs() 930 SmallVector<OperandBundleDef, 1> OpBundles; in RemoveDeadStuffFromFunction() local 931 CS.getOperandBundlesAsDefs(OpBundles); in RemoveDeadStuffFromFunction() 936 Args, OpBundles, "", Call->getParent()); in RemoveDeadStuffFromFunction() 938 NewCS = CallInst::Create(NF, Args, OpBundles, "", Call); in RemoveDeadStuffFromFunction()
|
D | ArgumentPromotion.cpp | 319 SmallVector<OperandBundleDef, 1> OpBundles; in doPromotion() local 320 CS.getOperandBundlesAsDefs(OpBundles); in doPromotion() 325 Args, OpBundles, "", Call); in doPromotion() 327 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", Call); in doPromotion()
|
D | GlobalOpt.cpp | 1291 SmallVector<OperandBundleDef, 1> OpBundles; in PerformHeapAllocSRoA() local 1292 CI->getOperandBundlesAsDefs(OpBundles); in PerformHeapAllocSRoA() 1312 NElems, OpBundles, nullptr, in PerformHeapAllocSRoA() 1371 CallInst::CreateFree(GVVal, OpBundles, BI); in PerformHeapAllocSRoA() 1537 SmallVector<OperandBundleDef, 1> OpBundles; in tryToOptimizeStoreOfMallocToGlobal() local 1538 CI->getOperandBundlesAsDefs(OpBundles); in tryToOptimizeStoreOfMallocToGlobal() 1541 OpBundles, nullptr, CI->getName()); in tryToOptimizeStoreOfMallocToGlobal()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 86 ArrayRef<OperandBundleDef> OpBundles = None) 88 DefaultOperandBundles(OpBundles) { in Context() 572 ArrayRef<OperandBundleDef> OpBundles = None) 573 : IRBuilderBase(C, FPMathTag, OpBundles), Inserter(std::move(I)), in IRBuilderBase() argument 577 ArrayRef<OperandBundleDef> OpBundles = None) 578 : IRBuilderBase(C, FPMathTag, OpBundles), Folder() {} in IRBuilderBase() argument 581 ArrayRef<OperandBundleDef> OpBundles = None) 582 : IRBuilderBase(TheBB->getContext(), FPMathTag, OpBundles), Folder(F) { 587 ArrayRef<OperandBundleDef> OpBundles = None) 588 : IRBuilderBase(TheBB->getContext(), FPMathTag, OpBundles), Folder() { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 104 ArrayRef<OperandBundleDef> OpBundles = None) 106 DefaultOperandBundles(OpBundles) { in Context() 737 ArrayRef<OperandBundleDef> OpBundles = None) 738 : IRBuilderBase(C, FPMathTag, OpBundles), Inserter(std::move(I)), in IRBuilderBase() argument 742 ArrayRef<OperandBundleDef> OpBundles = None) 743 : IRBuilderBase(C, FPMathTag, OpBundles) {} in IRBuilderBase() argument 746 ArrayRef<OperandBundleDef> OpBundles = None) 747 : IRBuilderBase(TheBB->getContext(), FPMathTag, OpBundles), Folder(F) { 752 ArrayRef<OperandBundleDef> OpBundles = None) 753 : IRBuilderBase(TheBB->getContext(), FPMathTag, OpBundles) { [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 476 SmallVector<OperandBundleDef, 1> OpBundles; in HandleCallsInBlockInlinedThroughInvoke() local 478 CI->getOperandBundlesAsDefs(OpBundles); in HandleCallsInBlockInlinedThroughInvoke() 486 OpBundles, CI->getName(), BB); in HandleCallsInBlockInlinedThroughInvoke() 1795 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local 1812 CS.getOperandBundlesAsDefs(OpBundles); in InlineFunction() 1813 OpBundles.emplace_back("funclet", CallSiteEHPad); in InlineFunction() 1817 NewInst = CallInst::Create(cast<CallInst>(I), OpBundles, I); in InlineFunction() 1819 NewInst = InvokeInst::Create(cast<InvokeInst>(I), OpBundles, I); in InlineFunction() 1824 OpBundles.clear(); in InlineFunction() 1887 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local [all …]
|
D | SimplifyLibCalls.cpp | 1958 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local 1959 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall() 1960 IRBuilder<> Builder(CI, /*FPMathTag=*/nullptr, OpBundles); in optimizeCall() 2314 SmallVector<OperandBundleDef, 2> OpBundles; in optimizeCall() local 2315 CI->getOperandBundlesAsDefs(OpBundles); in optimizeCall() 2316 IRBuilder<> Builder(CI, /*FPMathTag=*/nullptr, OpBundles); in optimizeCall()
|
D | Local.cpp | 1345 SmallVector<OperandBundleDef, 1> OpBundles; in changeToCall() local 1346 II->getOperandBundlesAsDefs(OpBundles); in changeToCall() 1347 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, OpBundles, in changeToCall()
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 466 SmallVector<OperandBundleDef, 1> OpBundles; in rewriteSetJmpCallSite() local 467 CS.getOperandBundlesAsDefs(OpBundles); in rewriteSetJmpCallSite() 492 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCallSite() 498 SetJmp3, II->getNormalDest(), II->getUnwindDest(), Args, OpBundles); in rewriteSetJmpCallSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 474 SmallVector<OperandBundleDef, 1> OpBundles; in rewriteSetJmpCallSite() local 475 CS.getOperandBundlesAsDefs(OpBundles); in rewriteSetJmpCallSite() 500 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCallSite() 506 SetJmp3, II->getNormalDest(), II->getUnwindDest(), Args, OpBundles); in rewriteSetJmpCallSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 320 SmallVector<OperandBundleDef, 1> OpBundles; in createCallInst() local 326 OpBundles.emplace_back("funclet", EHPad); in createCallInst() 329 return CallInst::Create(Func, Args, OpBundles, NameStr, InsertBefore); in createCallInst()
|
D | ObjCARCOpts.cpp | 695 SmallVector<OperandBundleDef, 1> OpBundles; in CloneCallInstForBB() local 701 OpBundles.emplace_back(Bundle); in CloneCallInstForBB() 709 OpBundles.emplace_back("funclet", EHPad); in CloneCallInstForBB() 712 return CallInst::Create(&CI, OpBundles); in CloneCallInstForBB()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 595 SmallVector<OperandBundleDef, 1> OpBundles; in CloneInstructionInExitBlock() local 602 OpBundles.emplace_back(Bundle); in CloneInstructionInExitBlock() 611 OpBundles.emplace_back("funclet", EHPad); in CloneInstructionInExitBlock() 614 New = CallInst::Create(CI, OpBundles); in CloneInstructionInExitBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 773 SmallVector<OperandBundleDef, 1> OpBundles; in CloneInstructionInExitBlock() local 780 OpBundles.emplace_back(Bundle); in CloneInstructionInExitBlock() 789 OpBundles.emplace_back("funclet", EHPad); in CloneInstructionInExitBlock() 792 New = CallInst::Create(CI, OpBundles); in CloneInstructionInExitBlock()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 2831 SmallVector<OperandBundleDef, 1> OpBundles; in transformConstExprCastCall() local 2832 CS.getOperandBundlesAsDefs(OpBundles); in transformConstExprCastCall() 2837 Args, OpBundles); in transformConstExprCastCall() 2843 NC = Builder->CreateCall(Callee, Args, OpBundles); in transformConstExprCastCall() 3018 SmallVector<OperandBundleDef, 1> OpBundles; in transformCallThroughTrampoline() local 3019 CS.getOperandBundlesAsDefs(OpBundles); in transformCallThroughTrampoline() 3025 NewArgs, OpBundles); in transformCallThroughTrampoline() 3029 NewCaller = CallInst::Create(NewCallee, NewArgs, OpBundles); in transformCallThroughTrampoline()
|
D | InstCombineCasts.cpp | 1403 SmallVector<OperandBundleDef, 1> OpBundles; in visitFPTrunc() local 1404 II->getOperandBundlesAsDefs(OpBundles); in visitFPTrunc() 1407 return CallInst::Create(Overload, Args, OpBundles, II->getName()); in visitFPTrunc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 4322 SmallVector<OperandBundleDef, 1> OpBundles; in transformConstExprCastCall() local 4323 CS.getOperandBundlesAsDefs(OpBundles); in transformConstExprCastCall() 4328 II->getUnwindDest(), Args, OpBundles); in transformConstExprCastCall() 4330 NewCS = Builder.CreateCall(Callee, Args, OpBundles); in transformConstExprCastCall() 4499 SmallVector<OperandBundleDef, 1> OpBundles; in transformCallThroughTrampoline() local 4500 CS.getOperandBundlesAsDefs(OpBundles); in transformCallThroughTrampoline() 4506 NewArgs, OpBundles); in transformCallThroughTrampoline() 4510 NewCaller = CallInst::Create(NewCallee, NewArgs, OpBundles); in transformCallThroughTrampoline()
|
D | InstCombineCasts.cpp | 1626 SmallVector<OperandBundleDef, 1> OpBundles; in visitFPTrunc() local 1627 II->getOperandBundlesAsDefs(OpBundles); in visitFPTrunc() 1628 CallInst *NewCI = CallInst::Create(Overload, { InnerTrunc }, OpBundles, in visitFPTrunc()
|