Home
last modified time | relevance | path

Searched refs:Callee (Results 1 – 25 of 146) sorted by relevance

123456

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp188 Function *Callee = CI->getCalledFunction(); in optimizeStrCat() local
190 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCat()
236 Function *Callee = CI->getCalledFunction(); in optimizeStrNCat() local
238 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCat()
278 Function *Callee = CI->getCalledFunction(); in optimizeStrChr() local
280 FunctionType *FT = Callee->getFunctionType(); in optimizeStrChr()
323 Function *Callee = CI->getCalledFunction(); in optimizeStrRChr() local
325 FunctionType *FT = Callee->getFunctionType(); in optimizeStrRChr()
358 Function *Callee = CI->getCalledFunction(); in optimizeStrCmp() local
360 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCmp()
[all …]
/external/llvm/lib/Transforms/IPO/
DInliner.cpp90 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) { in AdjustCallerSSPLevel() argument
101 if (Callee->hasFnAttribute(Attribute::StackProtectReq)) { in AdjustCallerSSPLevel()
104 } else if (Callee->hasFnAttribute(Attribute::StackProtectStrong) && in AdjustCallerSSPLevel()
108 } else if (Callee->hasFnAttribute(Attribute::StackProtect) && in AdjustCallerSSPLevel()
125 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible() local
133 AdjustCallerSSPLevel(Caller, Callee); in InlineCallIfPossible()
269 Function *Callee = CS.getCalledFunction(); in getInlineThreshold() local
270 bool InlineHint = Callee && !Callee->isDeclaration() && in getInlineThreshold()
271 Callee->hasFnAttribute(Attribute::InlineHint); in getInlineThreshold()
277 bool ColdCallee = Callee && !Callee->isDeclaration() && in getInlineThreshold()
[all …]
DInlineAlways.cpp96 Function *Callee = CS.getCalledFunction(); in getInlineCost() local
101 if (Callee && !Callee->isDeclaration() && in getInlineCost()
103 ICA->isInlineViable(*Callee)) in getInlineCost()
/external/llvm/lib/Analysis/IPA/
DCallGraph.cpp83 const Function *Callee = CS.getCalledFunction(); in addToCallGraph() local
84 if (!Callee) in addToCallGraph()
87 else if (!Callee->isIntrinsic()) in addToCallGraph()
88 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph()
197 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { in removeAnyCallEdgeTo() argument
199 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo()
200 Callee->DropRef(); in removeAnyCallEdgeTo()
209 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { in removeOneAbstractEdgeTo() argument
213 if (CR.second == Callee && CR.first == nullptr) { in removeOneAbstractEdgeTo()
214 Callee->DropRef(); in removeOneAbstractEdgeTo()
DCallGraphSCCPass.cpp250 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph() local
252 if (!Callee || !(Callee->isIntrinsic())) in RefreshCallGraph()
266 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph() local
267 if (Callee && Callee->isIntrinsic()) continue; in RefreshCallGraph()
298 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph() local
299 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
305 << Callee->getName() << "'\n"); in RefreshCallGraph()
322 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph() local
323 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
DInlineCost.cpp147 Function &Callee, int Threshold) in CallAnalyzer() argument
148 : TTI(TTI), ACT(ACT), F(Callee), Threshold(Threshold), Cost(0), in CallAnalyzer()
776 Value *Callee = CS.getCalledValue(); in visitCallSite() local
784 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee)); in visitCallSite()
1301 Function *Callee) { in functionsHaveCompatibleAttributes() argument
1302 return attributeMatches(Caller, Callee, "target-cpu") && in functionsHaveCompatibleAttributes()
1303 attributeMatches(Caller, Callee, "target-features") && in functionsHaveCompatibleAttributes()
1304 attributeMatches(Caller, Callee, Attribute::SanitizeAddress) && in functionsHaveCompatibleAttributes()
1305 attributeMatches(Caller, Callee, Attribute::SanitizeMemory) && in functionsHaveCompatibleAttributes()
1306 attributeMatches(Caller, Callee, Attribute::SanitizeThread); in functionsHaveCompatibleAttributes()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp72 if (const Function *Callee = CS.getCalledFunction()) { in MayAutorelease() local
73 if (Callee->isDeclaration() || Callee->mayBeOverridden()) in MayAutorelease()
75 for (Function::const_iterator I = Callee->begin(), E = Callee->end(); in MayAutorelease()
/external/llvm/include/llvm/Analysis/
DLazyCallGraph.h180 void insertEdgeInternal(Function &Callee);
186 void removeEdgeInternal(Function &Callee);
448 void insertEdge(Node &Caller, Function &Callee);
451 void insertEdge(Function &Caller, Function &Callee) { in insertEdge() argument
452 return insertEdge(get(Caller), Callee); in insertEdge()
456 void removeEdge(Node &Caller, Function &Callee);
459 void removeEdge(Function &Caller, Function &Callee) { in removeEdge() argument
460 return removeEdge(get(Caller), Callee); in removeEdge()
DInlineCost.h135 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
138 bool isInlineViable(Function &Callee);
/external/clang/examples/analyzer-plugin/
DMainCallChecker.cpp21 const Expr *Callee = CE->getCallee(); in checkPreStmt() local
22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); in checkPreStmt()
41 report->addRange(Callee->getSourceRange()); in checkPreStmt()
/external/valgrind/docs/internals/
Dregister-uses.txt11 Reg Callee Arg
34 Reg Callee Arg
61 Reg Callee Arg
98 Reg Callee Arg
108 Reg Callee Arg
140 Reg Callee Arg
153 r21 y "Callee saved" GSP
154 r22-28 y "Callee saved"
180 Reg Callee Arg
217 Reg Callee Arg
[all …]
/external/llvm/lib/Analysis/
DLazyCallGraph.cpp78 void LazyCallGraph::Node::insertEdgeInternal(Function &Callee) { in insertEdgeInternal() argument
79 if (Node *N = G->lookup(Callee)) in insertEdgeInternal()
82 CalleeIndexMap.insert(std::make_pair(&Callee, Callees.size())); in insertEdgeInternal()
83 Callees.push_back(&Callee); in insertEdgeInternal()
91 void LazyCallGraph::Node::removeEdgeInternal(Function &Callee) { in removeEdgeInternal() argument
92 auto IndexMapI = CalleeIndexMap.find(&Callee); in removeEdgeInternal()
531 void LazyCallGraph::insertEdge(Node &CallerN, Function &Callee) { in insertEdge() argument
535 return CallerN.insertEdgeInternal(Callee); in insertEdge()
538 void LazyCallGraph::removeEdge(Node &CallerN, Function &Callee) { in removeEdge() argument
542 return CallerN.removeEdgeInternal(Callee); in removeEdge()
[all …]
DMemoryBuiltins.cpp85 Function *Callee = CS.getCalledFunction(); in getCalledFunction() local
86 if (!Callee || !Callee->isDeclaration()) in getCalledFunction()
88 return Callee; in getCalledFunction()
100 Function *Callee = getCalledFunction(V, LookThroughBitCast); in getAllocationData() local
101 if (!Callee) in getAllocationData()
105 StringRef FnName = Callee->getName(); in getAllocationData()
128 FunctionType *FTy = Callee->getFunctionType(); in getAllocationData()
304 Function *Callee = CI->getCalledFunction(); in isFreeCall() local
305 if (Callee == nullptr) in isFreeCall()
308 StringRef FnName = Callee->getName(); in isFreeCall()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DNoReturnFunctionChecker.cpp48 const Expr *Callee = CE.getOriginExpr(); in checkPostCall() local
49 if (!BuildSinks && Callee) in checkPostCall()
50 BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn(); in checkPostCall()
DMallocSizeofChecker.cpp224 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); in checkASTCodeBody() local
225 if (Callee && Callee->getIdentifier()) in checkASTCodeBody()
226 OS << '\'' << Callee->getIdentifier()->getName() << '\''; in checkASTCodeBody()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1342 static IntrinsicInst *FindInitTrampoline(Value *Callee) { in FindInitTrampoline() argument
1343 Callee = Callee->stripPointerCasts(); in FindInitTrampoline()
1344 IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee); in FindInitTrampoline()
1368 Value *Callee = CS.getCalledValue(); in visitCallSite() local
1369 if (!isa<Function>(Callee) && transformConstExprCastCall(CS)) in visitCallSite()
1372 if (Function *CalleeF = dyn_cast<Function>(Callee)) in visitCallSite()
1381 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
1382 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())), in visitCallSite()
1398 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) { in visitCallSite()
1413 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
[all …]
/external/clang/lib/CodeGen/
DCGExprCXX.cpp28 CodeGenFunction &CGF, const CXXMethodDecl *MD, llvm::Value *Callee, in commonEmitCXXMemberOrOperatorCall() argument
73 const CXXMethodDecl *MD, llvm::Value *Callee, ReturnValueSlot ReturnValue, in EmitCXXMemberOrOperatorCall() argument
79 *this, MD, Callee, ReturnValue, This, ImplicitParam, ImplicitParamTy, CE, in EmitCXXMemberOrOperatorCall()
82 Callee, ReturnValue, Args, MD); in EmitCXXMemberOrOperatorCall()
86 const CXXMethodDecl *MD, llvm::Value *Callee, ReturnValueSlot ReturnValue, in EmitCXXStructorCall() argument
90 commonEmitCXXMemberOrOperatorCall(*this, MD, Callee, ReturnValue, This, in EmitCXXStructorCall()
93 Callee, ReturnValue, Args, MD); in EmitCXXStructorCall()
118 llvm::Value *Callee = CGM.GetAddrOfFunction(MD); in EmitCXXMemberCallExpr() local
119 return EmitCall(getContext().getPointerType(MD->getType()), Callee, CE, in EmitCXXMemberCallExpr()
228 llvm::Value *Callee; in EmitCXXMemberOrOperatorMemberCallExpr() local
[all …]
DCGCUDARuntime.cpp47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr() local
48 CGF.EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, TargetDecl); in EmitCUDAKernelCallExpr()
/external/llvm/test/Transforms/Inline/
D2003-09-14-InlineValue.ll5 define internal i32 @Callee() {
12 %V = invoke i32 @Callee( )
/external/llvm/lib/Target/Mips/
DMipsCCState.cpp64 MipsCCState::getSpecialCallingConvForCallee(const SDNode *Callee, in getSpecialCallingConvForCallee() argument
69 dyn_cast<const GlobalAddressSDNode>(Callee)) { in getSpecialCallingConvForCallee()
85 originalTypeIsF128(CLI.RetTy, CLI.Callee.getNode())); in PreAnalyzeCallResultForF128()
/external/llvm/include/llvm/CodeGen/
DFastISel.h71 const Value *Callee; member
91 Callee(nullptr), SymName(nullptr), CS(nullptr), Call(nullptr), in CallLoweringInfo()
98 Callee = Target; in setCallee()
121 Callee = Call.getCalledValue();
144 Callee = Target;
570 const Value *Callee, bool ForceRetVoidTy,
/external/llvm/test/Instrumentation/MemorySanitizer/
Dbyval-alignment.ll16 call void @Callee(i32 1, %struct.S* byval align 16 %agg.tmp)
20 declare void @Callee(i32, %struct.S* byval align 16)
/external/llvm/test/CodeGen/Thumb2/
D2010-08-10-VarSizedAllocaBug.ll5 define internal fastcc i32 @Callee(i32 %i) nounwind {
7 ; CHECK-LABEL: Callee:
43 %1 = tail call fastcc i32 @Callee(i32 %0) nounwind ; <i32> [#uses=1]
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp344 const Function *Callee = CI->getCalledFunction(); in LowerIntrinsicCall() local
345 assert(Callee && "Cannot lower an indirect call!"); in LowerIntrinsicCall()
348 switch (Callee->getIntrinsicID()) { in LowerIntrinsicCall()
351 Callee->getName() + "'!"); in LowerIntrinsicCall()
354 Callee->getName()+"'!"); in LowerIntrinsicCall()
419 << (Callee->getIntrinsicID() == Intrinsic::stacksave ? in LowerIntrinsicCall()
422 if (Callee->getIntrinsicID() == Intrinsic::stacksave) in LowerIntrinsicCall()
430 << (Callee->getIntrinsicID() == Intrinsic::returnaddress ? in LowerIntrinsicCall()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp24 const Expr *Callee = CE->getCallee(); in getCalleeDecl() local
25 SVal L = State->getSVal(Callee, Pred->getLocationContext()); in getCalleeDecl()

123456