Searched defs:Callee (Results 1 - 25 of 91) sorted by relevance

1234

/external/clang/lib/CodeGen/
H A DCGCUDARuntime.cpp47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); local
48 CGF.EmitCall(E->getCallee()->getType(), Callee, E->getLocStart(),
H A DCGDeclCXX.cpp510 llvm::Value *Callee = DtorsAndObjects[e - i - 1].first; local
511 llvm::CallInst *CI = Builder.CreateCall(Callee,
514 if (llvm::Function *F = dyn_cast<llvm::Function>(Callee))
H A DCGVTables.cpp137 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true); local
138 llvm::Function *BaseFn = cast<llvm::Function>(Callee);
228 llvm::Value *Callee,
282 RValue RV = EmitCall(*CurFnInfo, Callee, Slot, CallArgs, MD);
306 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true); local
309 EmitCallAndReturnForThunk(GD, Callee, &Thunk);
227 EmitCallAndReturnForThunk(GlobalDecl GD, llvm::Value *Callee, const ThunkInfo *Thunk) argument
/external/clang/examples/analyzer-plugin/
H A DMainCallChecker.cpp21 const Expr *Callee = CE->getCallee(); local
22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl();
41 report->addRange(Callee->getSourceRange());
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNoReturnFunctionChecker.cpp48 const Expr *Callee = CE.getOriginExpr(); local
49 if (!BuildSinks && Callee)
50 BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn();
H A DMallocSizeofChecker.cpp220 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); local
221 if (Callee && Callee->getIdentifier())
222 OS << '\'' << Callee->getIdentifier()->getName() << '\'';
H A DCallAndMessageChecker.cpp301 const Expr *Callee = CE->getCallee()->IgnoreParens(); local
304 SVal L = State->getSVal(Callee, LCtx);
310 emitBadCall(BT_call_undef.get(), C, Callee);
321 emitBadCall(BT_call_null.get(), C, Callee);
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp24 const Expr *Callee = CE->getCallee(); local
25 SVal L = State->getSVal(Callee, Pred->getLocationContext());
H A DCallEvent.cpp539 const Expr *Callee = getOriginExpr()->getCallee(); local
540 const MemRegion *DataReg = getSVal(Callee).getAsRegion();
/external/llvm/lib/Transforms/IPO/
H A DInlineAlways.cpp92 Function *Callee = CS.getCalledFunction(); local
97 if (Callee && !Callee->isDeclaration() &&
99 ICA->isInlineViable(*Callee))
H A DInliner.cpp86 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) { argument
97 CalleeAttr = Callee->getAttributes();
130 Function *Callee = CS.getCalledFunction(); local
138 AdjustCallerSSPLevel(Caller, Callee);
280 Function *Callee = CS.getCalledFunction(); local
281 bool InlineHint = Callee && !Callee->isDeclaration() &&
282 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
290 bool ColdCallee = Callee && !Callee
518 Function *Callee = CS.getCalledFunction(); local
[all...]
/external/llvm/lib/Analysis/IPA/
H A DCallGraph.cpp83 const Function *Callee = CS.getCalledFunction(); local
84 if (!Callee)
87 else if (!Callee->isIntrinsic())
88 Node->addCalledFunction(CS, getOrInsertFunction(Callee));
197 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { argument
199 if (CalledFunctions[i].second == Callee) {
200 Callee->DropRef();
209 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { argument
213 if (CR.second == Callee && CR.first == nullptr) {
214 Callee
[all...]
H A DCallGraphSCCPass.cpp258 Function *Callee = CS.getCalledFunction(); local
259 if (Callee && Callee->isIntrinsic()) continue;
290 if (Function *Callee = CS.getCalledFunction()) {
291 CalleeNode = CG.getOrInsertFunction(Callee);
297 << Callee->getName() << "'\n");
314 if (Function *Callee = CS.getCalledFunction()) {
315 CalleeNode = CG.getOrInsertFunction(Callee);
H A DGlobalsModRef.cpp408 if (Function *Callee = CI->second->getFunction()) {
409 if (FunctionRecord *CalleeFR = getFunctionInfo(Callee)) {
420 CallGraphNode *CalleeNode = CG[Callee];
457 Function *Callee = Intrinsic->getCalledFunction(); local
458 ModRefBehavior Behaviour = AliasAnalysis::getModRefBehavior(Callee);
/external/llvm/lib/IR/
H A DIRBuilder.cpp55 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, argument
57 CallInst *CI = CallInst::Create(Callee, Ops, "");
/external/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp162 Value *Callee = CS.getCalledValue(); local
164 if (!isa<Function>(Callee) && isInterestingPointer(Callee))
165 Pointers.insert(Callee);
H A DLazyCallGraph.cpp78 void LazyCallGraph::Node::insertEdgeInternal(Function &Callee) { argument
79 if (Node *N = G->lookup(Callee))
82 CalleeIndexMap.insert(std::make_pair(&Callee, Callees.size()));
83 Callees.push_back(&Callee);
91 void LazyCallGraph::Node::removeEdgeInternal(Function &Callee) { argument
92 auto IndexMapI = CalleeIndexMap.find(&Callee);
94 "Callee not in the callee set for this caller?");
185 assert(G->SCCMap.lookup(&CalleeN) == this && "Callee must be in this SCC.");
197 assert(&CalleeC != this && "Callee must not be in this SCC.");
199 "Callee mus
531 insertEdge(Node &CallerN, Function &Callee) argument
538 removeEdge(Node &CallerN, Function &Callee) argument
[all...]
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp344 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/clang/lib/Analysis/
H A DReachableCode.cpp183 const FunctionDecl *Callee = local
185 return Callee ? Callee->isConstexpr() : false;
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp106 std::string Callee; member in class:__anon25450::CallExprAST
110 : Callee(callee), Args(args) {}
/external/llvm/include/llvm/Analysis/
H A DLazyCallGraph.h180 void insertEdgeInternal(Function &Callee);
186 void removeEdgeInternal(Function &Callee);
308 /// Both the \a Caller and the \a Callee must be within this SCC. Removing
442 void insertEdge(Node &Caller, Function &Callee);
445 void insertEdge(Function &Caller, Function &Callee) { argument
446 return insertEdge(get(Caller), Callee);
450 void removeEdge(Node &Caller, Function &Callee);
453 void removeEdge(Function &Caller, Function &Callee) { argument
454 return removeEdge(get(Caller), Callee);
/external/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp483 MCOperand Callee, Sym; local
484 MCInstLowering.lowerOperand(MI->getOperand(0), Callee);
498 BLR.addOperand(Callee);
/external/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp315 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), local
317 CallInst *CI = B.CreateCall(Callee, Op, Name);
319 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts()))
336 Value *Callee = M->getOrInsertFunction(Name, Op1->getType(), local
338 CallInst *CI = B.CreateCall2(Callee, Op1, Op2, Name);
340 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts()))
504 Function *Callee = CI->getCalledFunction(); local
505 StringRef Name = Callee->getName();
506 FunctionType *FT = Callee->getFunctionType();
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTestBase.h65 // Inserts a simple function that invokes Callee and takes the same arguments:
66 // int Caller(...) { return Callee(...); }
68 Function *insertSimpleCallFunction(Module *M, Function *Callee) { argument
77 Value *ReturnCode = Builder.CreateCall(Callee, CallArgs);
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp119 std::string Callee; member in class:__anon25451::CallExprAST
123 : Callee(callee), Args(args) {}
386 Function *CalleeF = TheModule->getFunction(Callee);

Completed in 1640 milliseconds

1234