/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyLibCalls.h | 24 class CallInst; variable 53 Value *optimizeCall(CallInst *CI); 56 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B); 57 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B); 58 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B); 61 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func); 62 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func); 63 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilder<> &B); 64 Value *optimizeSNPrintfChk(CallInst *CI, IRBuilder<> &B); 65 Value *optimizeSPrintfChk(CallInst *CI,IRBuilder<> &B); [all …]
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyLibCalls.h | 23 class CallInst; variable 51 Value *optimizeCall(CallInst *CI, IRBuilderBase &B); 54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B); 55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B); 56 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B); 59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 61 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B); 62 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B); 63 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B); [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyLibCalls.h | 25 class CallInst; variable 51 Value *optimizeCall(CallInst *CI); 54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B); 55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B); 56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B); 59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func); 60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func); 64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp, 100 Value *optimizeCall(CallInst *CI); 104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LibCallsShrinkWrap.cpp | 78 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() 93 bool perform(CallInst *CI); 94 void checkCandidate(CallInst &CI); 95 void shrinkWrapCI(CallInst *CI, Value *Cond); 96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func); 97 bool performCallErrors(CallInst *CI, const LibFunc &Func); 98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func); 99 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func); 100 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func); 101 Value *generateCondForPow(CallInst *CI, const LibFunc &Func); [all …]
|
D | SimplifyLibCalls.cpp | 60 static bool isCallingConvCCompatible(CallInst *CI) { in isCallingConvCCompatible() 104 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() 110 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() 116 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) { in convertStrToNumber() 141 static bool isLocallyOpenedFile(Value *File, CallInst *CI, IRBuilder<> &B, in isLocallyOpenedFile() 143 CallInst *FOpen = dyn_cast<CallInst>(File); in isLocallyOpenedFile() 175 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp() 190 static void annotateDereferenceableBytes(CallInst *CI, in annotateDereferenceableBytes() 217 static void annotateNonNullBasedOnAccess(CallInst *CI, in annotateNonNullBasedOnAccess() 235 static void annotateNonNullAndDereferenceable(CallInst *CI, ArrayRef<unsigned> ArgNos, in annotateNonNullAndDereferenceable() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LibCallsShrinkWrap.cpp | 78 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() 93 bool perform(CallInst *CI); 94 void checkCandidate(CallInst &CI); 95 void shrinkWrapCI(CallInst *CI, Value *Cond); 96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func); 97 bool performCallErrors(CallInst *CI, const LibFunc &Func); 98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func); 99 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func); 100 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func); 101 Value *generateCondForPow(CallInst *CI, const LibFunc &Func); [all …]
|
D | SimplifyLibCalls.cpp | 59 static bool isCallingConvCCompatible(CallInst *CI) { in isCallingConvCCompatible() 103 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() 109 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() 115 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) { in convertStrToNumber() 152 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp() 166 static void annotateDereferenceableBytes(CallInst *CI, in annotateDereferenceableBytes() 193 static void annotateNonNullBasedOnAccess(CallInst *CI, in annotateNonNullBasedOnAccess() 211 static void annotateNonNullAndDereferenceable(CallInst *CI, ArrayRef<unsigned> ArgNos, in annotateNonNullAndDereferenceable() 231 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilderBase &B) { in optimizeStrCat() 273 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilderBase &B) { in optimizeStrNCat() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryBuiltins.h | 28 class CallInst; variable 74 const CallInst *extractMallocCall(const Value *I, const TargetLibraryInfo *TLI); 75 static inline CallInst *extractMallocCall(Value *I, in extractMallocCall() 77 return const_cast<CallInst*>(extractMallocCall((const Value*)I, TLI)); in extractMallocCall() 85 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI); 92 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI); 99 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL, 109 const CallInst *extractCallocCall(const Value *I, const TargetLibraryInfo *TLI); 110 static inline CallInst *extractCallocCall(Value *I, in extractCallocCall() 112 return const_cast<CallInst*>(extractCallocCall((const Value*)I, TLI)); in extractCallocCall() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | IRBuilder.cpp | 74 static CallInst *createCallHelper(Function *Callee, ArrayRef<Value *> Ops, in createCallHelper() 78 CallInst *CI = CallInst::Create(Callee, Ops, Name); in createCallHelper() 99 CallInst *IRBuilderBase::CreateMemSet(Value *Ptr, Value *Val, Value *Size, in CreateMemSet() 109 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet() 127 CallInst *IRBuilderBase::CreateElementUnorderedAtomicMemSet( in CreateElementUnorderedAtomicMemSet() 138 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemSet() 155 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, unsigned DstAlign, Value *Src, in CreateMemCpy() 165 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, MaybeAlign DstAlign, in CreateMemCpy() 178 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy() 203 CallInst *IRBuilderBase::CreateElementUnorderedAtomicMemCpy( in CreateElementUnorderedAtomicMemCpy() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | IRBuilder.cpp | 72 static CallInst *createCallHelper(Function *Callee, ArrayRef<Value *> Ops, in createCallHelper() 77 CallInst *CI = Builder->CreateCall(Callee, Ops, OpBundles, Name); 88 CallInst *CI = createCallHelper(TheFn, {}, this, Name); in CreateVScale() 94 CallInst *IRBuilderBase::CreateMemSet(Value *Ptr, Value *Val, Value *Size, in CreateMemSet() 104 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet() 122 CallInst *IRBuilderBase::CreateElementUnorderedAtomicMemSet( in CreateElementUnorderedAtomicMemSet() 133 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemSet() 150 CallInst *IRBuilderBase::CreateMemTransferInst( in CreateMemTransferInst() 162 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemTransferInst() 187 CallInst *IRBuilderBase::CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign, in CreateMemCpyInline() [all …]
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
D | RenderScriptx86ABIFixups.cpp | 27 bool isRSAPICall(llvm::Module &module, llvm::CallInst *call_inst) { in isRSAPICall() 41 bool isRSLargeReturnCall(llvm::Module &module, llvm::CallInst *call_inst) { in isRSLargeReturnCall() 70 bool isRSAllocationTyCallSite(llvm::Module &module, llvm::CallInst *call_inst) { in isRSAllocationTyCallSite() 80 llvm::FunctionType *cloneToStructRetFnTy(llvm::CallInst *call_inst) { in cloneToStructRetFnTy() 126 std::set<llvm::CallInst *> &rs_callsites, in findRSCallSites() argument 127 bool (*predicate)(llvm::Module &, llvm::CallInst *)) { in findRSCallSites() 133 llvm::CallInst *call_inst = in findRSCallSites() 134 llvm::dyn_cast_or_null<llvm::CallInst>(&inst); in findRSCallSites() 151 std::set<llvm::CallInst *> rs_callsites; in fixupX86StructRetCalls() 193 llvm::CallInst *new_call_inst = in fixupX86StructRetCalls() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | MemoryBuiltins.h | 33 class CallInst; variable 119 const CallInst * 122 inline CallInst * 125 return const_cast<CallInst *>(extractMallocCall((const Value *)I, GetTLI)); in extractMallocCall() 133 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI); 140 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI); 147 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL, 157 const CallInst *extractCallocCall(const Value *I, const TargetLibraryInfo *TLI); 158 inline CallInst *extractCallocCall(Value *I, const TargetLibraryInfo *TLI) { in extractCallocCall() 159 return const_cast<CallInst*>(extractCallocCall((const Value*)I, TLI)); in extractCallocCall() [all …]
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | MemoryBuiltins.h | 32 class CallInst; variable 125 const CallInst * 128 inline CallInst * 131 return const_cast<CallInst *>(extractMallocCall((const Value *)I, GetTLI)); in extractMallocCall() 139 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI); 146 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI); 153 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL, 163 const CallInst *extractCallocCall(const Value *I, const TargetLibraryInfo *TLI); 164 inline CallInst *extractCallocCall(Value *I, const TargetLibraryInfo *TLI) { in extractCallocCall() 165 return const_cast<CallInst*>(extractCallocCall((const Value*)I, TLI)); in extractCallocCall() [all …]
|
D | AssumeBundleQueries.h | 42 bool hasAttributeInAssume(CallInst &AssumeCI, Value *IsOn, StringRef AttrName, 44 inline bool hasAttributeInAssume(CallInst &AssumeCI, Value *IsOn, 90 void fillMapFromAssume(CallInst &AssumeCI, RetainedKnowledgeMap &Result); 115 RetainedKnowledge getKnowledgeFromOperandInAssume(CallInst &Assume, 121 return getKnowledgeFromOperandInAssume(*cast<CallInst>(U->getUser()), 136 bool isAssumeWithEmptyBundle(CallInst &Assume); 162 RetainedKnowledge getKnowledgeFromBundle(CallInst &Assume,
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 85 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() 110 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrCat() 149 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCat() 182 Value *LibCallSimplifier::optimizeStrChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrChr() 222 Value *LibCallSimplifier::optimizeStrRChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrRChr() 249 Value *LibCallSimplifier::optimizeStrCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrCmp() 282 Value *LibCallSimplifier::optimizeStrNCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCmp() 321 Value *LibCallSimplifier::optimizeStrCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStrCpy() 338 Value *LibCallSimplifier::optimizeStpCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStpCpy() 362 Value *LibCallSimplifier::optimizeStrNCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCpy() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 46 class CallInst; variable 627 void LowerDeoptimizeCall(const CallInst *CI); 734 void visitMaskedLoad(const CallInst &I, bool IsExpanding = false); 735 void visitMaskedStore(const CallInst &I, bool IsCompressing = false); 736 void visitMaskedGather(const CallInst &I); 737 void visitMaskedScatter(const CallInst &I); 742 void visitCall(const CallInst &I); 743 bool visitMemCmpBCmpCall(const CallInst &I); 744 bool visitMemPCpyCall(const CallInst &I); 745 bool visitMemChrCall(const CallInst &I); [all …]
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 59 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, in createCallHelper() 62 CallInst *CI = CallInst::Create(Callee, Ops, Name); in createCallHelper() 81 CallInst *IRBuilderBase:: 91 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet() 106 CallInst *IRBuilderBase:: 118 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy() 137 CallInst *IRBuilderBase:: 149 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove() 164 CallInst *IRBuilderBase::CreateLifetimeStart(Value *Ptr, ConstantInt *Size) { in CreateLifetimeStart() 179 CallInst *IRBuilderBase::CreateLifetimeEnd(Value *Ptr, ConstantInt *Size) { in CreateLifetimeEnd() [all …]
|
/external/llvm-project/llvm/unittests/Frontend/ |
D | OpenMPIRBuilderTest.cpp | 101 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() 108 CallInst *Barrier = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F() 115 EXPECT_EQ(cast<CallInst>(Barrier)->getArgOperand(1), GTID); in TEST_F() 145 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() 152 CallInst *Cancel = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F() 168 EXPECT_EQ(cast<CallInst>(Cancel)->getArgOperand(1), GTID); in TEST_F() 205 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() 212 CallInst *Cancel = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F() 229 EXPECT_EQ(cast<CallInst>(Cancel)->getArgOperand(1), GTID); in TEST_F() 261 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibCalls.cpp | 76 bool replaceWithNative(CallInst *CI, const FuncInfo &FInfo); 81 bool TDOFold(CallInst *CI, const FuncInfo &FInfo); 86 bool fold_recip(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 89 bool fold_divide(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 92 bool fold_pow(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 95 bool fold_rootn(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 98 bool fold_fma_mad(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 101 bool sincosUseNative(CallInst *aCI, const FuncInfo &FInfo); 106 bool evaluateCall(CallInst *aCI, FuncInfo &FInfo); 109 bool fold_exp(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibCalls.cpp | 77 bool replaceWithNative(CallInst *CI, const FuncInfo &FInfo); 82 bool TDOFold(CallInst *CI, const FuncInfo &FInfo); 87 bool fold_recip(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 90 bool fold_divide(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 93 bool fold_pow(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 96 bool fold_rootn(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 99 bool fold_fma_mad(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 102 bool sincosUseNative(CallInst *aCI, const FuncInfo &FInfo); 107 bool evaluateCall(CallInst *aCI, FuncInfo &FInfo); 110 bool fold_exp(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | PreISelIntrinsicLowering.cpp | 40 auto CI = dyn_cast<CallInst>(I->getUser()); in lowerLoadRelative() 63 static CallInst::TailCallKind getOverridingTailCallKind(const Function &F) { in getOverridingTailCallKind() 66 return CallInst::TCK_Tail; in getOverridingTailCallKind() 68 return CallInst::TCK_NoTail; in getOverridingTailCallKind() 69 return CallInst::TCK_None; in getOverridingTailCallKind() 91 CallInst::TailCallKind OverridingTCK = getOverridingTailCallKind(F); in lowerObjCCall() 94 auto *CI = cast<CallInst>(I->getUser()); in lowerObjCCall() 100 CallInst *NewCI = Builder.CreateCall(FCache, Args); in lowerObjCCall() 110 CallInst::TailCallKind TCK = CI->getTailCallKind(); in lowerObjCCall()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | AssumeBundleQueries.cpp | 36 static Value *getValueFromBundleOpInfo(CallInst &Assume, in getValueFromBundleOpInfo() 43 bool llvm::hasAttributeInAssume(CallInst &AssumeCI, Value *IsOn, in hasAttributeInAssume() 75 void llvm::fillMapFromAssume(CallInst &AssumeCI, RetainedKnowledgeMap &Result) { in fillMapFromAssume() 105 llvm::getKnowledgeFromBundle(CallInst &Assume, in getKnowledgeFromBundle() 125 RetainedKnowledge llvm::getKnowledgeFromOperandInAssume(CallInst &AssumeCI, in getKnowledgeFromOperandInAssume() 134 bool llvm::isAssumeWithEmptyBundle(CallInst &CI) { in isAssumeWithEmptyBundle() 144 static CallInst::BundleOpInfo *getBundleFromUse(const Use *U) { in getBundleFromUse() 155 CallInst::BundleOpInfo* Bundle = getBundleFromUse(U); in getKnowledgeFromUse() 159 getKnowledgeFromBundle(*cast<CallInst>(U->getUser()), *Bundle); in getKnowledgeFromUse() 195 CallInst::BundleOpInfo* Bundle = getBundleFromUse(&U); in getKnowledgeForValue() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 50 class CallInst; variable 636 void LowerDeoptimizeCall(const CallInst *CI); 743 void visitMaskedLoad(const CallInst &I, bool IsExpanding = false); 744 void visitMaskedStore(const CallInst &I, bool IsCompressing = false); 745 void visitMaskedGather(const CallInst &I); 746 void visitMaskedScatter(const CallInst &I); 751 void visitCall(const CallInst &I); 752 bool visitMemCmpCall(const CallInst &I); 753 bool visitMemPCpyCall(const CallInst &I); 754 bool visitMemChrCall(const CallInst &I); [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | PreISelIntrinsicLowering.cpp | 40 auto CI = dyn_cast<CallInst>(I->getUser()); in lowerLoadRelative() 63 static CallInst::TailCallKind getOverridingTailCallKind(const Function &F) { in getOverridingTailCallKind() 66 return CallInst::TCK_Tail; in getOverridingTailCallKind() 68 return CallInst::TCK_NoTail; in getOverridingTailCallKind() 69 return CallInst::TCK_None; in getOverridingTailCallKind() 91 CallInst::TailCallKind OverridingTCK = getOverridingTailCallKind(F); in lowerObjCCall() 94 auto *CI = cast<CallInst>(I->getUser()); in lowerObjCCall() 100 CallInst *NewCI = Builder.CreateCall(FCache, Args); in lowerObjCCall() 110 CallInst::TailCallKind TCK = CI->getTailCallKind(); in lowerObjCCall()
|
/external/llvm-project/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 102 cast<CallInst>(Arg)->getArgOperand(0)); in FindSingleUseIdentifiedObject() 653 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall() 689 cast<CallInst>(AutoreleaseRV)->getArgOperand(0)); in OptimizeInlinedAutoreleaseRVCall() 694 Inst->replaceAllUsesWith(cast<CallInst>(Inst)->getArgOperand(0)); in OptimizeInlinedAutoreleaseRVCall() 702 Value *CallArg = cast<CallInst>(Inst)->getArgOperand(0); in OptimizeInlinedAutoreleaseRVCall() 703 CallInst *Release = CallInst::Create( in OptimizeInlinedAutoreleaseRVCall() 757 CallInst *AutoreleaseRVCI = cast<CallInst>(AutoreleaseRV); in OptimizeAutoreleaseRVCall() 768 CloneCallInstForBB(CallInst &CI, BasicBlock &BB, in CloneCallInstForBB() 787 return CallInst::Create(&CI, OpBundles); in CloneCallInstForBB() 959 CallInst *CI = cast<CallInst>(Inst); in OptimizeIndividualCallImpl() [all …]
|