HomeSort by relevance Sort by last modified time
    Searched refs:CallInst (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /external/llvm/include/llvm/CodeGen/
IntrinsicLowering.h 22 class CallInst;
50 void LowerIntrinsicCall(CallInst *CI);
55 static bool LowerToByteSwap(CallInst *CI);
FunctionLoweringInfo.h 35 class CallInst;
219 void ComputeUsesVAFloatArgument(const CallInst &I, MachineModuleInfo *MMI);
223 void AddCatchInfo(const CallInst &I,
  /external/llvm/include/llvm/
AutoUpgrade.h 21 class CallInst;
31 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
  /external/llvm/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 20 class CallInst;
44 Value *optimizeCall(CallInst *CI);
Cloning.h 36 class CallInst;
194 bool InlineFunction(CallInst *C, InlineFunctionInfo &IFI, bool InsertLifetime = true);
  /external/llvm/tools/bugpoint-passes/
TestPasses.cpp 38 if (isa<CallInst>(*I))
61 if (CallInst *CI = dyn_cast<CallInst>(I)) {
  /external/llvm/include/llvm/Analysis/
MemoryBuiltins.h 28 class CallInst;
72 /// extractMallocCall - Returns the corresponding CallInst if the instruction
73 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we
75 const CallInst *extractMallocCall(const Value *I, const TargetLibraryInfo *TLI);
76 static inline CallInst *extractMallocCall(Value *I,
78 return const_cast<CallInst*>(extractMallocCall((const Value*)I, TLI));
81 /// isArrayMalloc - Returns the corresponding CallInst if the instruction
84 const CallInst *isArrayMalloc(const Value *I, const DataLayout *TD,
92 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI);
99 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI)
    [all...]
  /art/compiler/llvm/
runtime_support_builder_x86.cc 32 using ::llvm::CallInst;
48 CallInst* thread = irb_.CreateCall(func);
60 CallInst* result = irb_.CreateCall(func);
73 CallInst* call_inst = irb_.CreateCall(func, value);
runtime_support_builder_arm.cc 31 using ::llvm::CallInst;
65 CallInst* thread = irb_.CreateCall(func);
79 CallInst* result = irb_.CreateCall(func);
94 CallInst* call_inst = irb_.CreateCall(func, value);
108 CallInst* old_thread_register = irb_.CreateCall(func);
  /external/llvm/lib/Analysis/
CodeMetrics.cpp 32 if (isa<CallInst>(II) || isa<InvokeInst>(II)) {
67 if (const CallInst *CI = dyn_cast<CallInst>(II))
  /external/llvm/unittests/IR/
WaymarkTest.cpp 32 const CallInst *A = CallInst::Create(F, makeArrayRef(values));
33 ASSERT_NE(A, (const CallInst*)NULL);
  /external/llvm/lib/IR/
IRBuilder.cpp 55 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops,
57 CallInst *CI = CallInst::Create(Callee, Ops, "");
63 CallInst *IRBuilderBase::
72 CallInst *CI = createCallHelper(TheFn, Ops, this);
81 CallInst *IRBuilderBase::
92 CallInst *CI = createCallHelper(TheFn, Ops, this);
105 CallInst *IRBuilderBase::
116 CallInst *CI = createCallHelper(TheFn, Ops, this);
125 CallInst *IRBuilderBase::CreateLifetimeStart(Value *Ptr, ConstantInt *Size)
    [all...]
Instruction.cpp 296 if (const CallInst *CI = dyn_cast<CallInst>(this))
297 return CI->isTailCall() == cast<CallInst>(I)->isTailCall() &&
298 CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() &&
299 CI->getAttributes() == cast<CallInst>(I)->getAttributes();
369 if (const CallInst *CI = dyn_cast<CallInst>(this))
370 return CI->isTailCall() == cast<CallInst>(I)->isTailCall() &&
371 CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() &&
372 CI->getAttributes() == cast<CallInst>(I)->getAttributes()
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVVMReflect.cpp 141 // Each of them should a CallInst with a ConstantArray argument.
144 // found in VarMap. If so, replace the uses of CallInst with the
149 assert(isa<CallInst>(*I) && "Only a call instruction can use _reflect");
150 CallInst *Reflect = cast<CallInst>(*I);
157 assert(isa<CallInst>(conv) && "Expected a const-to-gen conversion");
158 const CallInst *ConvCall = cast<CallInst>(conv);
  /external/llvm/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp 61 CallInst *CI = dyn_cast<CallInst>(SI->getCondition());
105 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0));
151 CallInst *CI = dyn_cast<CallInst>(BI++);
  /external/llvm/examples/Fibonacci/
fibonacci.cpp 72 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
77 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
  /external/llvm/include/llvm/Support/
CallSite.h 36 class CallInst;
43 typename CallTy = const CallInst,
70 /// isCall - true if a CallInst is enclosed.
158 ? cast<CallInst>(II)->METHOD \
164 cast<CallInst>(II)->METHOD; \
289 return cast<CallInst>(getInstruction())->op_end() - 1;
296 CallInst, InvokeInst, User::op_iterator> {
298 CallInst, InvokeInst, User::op_iterator> Base;
303 CallSite(CallInst *CI) : Base(CI) {}
322 ImmutableCallSite(const CallInst *CI) : Base(CI) {
    [all...]
  /external/llvm/lib/Transforms/IPO/
PruneEH.cpp 115 if (CallInst *CI = dyn_cast<CallInst>(I)) {
180 CallInst *Call = CallInst::Create(II->getCalledValue(), Args, "", II);
210 if (CallInst *CI = dyn_cast<CallInst>(I++))
242 if (CallInst *CI = dyn_cast<CallInst>(I)) {
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARC.h 204 if (const CallInst *CI = dyn_cast<CallInst>(V)) {
226 V = cast<CallInst>(V)->getArgOperand(0);
240 V = cast<CallInst>(V)->getArgOperand(0);
253 V = cast<CallInst>(V)->getArgOperand(0);
262 return StripPointerCastsAndObjCCalls(cast<CallInst>(Inst)->getArgOperand(0));
283 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
366 if (isa<CallInst>(V) || isa<InvokeInst>(V) ||
ObjCARCContract.cpp 68 SmallPtrSet<CallInst *, 8> StoreStrongCalls;
142 cast<CallInst>(Retain)->setCalledFunction(Decl);
160 CallInst *Retain = 0;
176 Retain = dyn_cast_or_null<CallInst>(*DependingInstructions.begin());
277 CallInst *StoreStrong = CallInst::Create(Decl, Args, "", Store);
399 CallInst::Create(IA, "", Inst);
406 CallInst *CI = cast<CallInst>(Inst);
443 const Value *Arg = cast<CallInst>(Inst)->getArgOperand(0)
    [all...]
  /external/llvm/lib/Target/R600/
SIAnnotateControlFlow.cpp 192 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term);
199 Value *Ret = CallInst::Create(Else, popSaved(), "", Term);
229 CallInst *OldEnd = dyn_cast<CallInst>(Parent->getFirstInsertionPt());
235 Value *Ret = CallInst::Create(ElseBreak, Args, "", OldEnd);
243 Value *Ret = CallInst::Create(Break, Arg, "", Insert);
252 Value *Ret = CallInst::Create(IfBreak, Args, "", Insert);
280 Term->setCondition(CallInst::Create(Loop, Arg, "", Term));
286 CallInst::Create(EndCf, popSaved(), "", BB->getFirstInsertionPt());
  /external/llvm/lib/Transforms/Scalar/
TailRecursionElimination.cpp 97 CallInst *FindTRECandidate(Instruction *I,
99 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret,
113 bool CanMoveAboveCall(Instruction *I, CallInst *CI);
114 Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI);
156 if (isa<CallInst>(V) || isa<InvokeInst>(V))
250 if (CallInst *CI = dyn_cast<CallInst>(I)) {
268 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) {
306 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) {
341 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI)
    [all...]
  /external/llvm/lib/CodeGen/
DwarfEHPrepare.cpp 141 CallInst *CI = CallInst::Create(RewindFunction, ExnObj, "", UnwindBB);
168 CallInst *CI = CallInst::Create(RewindFunction, PN, "", UnwindBB);
  /external/llvm/lib/Target/Mips/
MipsOptimizeMathLibCalls.cpp 48 bool optimizeSQRT(CallInst *Call, Function *CalledFunc,
85 CallInst *Call = dyn_cast<CallInst>(&*II);
124 bool MipsOptimizeMathLibCalls::optimizeSQRT(CallInst *Call,
MipsOs16.cpp 74 if (const CallInst *CI = dyn_cast<CallInst>(I)) {

Completed in 783 milliseconds

1 2 3 4 5 6 7 8