/external/clang/examples/analyzer-plugin/ |
H A D | MainCallChecker.cpp | 21 const Expr *Callee = CE->getCallee(); local 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); 41 report->addRange(Callee->getSourceRange());
|
/external/llvm/lib/Transforms/IPO/ |
H A D | InlineAlways.cpp | 108 Function *Callee = CS.getCalledFunction(); local 110 if (!Callee) return InlineCost::getNever(); 114 if (Callee->isDeclaration()) return InlineCost::getNever(); 117 if (!Callee->hasFnAttr(Attribute::AlwaysInline)) 121 if (!isInlineViable(*Callee))
|
H A D | Inliner.cpp | 86 Function *Callee = CS.getCalledFunction(); local 96 if (Callee->hasFnAttr(Attribute::StackProtectReq)) 98 else if (Callee->hasFnAttr(Attribute::StackProtect) && 217 Function *Callee = CS.getCalledFunction(); local 218 bool InlineHint = Callee && !Callee->isDeclaration() && 219 Callee->hasFnAttr(Attribute::InlineHint); 416 Function *Callee = CS.getCalledFunction(); local 425 // Update the call graph by deleting the edge from Callee to Caller. 431 if (Callee [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ProfilingUtils.h | 33 void InsertProfilingShutdownCall(Function *Callee, Module *Mod);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SimplifyLibCalls.cpp | 68 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) 140 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument 142 FunctionType *FT = Callee->getFunctionType(); 192 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument 194 FunctionType *FT = Callee->getFunctionType(); 239 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument 241 FunctionType *FT = Callee->getFunctionType(); 288 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument 290 FunctionType *FT = Callee->getFunctionType(); 327 virtual Value *CallOptimizer(Function *Callee, CallIns argument 375 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 433 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 474 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 515 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 564 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 590 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 628 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 650 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 682 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 717 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 786 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 834 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 856 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 878 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 906 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 937 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 966 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1028 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1069 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), local 1090 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1126 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1145 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1163 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1184 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1205 OptimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1261 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1292 OptimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1357 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1388 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1424 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1449 OptimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1496 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1527 CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1764 Function *Callee = CI->getCalledFunction(); local [all...] |
H A D | SimplifyCFGPass.cpp | 160 Value *Callee = II->getCalledValue(); local 161 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) {
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NoReturnFunctionChecker.cpp | 40 const Expr *Callee = CE->getCallee(); local 42 bool BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn(); 45 SVal L = state->getSVal(Callee, C.getLocationContext());
|
H A D | MallocSizeofChecker.cpp | 220 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); local 221 if (Callee && Callee->getIdentifier()) 222 OS << '\'' << Callee->getIdentifier()->getName() << '\'';
|
H A D | CallAndMessageChecker.cpp | 222 const Expr *Callee = CE->getCallee()->IgnoreParens(); local 225 SVal L = State->getSVal(Callee, LCtx); 231 emitBadCall(BT_call_undef.get(), C, Callee); 242 emitBadCall(BT_call_null.get(), C, Callee);
|
/external/llvm/lib/Analysis/IPA/ |
H A D | CallGraph.cpp | 145 const Function *Callee = CS.getCalledFunction(); local 146 if (Callee) 147 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 294 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { argument 296 if (CalledFunctions[i].second == Callee) { 297 Callee->DropRef(); 306 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { argument 310 if (CR.second == Callee && CR.first == 0) { 311 Callee->DropRef();
|
H A D | CallGraphSCCPass.cpp | 250 Function *Callee = CS.getCalledFunction(); local 251 if (Callee && Callee->isIntrinsic()) continue; 282 if (Function *Callee = CS.getCalledFunction()) { 283 CalleeNode = CG.getOrInsertFunction(Callee); 289 << Callee->getName() << "'\n"); 306 if (Function *Callee = CS.getCalledFunction()) { 307 CalleeNode = CG.getOrInsertFunction(Callee);
|
/external/clang/lib/CodeGen/ |
H A D | CGCUDARuntime.cpp | 46 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); local 47 CGF.EmitCall(E->getCallee()->getType(), Callee, ReturnValue,
|
H A D | CGExprCXX.cpp | 27 llvm::Value *Callee, 60 Callee, ReturnValue, Args, MD); 188 llvm::Value *Callee = CGM.GetAddrOfFunction(MD); local 189 return EmitCall(getContext().getPointerType(MD->getType()), Callee, 281 llvm::Value *Callee; local 284 Callee = BuildVirtualCall(Dtor, Dtor_Complete, This, Ty); 289 Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty); 291 Callee = CGM.GetAddrOfFunction(GlobalDecl(Dtor, Dtor_Complete), Ty); 295 Callee = CGM.GetAddrOfFunction(GlobalDecl(DDtor, Dtor_Complete), Ty); 300 Callee 26 EmitCXXMemberCall(const CXXMethodDecl *MD, llvm::Value *Callee, ReturnValueSlot ReturnValue, llvm::Value *This, llvm::Value *VTT, CallExpr::const_arg_iterator ArgBeg, CallExpr::const_arg_iterator ArgEnd) argument 349 llvm::Value *Callee = local 385 llvm::Value *Callee = EmitCXXOperatorMemberCallee(E, MD, This); local 1394 llvm::Value *Callee local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 24 const Expr *Callee = CE->getCallee(); local 25 SVal L = State->getSVal(Callee, Pred->getLocationContext());
|
/external/llvm/lib/Target/MBlaze/ |
H A D | MBlazeISelDAGToDAG.cpp | 227 SDValue Callee = Node->getOperand(1); local 231 if ((isa<GlobalAddressSDNode>(Callee)) || 232 (isa<ExternalSymbolSDNode>(Callee))) 238 SDValue Ops[] = { Callee, GPReg, Chain }; 247 Chain = CurDAG->getCopyToReg(Chain, dl, R20Reg, Callee, InFlag);
|
/external/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 128 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 861 static IntrinsicInst *FindInitTrampoline(Value *Callee) { argument 862 Callee = Callee->stripPointerCasts(); 863 IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee); 887 Value *Callee = CS.getCalledValue(); local 888 if (!isa<Function>(Callee) && transformConstExprCastCall(CS)) 891 if (Function *CalleeF = dyn_cast<Function>(Callee)) 900 new StoreInst(ConstantInt::getTrue(Callee->getContext()), 901 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())), 917 if (isa<ConstantPointerNull>(Callee) || is 981 Function *Callee = local 1236 Value *Callee = CS.getCalledValue(); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 80 Function *Callee = CS.getCalledFunction(); 81 if (!Callee || !Callee->isDeclaration()) 83 return Callee; 91 Function *Callee = getCalledFunction(V, LookThroughBitCast); local 92 if (!Callee) 96 StringRef FnName = Callee->getName(); 119 FunctionType *FTy = Callee->getFunctionType(); 305 Function *Callee = CI->getCalledFunction(); 306 if (Callee [all...] |
H A D | AliasAnalysisEvaluator.cpp | 146 Value *Callee = CS.getCalledValue(); local 148 if (!isa<Function>(Callee) && isInterestingPointer(Callee)) 149 Pointers.insert(Callee);
|
H A D | InlineCost.cpp | 126 CallAnalyzer(const TargetData *TD, Function &Callee, int Threshold) argument 127 : TD(TD), F(Callee), Threshold(Threshold), Cost(0), 648 Value *Callee = CS.getCalledValue(); local 656 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee)); 997 InlineCost InlineCostAnalyzer::getInlineCost(CallSite CS, Function *Callee, argument 1002 if (!Callee || Callee->mayBeOverridden() || 1003 Callee->hasFnAttr(Attribute::NoInline) || CS.isNoInline()) 1006 DEBUG(llvm::dbgs() << " Analyzing call of " << Callee->getName() << "...\n"); 1008 CallAnalyzer CA(TD, *Callee, Threshol [all...] |
/external/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 344 const Function *Callee = CI->getCalledFunction(); local 345 assert(Callee && "Cannot lower an indirect call!"); 348 switch (Callee->getIntrinsicID()) { 351 Callee->getName() + "'!"); 354 Callee->getName()+"'!"); 419 << (Callee->getIntrinsicID() == Intrinsic::stacksave ? 422 if (Callee->getIntrinsicID() == Intrinsic::stacksave) 430 << (Callee->getIntrinsicID() == Intrinsic::returnaddress ?
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.h | 71 IsEligibleForTailCallOptimization(SDValue Callee, 108 SDValue Callee) const;
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.h | 92 unsigned getSRetArgSize(SelectionDAG &DAG, SDValue Callee) const;
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 118 std::string Callee; member in class:CallExprAST 122 : Callee(callee), Args(args) {} 384 Function *CalleeF = TheModule->getFunction(Callee);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 384 IsEligibleForTailCallOptimization(SDValue Callee, 440 SDValue &Callee, 483 LowerCall_Darwin(SDValue Chain, SDValue Callee, CallingConv::ID CallConv, 491 LowerCall_SVR4(SDValue Chain, SDValue Callee, CallingConv::ID CallConv,
|