Searched refs:CallInst (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h23 class CallInst;
52 Value *optimizeCall(CallInst *CI, IRBuilderBase &B);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
62 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B);
63 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B);
64 Value *optimizeSNPrintfChk(CallInst *C
[all...]
H A DGuardUtils.h18 class CallInst;
29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DIntrinsicLowering.h21 class CallInst;
40 void LowerIntrinsicCall(CallInst *CI);
44 static bool LowerToByteSwap(CallInst *CI);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTypeMetadataUtils.h23 class CallInst;
48 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI,
57 const CallInst *CI, DominatorTree &DT);
H A DAssumeBundleQueries.h42 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,
H A DMemoryBuiltins.h32 class CallInst;
122 /// extractMallocCall - Returns the corresponding CallInst if the instruction
123 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we
125 const CallInst *
128 inline CallInst *
131 return const_cast<CallInst *>(extractMallocCall((const Value *)I, GetTLI));
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,
161 /// extractCallocCall - Returns the corresponding CallInst i
[all...]
H A DObjCARCInstKind.h105 if (const CallInst *CI = dyn_cast<CallInst>(V)) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DAlignmentFromAssumptions.h40 bool extractAlignmentInfo(CallInst *I, Value *&AAPtr, const SCEV *&AlignSCEV,
42 bool processAssumption(CallInst *I);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h25 class CallInst;
66 void scheduleRelocCall(const CallInst &RelocCall) {
75 void relocCallVisited(const CallInst &RelocCall) {
121 SmallVector<const CallInst *, 10> PendingGCRelocateCalls;
H A DSelectionDAGBuilder.h47 class CallInst;
634 void LowerDeoptimizeCall(const CallInst *CI);
741 void visitMaskedLoad(const CallInst &I, bool IsExpanding = false);
742 void visitMaskedStore(const CallInst &I, bool IsCompressing = false);
743 void visitMaskedGather(const CallInst &I);
744 void visitMaskedScatter(const CallInst &I);
749 void visitCall(const CallInst &I);
750 bool visitMemCmpCall(const CallInst &I);
751 bool visitMemPCpyCall(const CallInst &I);
752 bool visitMemChrCall(const CallInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp78 void visitCallInst(CallInst &CI) { checkCandidate(CI); }
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 *C
[all...]
H A DEscapeEnumerator.cpp60 if (CallInst *CI = dyn_cast<CallInst>(&II))
89 CallInst *CI = cast<CallInst>(Calls[--I]);
H A DEntryExitInstrumenter.cpp36 CallInst *Call = CallInst::Create(Fn, "", InsertionPt);
47 Instruction *RetAddr = CallInst::Create(
56 CallInst *Call =
57 CallInst::Create(Fn, ArrayRef<Value *>(Args), "", InsertionPt);
103 if (CallInst *CI = dyn_cast_or_null<CallInst>(Prev)) {
H A DSimplifyLibCalls.cpp60 static bool isCallingConvCCompatible(CallInst *CI) {
104 static bool callHasFloatingPointArgument(const CallInst *CI) {
110 static bool callHasFP128Argument(const CallInst *CI) {
116 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) {
153 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len,
167 static void annotateDereferenceableBytes(CallInst *CI,
194 static void annotateNonNullBasedOnAccess(CallInst *CI,
212 static void annotateNonNullAndDereferenceable(CallInst *CI, ArrayRef<unsigned> ArgNos,
232 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilderBase &B) {
274 Value *LibCallSimplifier::optimizeStrNCat(CallInst *C
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp27 bool isRSAPICall(llvm::Module &module, llvm::CallInst *call_inst) {
41 bool isRSLargeReturnCall(llvm::Module &module, llvm::CallInst *call_inst) {
70 bool isRSAllocationTyCallSite(llvm::Module &module, llvm::CallInst *call_inst) {
80 llvm::FunctionType *cloneToStructRetFnTy(llvm::CallInst *call_inst) {
90 assert(call_inst && "no CallInst");
92 assert(orig && "CallInst has no called function");
126 std::set<llvm::CallInst *> &rs_callsites,
127 bool (*predicate)(llvm::Module &, llvm::CallInst *)) {
133 llvm::CallInst *call_inst =
134 llvm::dyn_cast_or_null<llvm::CallInst>(
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) {
76 SmallVector<CallInst *, 8> GuardIntrinsics;
79 GuardIntrinsics.push_back(cast<CallInst>(&I));
H A DLowerGuardIntrinsic.cpp51 SmallVector<CallInst *, 8> ToLower;
54 ToLower.push_back(cast<CallInst>(&I));
H A DLowerWidenableCondition.cpp52 SmallVector<CallInst *, 8> ToLower;
55 ToLower.push_back(cast<CallInst>(&I));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DAssumeBundleQueries.cpp36 static Value *getValueFromBundleOpInfo(CallInst &Assume,
43 bool llvm::hasAttributeInAssume(CallInst &AssumeCI, Value *IsOn,
75 void llvm::fillMapFromAssume(CallInst &AssumeCI, RetainedKnowledgeMap &Result) {
105 llvm::getKnowledgeFromBundle(CallInst &Assume,
118 RetainedKnowledge llvm::getKnowledgeFromOperandInAssume(CallInst &AssumeCI,
127 bool llvm::isAssumeWithEmptyBundle(CallInst &CI) {
137 static CallInst::BundleOpInfo *getBundleFromUse(const Use *U) {
148 CallInst::BundleOpInfo* Bundle = getBundleFromUse(U);
152 getKnowledgeFromBundle(*cast<CallInst>(U->getUser()), *Bundle);
185 CallInst
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp90 // llvm.nvvm.reflect should be a CallInst with a ConstantArray argument.
93 // uses of CallInst with the value found in VarMap. If not, replace the use
116 CallInst *Call = dyn_cast<CallInst>(&I);
131 if (const CallInst *ConvCall = dyn_cast<CallInst>(Str)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp40 auto CI = dyn_cast<CallInst>(I->getUser());
63 static CallInst::TailCallKind getOverridingTailCallKind(const Function &F) {
66 return CallInst::TCK_Tail;
68 return CallInst::TCK_NoTail;
69 return CallInst::TCK_None;
91 CallInst::TailCallKind OverridingTCK = getOverridingTailCallKind(F);
94 auto *CI = cast<CallInst>(I->getUser());
100 CallInst *NewCI = Builder.CreateCall(FCache, Args);
110 CallInst::TailCallKind TCK = CI->getTailCallKind();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp72 static CallInst *createCallHelper(Function *Callee, ArrayRef<Value *> Ops,
76 CallInst *CI = Builder->CreateCall(Callee, Ops, Name);
82 CallInst *IRBuilderBase::CreateMemSet(Value *Ptr, Value *Val, Value *Size,
92 CallInst *CI = createCallHelper(TheFn, Ops, this);
110 CallInst *IRBuilderBase::CreateElementUnorderedAtomicMemSet(
121 CallInst *CI = createCallHelper(TheFn, Ops, this);
138 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, MaybeAlign DstAlign,
151 CallInst *CI = createCallHelper(TheFn, Ops, this);
176 CallInst *IRBuilderBase::CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign,
189 CallInst *C
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp76 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 *C
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DAutoUpgrade.h20 class CallInst;
38 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h40 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
67 if (const auto *C = dyn_cast<CallInst>(Opnd))

Completed in 229 milliseconds

1234567891011>>