/external/clang/lib/CodeGen/ |
CGCUDARuntime.cpp | 47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); 48 CGF.EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, TargetDecl);
|
/external/llvm/lib/Transforms/IPO/ |
InlineAlways.cpp | 93 Function *Callee = CS.getCalledFunction(); 98 if (Callee && !Callee->isDeclaration() && 99 CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee))
|
InlineSimple.cpp | 62 Function *Callee = CS.getCalledFunction(); 63 TargetTransformInfo &TTI = TTIWP->getTTI(*Callee);
|
PruneEH.cpp | 11 // call-graph, turning invoke instructions into calls, iff the callee cannot 131 if (Function *Callee = CI->getCalledFunction()) { 132 CallGraphNode *CalleeNode = CG[Callee]; 133 // If the callee is outside our current SCC then we may throw 250 const Function *Callee = CS.getCalledFunction(); 251 if (!Callee || !Intrinsic::isLeaf(Callee->getIntrinsicID())) 253 else if (!Callee->isIntrinsic())
|
Inliner.cpp | 81 Function *Callee = CS.getCalledFunction(); 86 BasicAAResult BAR(createLegacyPMBasicAAResult(P, *Callee)); 90 AAResults AAR(createLegacyPMAAResults(P, *Callee, BAR)); 97 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee); 240 // elsewhere, and the current candidate callee (call it C) is large enough 395 // When inlining a callee produces new call sites, we want to keep track of 396 // the fact that they were inlined from the callee. This allows us to avoid 416 if (Function *Callee = CS.getCalledFunction()) 417 if (Callee->isDeclaration()) 455 Function *Callee = CS.getCalledFunction() [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
NoReturnFunctionChecker.cpp | 48 const Expr *Callee = CE.getOriginExpr(); 49 if (!BuildSinks && Callee) 50 BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn();
|
MallocSizeofChecker.cpp | 223 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); 224 if (Callee && Callee->getIdentifier()) 225 OS << '\'' << Callee->getIdentifier()->getName() << '\'';
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerContext.cpp | 24 const Expr *Callee = CE->getCallee(); 25 SVal L = State->getSVal(Callee, Pred->getLocationContext());
|
/external/clang/examples/analyzer-plugin/ |
MainCallChecker.cpp | 21 const Expr *Callee = CE->getCallee(); 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); 27 // Get the name of the callee. 42 report->addRange(Callee->getSourceRange());
|
/external/llvm/lib/ProfileData/ |
SampleProfWriter.cpp | 173 StringRef Callee = J.first(); 175 if (std::error_code EC = writeNameIdx(Callee))
|
/external/llvm/lib/Target/NVPTX/ |
NVVMReflect.cpp | 159 Function *Callee = Call->getCalledFunction(); 160 if (!Callee || (Callee->getName() != NVVM_REFLECT_FUNCTION && 161 Callee->getIntrinsicID() != Intrinsic::nvvm_reflect))
|
/external/swiftshader/third_party/subzero/crosstest/ |
test_calling_conv_main.cpp | 29 // The crosstest code consists of caller / callee function pairs. 32 // function located at Callee. 34 // The callee function writes the argument numbered ArgNum into the 38 // llc, pass arguments to the callee in the same way. The Caller() and 39 // Subzero_Caller() functions both call the same callee (which has been 44 // Callee() and Subzero_Callee() are being tested to ensure that both 49 CalleePtrTy Callee; 70 CalleePtrTy Callee; 73 #define X(caller, callee, argc) \ 75 STR(caller), STR(callee), argc, &caller, &Subzero_::caller, [all...] |
/external/llvm/lib/Analysis/ |
AliasAnalysisEvaluator.cpp | 119 Value *Callee = CS.getCalledValue(); 121 if (!isa<Function>(Callee) && isInterestingPointer(Callee)) 122 Pointers.insert(Callee);
|
CallGraph.cpp | 86 const Function *Callee = CS.getCalledFunction(); 87 if (!Callee || !Intrinsic::isLeaf(Callee->getIntrinsicID())) 92 else if (!Callee->isIntrinsic()) 93 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 216 // the specified callee function. This takes more time to execute than 218 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { 220 if (CalledFunctions[i].second == Callee) { 221 Callee->DropRef(); 229 /// from this node to the specified callee function [all...] |
CallGraphSCCPass.cpp | 253 Function *Callee = CS.getCalledFunction(); 255 if (!Callee || !(Callee->isIntrinsic())) 269 Function *Callee = CS.getCalledFunction(); 270 if (Callee && Callee->isIntrinsic()) continue; 282 // Verify that the callee is right. 301 if (Function *Callee = CS.getCalledFunction()) { 302 CalleeNode = CG.getOrInsertFunction(Callee); 308 << Callee->getName() << "'\n") [all...] |
/external/llvm/lib/Transforms/Utils/ |
Evaluator.cpp | 429 Function *Callee = dyn_cast<Function>(getVal(CS.getCalledValue())); 430 if (!Callee || Callee->isInterposable()) { 439 if (Callee->isDeclaration()) { 441 if (Constant *C = ConstantFoldCall(Callee, Formals, TLI)) { 450 if (Callee->getFunctionType()->isVarArg()) { 458 if (!EvaluateFunction(Callee, RetVal, Formals)) {
|
BuildLibCalls.cpp | 888 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), 890 CallInst *CI = B.CreateCall(Callee, Op, Name); 892 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) 904 Value *Callee = M->getOrInsertFunction(Name, Op1->getType(), Op1->getType(), 906 CallInst *CI = B.CreateCall(Callee, {Op1, Op2}, Name); 908 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
AliasAnalysisEvaluator.cpp | 146 Value *Callee = CS.getCalledValue(); 148 if (!isa<Function>(Callee) && isInterestingPointer(Callee)) 149 Pointers.insert(Callee);
|
InlineCost.cpp | 235 // Look at the size of the callee. 267 // performance boost for using a specialization of Callee with argument 269 int InlineCostAnalyzer::getSpecializationBonus(Function *Callee, 272 if (Callee->mayBeOverridden()) 278 if (Callee->getCallingConv() == CallingConv::Cold) 281 // Get information about the callee. 282 FunctionInfo *CalleeFI = &CachedFunctionInfo[Callee]; 286 CalleeFI->analyzeFunction(Callee, TD); 290 for (Function::arg_iterator I = Callee->arg_begin(), E = Callee->arg_end() [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
CallGraph.cpp | 135 // Not a call, or being used as a parameter rather than as the callee. 152 const Function *Callee = CS.getCalledFunction(); 153 if (Callee) 154 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 295 // the specified callee function. This takes more time to execute than 297 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { 299 if (CalledFunctions[i].second == Callee) { 300 Callee->DropRef(); 308 /// from this node to the specified callee function. 309 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
MBlazeISelDAGToDAG.cpp | 227 SDValue Callee = Node->getOperand(1); 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/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 132 std::string Callee; 136 CallExprAST(const std::string &Callee, 138 : Callee(Callee), Args(std::move(Args)) {}
|
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 344 const Function *Callee = CI->getCalledFunction(); 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) 437 << (Callee->getIntrinsicID() == Intrinsic::returnaddress ?
|
/external/llvm/lib/Target/BPF/ |
BPFISelLowering.cpp | 223 SDValue Callee = CLI.Callee; 249 fail(CLI.DL, DAG, "too many args to ", Callee); 256 fail(CLI.DL, DAG, "pass by value not supported ", Callee); 306 // If the callee is a GlobalAddress node (quite common, every direct call is) 309 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) 310 Callee = DAG.getTargetGlobalAddress(G->getGlobal(), CLI.DL, PtrVT, 312 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee)) 313 Callee = DAG.getTargetExternalSymbol(E->getSymbol(), PtrVT, 0); 319 Ops.push_back(Callee); [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcAsmPrinter.cpp | 109 MCOperand &Callee, 114 CallInst.addOperand(Callee); 241 MCOperand Callee = createPCXCallOP(EndLabel, OutContext); 242 EmitCall(*OutStreamer, Callee, STI);
|