/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 52 SmallVector<OperandBundleDef, 1> OpBundles; in runImpl() local 53 II->getOperandBundlesAsDefs(OpBundles); in runImpl() 57 CallArgs, OpBundles, "", II); in runImpl()
|
D | InlineFunction.cpp | 2078 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local 2095 CS.getOperandBundlesAsDefs(OpBundles); in InlineFunction() 2096 OpBundles.emplace_back("funclet", CallSiteEHPad); in InlineFunction() 2100 NewInst = CallInst::Create(cast<CallInst>(I), OpBundles, I); in InlineFunction() 2102 NewInst = CallBrInst::Create(cast<CallBrInst>(I), OpBundles, I); in InlineFunction() 2104 NewInst = InvokeInst::Create(cast<InvokeInst>(I), OpBundles, I); in InlineFunction() 2109 OpBundles.clear(); in InlineFunction() 2172 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local 2173 DeoptCall->getOperandBundlesAsDefs(OpBundles); in InlineFunction() 2175 assert(!OpBundles.empty() && in InlineFunction() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 52 SmallVector<OperandBundleDef, 1> OpBundles; in runImpl() local 53 II->getOperandBundlesAsDefs(OpBundles); in runImpl() 57 CallArgs, OpBundles, "", II); in runImpl()
|
D | InlineFunction.cpp | 2140 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local 2156 I->getOperandBundlesAsDefs(OpBundles); in InlineFunction() 2157 OpBundles.emplace_back("funclet", CallSiteEHPad); in InlineFunction() 2159 Instruction *NewInst = CallBase::Create(I, OpBundles, I); in InlineFunction() 2164 OpBundles.clear(); in InlineFunction() 2227 SmallVector<OperandBundleDef, 1> OpBundles; in InlineFunction() local 2228 DeoptCall->getOperandBundlesAsDefs(OpBundles); in InlineFunction() 2230 assert(!OpBundles.empty() && in InlineFunction() 2235 Builder.CreateCall(NewDeoptIntrinsic, CallArgs, OpBundles); in InlineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 196 SmallVector<OperandBundleDef, 1> OpBundles; in DeleteDeadVarargs() local 197 CS.getOperandBundlesAsDefs(OpBundles); in DeleteDeadVarargs() 202 Args, OpBundles, "", Call); in DeleteDeadVarargs() 204 NewCS = CallInst::Create(NF, Args, OpBundles, "", Call); in DeleteDeadVarargs() 934 SmallVector<OperandBundleDef, 1> OpBundles; in RemoveDeadStuffFromFunction() local 935 CS.getOperandBundlesAsDefs(OpBundles); in RemoveDeadStuffFromFunction() 940 Args, OpBundles, "", Call->getParent()); in RemoveDeadStuffFromFunction() 942 NewCS = CallInst::Create(NFTy, NF, Args, OpBundles, "", Call); in RemoveDeadStuffFromFunction()
|
D | ArgumentPromotion.cpp | 325 SmallVector<OperandBundleDef, 1> OpBundles; in doPromotion() local 326 CS.getOperandBundlesAsDefs(OpBundles); in doPromotion() 331 Args, OpBundles, "", Call); in doPromotion() 333 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", Call); in doPromotion()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 196 SmallVector<OperandBundleDef, 1> OpBundles; in DeleteDeadVarargs() local 197 CB->getOperandBundlesAsDefs(OpBundles); in DeleteDeadVarargs() 202 Args, OpBundles, "", CB); in DeleteDeadVarargs() 204 NewCB = CallInst::Create(NF, Args, OpBundles, "", CB); in DeleteDeadVarargs() 935 SmallVector<OperandBundleDef, 1> OpBundles; in RemoveDeadStuffFromFunction() local 936 CB.getOperandBundlesAsDefs(OpBundles); in RemoveDeadStuffFromFunction() 941 Args, OpBundles, "", CB.getParent()); in RemoveDeadStuffFromFunction() 943 NewCB = CallInst::Create(NFTy, NF, Args, OpBundles, "", &CB); in RemoveDeadStuffFromFunction()
|
D | GlobalOpt.cpp | 1324 SmallVector<OperandBundleDef, 1> OpBundles; in PerformHeapAllocSRoA() local 1325 CI->getOperandBundlesAsDefs(OpBundles); in PerformHeapAllocSRoA() 1345 NElems, OpBundles, nullptr, in PerformHeapAllocSRoA() 1406 CallInst::CreateFree(GVVal, OpBundles, BI); in PerformHeapAllocSRoA() 1572 SmallVector<OperandBundleDef, 1> OpBundles; in tryToOptimizeStoreOfMallocToGlobal() local 1573 CI->getOperandBundlesAsDefs(OpBundles); in tryToOptimizeStoreOfMallocToGlobal() 1576 OpBundles, nullptr, CI->getName()); in tryToOptimizeStoreOfMallocToGlobal() 2314 SmallVector<OperandBundleDef, 1> OpBundles; in RemovePreallocated() local 2315 CB->getOperandBundlesAsDefs(OpBundles); in RemovePreallocated() 2317 for (auto *It = OpBundles.begin(); It != OpBundles.end(); ++It) { in RemovePreallocated() [all …]
|
D | ArgumentPromotion.cpp | 322 SmallVector<OperandBundleDef, 1> OpBundles; in doPromotion() local 323 CB.getOperandBundlesAsDefs(OpBundles); in doPromotion() 328 Args, OpBundles, "", &CB); in doPromotion() 330 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", &CB); in doPromotion()
|
/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/llvm-project/llvm/include/llvm/IR/ |
D | IRBuilder.h | 115 MDNode *FPMathTag, ArrayRef<OperandBundleDef> OpBundles) in IRBuilderBase() argument 120 DefaultOperandBundles(OpBundles) { in IRBuilderBase() 308 void setDefaultOperandBundles(ArrayRef<OperandBundleDef> OpBundles) { in setDefaultOperandBundles() argument 309 DefaultOperandBundles = OpBundles; in setDefaultOperandBundles() 810 ArrayRef<OperandBundleDef> OpBundles = llvm::None); 1024 ArrayRef<OperandBundleDef> OpBundles, 1027 InvokeInst::Create(Ty, Callee, NormalDest, UnwindDest, Args, OpBundles), 1040 ArrayRef<OperandBundleDef> OpBundles, 1043 NormalDest, UnwindDest, Args, OpBundles, Name); 1067 ArrayRef<OperandBundleDef> OpBundles, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 107 ArrayRef<OperandBundleDef> OpBundles = None) 111 DefaultOperandBundles(OpBundles) { in Context() 872 ArrayRef<OperandBundleDef> OpBundles = None) 873 : IRBuilderBase(C, FPMathTag, OpBundles), Inserter(std::move(I)), in IRBuilderBase() argument 877 ArrayRef<OperandBundleDef> OpBundles = None) 878 : IRBuilderBase(C, FPMathTag, OpBundles) {} in IRBuilderBase() argument 881 ArrayRef<OperandBundleDef> OpBundles = None) 882 : IRBuilderBase(TheBB->getContext(), FPMathTag, OpBundles), Folder(F) { 887 ArrayRef<OperandBundleDef> OpBundles = None) 888 : IRBuilderBase(TheBB->getContext(), FPMathTag, OpBundles) { [all …]
|
/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/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 …]
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1463 SmallVector<OperandBundleDef, 4> OpBundles; in visitCallInst() local 1464 II->getOperandBundlesAsDefs(OpBundles); in visitCallInst() 1465 bool HasOpBundles = !OpBundles.empty(); in visitCallInst() 1482 Builder.CreateCall(AssumeIntrinsicTy, AssumeIntrinsic, A, OpBundles, in visitCallInst() 1490 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst() 2347 SmallVector<OperandBundleDef, 1> OpBundles; in transformConstExprCastCall() local 2348 Call.getOperandBundlesAsDefs(OpBundles); in transformConstExprCastCall() 2353 II->getUnwindDest(), Args, OpBundles); in transformConstExprCastCall() 2356 CBI->getIndirectDests(), Args, OpBundles); in transformConstExprCastCall() 2358 NewCall = Builder.CreateCall(Callee, Args, OpBundles); in transformConstExprCastCall() [all …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 464 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()
|
/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-10.0/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/llvm-project/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 313 SmallVector<OperandBundleDef, 1> OpBundles; in createCallInst() local 319 OpBundles.emplace_back("funclet", EHPad); in createCallInst() 322 return CallInst::Create(FTy, Func, Args, OpBundles, NameStr, InsertBefore); in createCallInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 325 SmallVector<OperandBundleDef, 1> OpBundles; in createCallInst() local 331 OpBundles.emplace_back("funclet", EHPad); in createCallInst() 334 return CallInst::Create(FTy, Func, Args, OpBundles, NameStr, InsertBefore); in createCallInst()
|
/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/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 650 SmallVector<OperandBundleDef, 1> OpBundles; in lowerValueProfileInst() local 651 Ind->getOperandBundlesAsDefs(OpBundles); in lowerValueProfileInst() 657 OpBundles); in lowerValueProfileInst() 664 Args, OpBundles); in lowerValueProfileInst()
|
D | PGOInstrumentation.cpp | 842 SmallVectorImpl<OperandBundleDef> &OpBundles) { in populateEHOperandBundle() argument 850 OpBundles.emplace_back(OperandBundleDef(*ParentFunclet)); in populateEHOperandBundle() 860 OpBundles.emplace_back("funclet", EHPad); in populateEHOperandBundle() 936 SmallVector<OperandBundleDef, 1> OpBundles; in instrumentOneFunc() local 937 populateEHOperandBundle(Cand, BlockColors, OpBundles); in instrumentOneFunc() 943 OpBundles); in instrumentOneFunc()
|