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

1234567891011>>

/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h23 class CallInst;
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 *C
[all...]
H A DGuardUtils.h18 class CallInst;
29 void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard,
H A DAutoInitRemark.h23 class CallInst;
51 void inspectCall(CallInst &CI);
60 void inspectKnownLibCall(CallInst &CI, LibFunc LF,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DIntrinsicLowering.h21 class CallInst;
40 void LowerIntrinsicCall(CallInst *CI);
44 static bool LowerToByteSwap(CallInst *CI);
/netbsd-current/external/apache2/llvm/dist/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 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)) {
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DAlignmentFromAssumptions.h40 bool extractAlignmentInfo(CallInst *I, unsigned Idx, Value *&AAPtr,
42 bool processAssumption(CallInst *I, unsigned Idx);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEscapeEnumerator.cpp44 if (CallInst *CI = CurBB->getTerminatingMustTailCall())
63 if (CallInst *CI = dyn_cast<CallInst>(&II))
92 CallInst *CI = cast<CallInst>(Calls[--I]);
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 DEntryExitInstrumenter.cpp38 CallInst *Call = CallInst::Create(Fn, "", InsertionPt);
49 Instruction *RetAddr = CallInst::Create(
58 CallInst *Call =
59 CallInst::Create(Fn, ArrayRef<Value *>(Args), "", InsertionPt);
102 if (CallInst *CI = BB.getTerminatingMustTailCall())
H A DSimplifyLibCalls.cpp71 static bool callHasFloatingPointArgument(const CallInst *CI) {
77 static bool callHasFP128Argument(const CallInst *CI) {
83 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) {
120 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len,
134 static void annotateDereferenceableBytes(CallInst *CI,
161 static void annotateNonNullNoUndefBasedOnAccess(CallInst *CI,
182 static void annotateNonNullAndDereferenceable(CallInst *CI, ArrayRef<unsigned> ArgNos,
202 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilderBase &B) {
244 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilderBase &B) {
287 Value *LibCallSimplifier::optimizeStrChr(CallInst *C
[all...]
H A DLowerInvoke.cpp55 CallInst *NewCall =
56 CallInst::Create(II->getFunctionType(), II->getCalledOperand(),
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h41 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
68 if (const auto *C = dyn_cast<CallInst>(Opnd))
99 /// called instead of calling CallInst::Create directly unless the call is
101 CallInst *createCallInstWithColors(
118 CallInst *insertRVCall(Instruction *InsertPt, CallBase *AnnotatedCall);
121 CallInst *insertRVCallWithColors(
127 if (auto *CI = dyn_cast<CallInst>(I))
133 void eraseInst(CallInst *CI) {
138 if (auto *CI = dyn_cast<CallInst>(*U))
156 DenseMap<CallInst *, CallBas
[all...]
H A DObjCARC.cpp46 CallInst *objcarc::createCallInstWithColors(
62 return CallInst::Create(FTy, Callee, Args, OpBundles, NameStr, InsertBefore);
96 CallInst *BundledRetainClaimRVs::insertRVCall(Instruction *InsertPt,
102 CallInst *BundledRetainClaimRVs::insertRVCallWithColors(
124 if (auto *CI = dyn_cast<CallInst>(P.second))
125 CI->setTailCallKind(CallInst::TCK_NoTail);
/netbsd-current/external/apache2/llvm/dist/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));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp28 const CallInst *CI, DominatorTree &DT) {
42 } else if (auto *CI = dyn_cast<CallInst>(User)) {
55 int64_t Offset, const CallInst *CI, DominatorTree &DT) {
77 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI,
99 const CallInst *CI, DominatorTree &DT) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp72 static CallInst *createCallHelper(Function *Callee, ArrayRef<Value *> Ops,
77 CallInst *CI = Builder->CreateCall(Callee, Ops, OpBundles, Name);
90 CallInst *CI = createCallHelper(TheFn, {}, this, Name);
113 CallInst *IRBuilderBase::CreateMemSet(Value *Ptr, Value *Val, Value *Size,
123 CallInst *CI = createCallHelper(TheFn, Ops, this);
141 CallInst *IRBuilderBase::CreateElementUnorderedAtomicMemSet(
152 CallInst *CI = createCallHelper(TheFn, Ops, this);
169 CallInst *IRBuilderBase::CreateMemTransferInst(
181 CallInst *CI = createCallHelper(TheFn, Ops, this);
206 CallInst *IRBuilderBas
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Fibonacci/
H A Dfibonacci.cpp84 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
89 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
/netbsd-current/external/apache2/llvm/dist/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();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp91 // llvm.nvvm.reflect should be a CallInst with a ConstantArray argument.
94 // uses of CallInst with the value found in VarMap. If not, replace the use
117 CallInst *Call = dyn_cast<CallInst>(&I);
132 if (const CallInst *ConvCall = dyn_cast<CallInst>(Str)) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp61 bool replaceWithNative(CallInst *CI, const FuncInfo &FInfo);
66 bool TDOFold(CallInst *CI, const FuncInfo &FInfo);
71 bool fold_recip(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
74 bool fold_divide(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
77 bool fold_pow(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
80 bool fold_rootn(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
83 bool fold_fma_mad(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
86 bool sincosUseNative(CallInst *aCI, const FuncInfo &FInfo);
91 bool evaluateCall(CallInst *aCI, FuncInfo &FInfo);
94 bool fold_exp(CallInst *C
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DAutoUpgrade.h20 class CallInst;
38 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);

Completed in 301 milliseconds

1234567891011>>