Searched refs:Caller (Results 1 - 25 of 55) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DInlineAlways.cpp50 void resetCachedCostInfo(Function *Caller) { argument
51 CA.resetCachedCostInfo(Caller);
53 void growCachedCostInfo(Function* Caller, Function* Callee) { argument
54 CA.growCachedCostInfo(Caller, Callee);
H A DInlineSimple.cpp50 void resetCachedCostInfo(Function *Caller) { argument
51 CA.resetCachedCostInfo(Caller);
53 void growCachedCostInfo(Function* Caller, Function* Callee) { argument
54 CA.growCachedCostInfo(Caller, Callee);
H A DInliner.cpp80 Function *Caller = CS.getCaller(); local
90 Caller->addFnAttr(Attribute::StackProtectReq);
92 !Caller->hasFnAttr(Attribute::StackProtectReq))
93 Caller->addFnAttr(Attribute::StackProtect);
201 Function *Caller = CS.getCaller(); local
202 if (Caller && !Caller->isDeclaration() &&
203 Caller->hasFnAttr(Attribute::OptimizeForSize) &&
234 Function *Caller = CS.getCaller(); local
251 if (Caller
404 Function *Caller = CS.getCaller(); local
[all...]
/external/llvm/lib/Transforms/IPO/
H A DInliner.cpp82 Function *Caller = CS.getCaller(); local
97 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee);
191 const DataLayout &DL = Caller->getParent()->getDataLayout();
226 Function *Caller = CS.getCaller(); local
227 LLVMContext &Ctx = Caller->getContext();
229 emitOptimizationRemarkAnalysis(Ctx, DEBUG_TYPE, *Caller, DLoc, Msg);
232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, argument
236 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage())
258 bool callerWillBeRemoved = Caller
322 Function *Caller = CS.getCaller(); local
454 Function *Caller = CS.getCaller(); local
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
H A DInlinerPass.h54 /// Calculate the inline threshold for given Caller. This threshold is lower
76 virtual void resetCachedCostInfo(Function* Caller) = 0;
78 /// growCachedCostInfo - update the cached cost info for Caller after Callee
80 virtual void growCachedCostInfo(Function *Caller, Function *Callee) = 0;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DAttributes.inc435 static inline bool hasCompatibleFnAttrs(const Function &Caller,
439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
442 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
447 static inline void mergeFnAttrs(Function &Caller,
449 adjustCallerSSPLevel(Caller, Callee);
450 setAND<LessPreciseFPMADAttr>(Caller, Callee);
451 setAND<NoInfsFPMathAttr>(Caller, Callee);
452 setAND<NoNansFPMathAttr>(Caller, Calle
[all...]
/external/swiftshader/third_party/subzero/crosstest/
H A Dtest_calling_conv_main.cpp38 // llc, pass arguments to the callee in the same way. The Caller() and
68 void (*Caller)(void);
106 Funcs[f].Caller();
116 std::cout << "testCaller(Caller=" << Funcs[f].CallerName
129 void (*Caller)(void);
156 Funcs[f].Caller();
160 Funcs[f].Caller();
167 std::cout << "testCallee(Caller=" << Funcs[f].CallerName
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DInlineFunction.cpp611 Function *Caller = FirstNewBlock->getParent(); local
628 for (Function::iterator BB = FirstNewBlock, E = Caller->end(); BB != E; ++BB){
673 const Function *Caller = CS.getInstruction()->getParent()->getParent(); local
676 CallGraphNode *CallerNode = CG[Caller];
723 // Update the call graph by deleting the edge from Callee to Caller. We must
724 // do this after the loop above in case Caller and Callee are the same.
770 Function *Caller = TheCall->getParent()->getParent(); local
773 &*Caller->begin()->begin());
776 Function *MemCpyFn = Intrinsic::getDeclaration(Caller->getParent(),
914 Function *Caller local
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DInlineCost.h171 void resetCachedCostInfo(Function* Caller) { argument
172 CachedFunctionInfo[Caller] = FunctionInfo();
175 /// growCachedCostInfo - update the cached cost info for Caller after Callee
178 void growCachedCostInfo(Function* Caller, Function* Callee);
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp512 Function *Caller = FirstNewBlock->getParent(); local
521 for (Function::iterator I = FirstNewBlock->getIterator(), E = Caller->end();
538 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end();
568 Function *Caller = FirstNewBlock->getParent(); local
599 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end();
614 ConstantTokenNone::get(Caller->getContext());
647 UnwindDestToken = ConstantTokenNone::get(Caller->getContext());
676 E = Caller->end();
1100 const Function *Caller = CS.getInstruction()->getParent()->getParent(); local
1103 CallGraphNode *CallerNode = CG[Caller];
1185 Function *Caller = TheCall->getParent()->getParent(); local
1385 Function *Caller = OrigBB->getParent(); local
[all...]
/external/llvm/include/llvm/Transforms/IPO/
H A DInlinerPass.h84 bool shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC,
/external/clang/lib/Sema/
H A DSemaCUDA.cpp95 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller, argument
100 (Caller != nullptr) ? IdentifyCUDATarget(Caller) : Sema::CFT_Host;
150 Sema &S, const FunctionDecl *Caller, llvm::SmallVectorImpl<T> &Matches,
155 // Gets the CUDA function preference for a call from Caller to Match.
157 return S.IdentifyCUDAPreference(Caller, FetchDecl(Match));
172 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller, argument
175 *this, Caller, Matches, [](const FunctionDecl *item) { return item; });
178 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller, argument
181 *this, Caller, Matche
149 EraseUnwantedCUDAMatchesImpl( Sema &S, const FunctionDecl *Caller, llvm::SmallVectorImpl<T> &Matches, std::function<const FunctionDecl *(const T &)> FetchDecl) argument
186 EraseUnwantedCUDAMatches( const FunctionDecl *Caller, SmallVectorImpl<std::pair<DeclAccessPair, FunctionDecl *>> &Matches) argument
[all...]
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h68 CallSite Caller; // Holds the call that called subframes. member in struct:llvm::ExecutionContext
78 Caller(O.Caller), Values(std::move(O.Values)),
85 Caller = O.Caller;
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1003 Instruction *Caller = CS.getInstruction();
1011 Type *OldRetTy = Caller->getType();
1023 OldRetTy == TD->getIntPtrType(Caller->getContext())) &&
1025 NewRetTy == TD->getIntPtrType(Caller->getContext()))))
1028 if (!Caller->use_empty() &&
1033 if (!CallerPAL.isEmpty() && !Caller->use_empty()) {
1043 if (!Caller->use_empty())
1044 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller))
1085 ParamTy == TD->getIntPtrType(Caller->getContext())) &&
1087 ActTy == TD->getIntPtrType(Caller
1280 Instruction *Caller = CS.getInstruction(); local
[all...]
/external/spirv-llvm/lib/SPIRV/
H A DOCLTypeToSPIRV.cpp257 auto Caller = cast<Argument>(SamplerArg)->getParent();
258 addWork(Caller);
259 TraceArg(Caller, getArgIndex(Caller, SamplerArg));
/external/ppp/pppd/plugins/radius/etc/
H A Ddictionary.compat32 ATTRIBUTE Caller-ID 31 string
/external/llvm/lib/IR/
H A DAttributes.cpp1572 static bool isEqual(const Function &Caller, const Function &Callee) { argument
1573 return Caller.getFnAttribute(AttrClass::getKind()) ==
1583 static void setAND(Function &Caller, const Function &Callee) { argument
1584 if (AttrClass::isSet(Caller, AttrClass::getKind()) &&
1586 AttrClass::set(Caller, AttrClass::getKind(), false);
1595 static void setOR(Function &Caller, const Function &Callee) { argument
1596 if (!AttrClass::isSet(Caller, AttrClass::getKind()) &&
1598 AttrClass::set(Caller, AttrClass::getKind(), true);
1603 static void adjustCallerSSPLevel(Function &Caller, const Function &Callee) { argument
1611 AttributeSet OldSSPAttr = AttributeSet::get(Caller
1631 areInlineCompatible(const Function &Caller, const Function &Callee) argument
1637 mergeAttributesForInlining(Function &Caller, const Function &Callee) argument
[all...]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
H A DScopeRequestIntegrationTest.java118 Callable<SomeObject> callable = injector.getInstance(Caller.class);
129 callable = ServletScopes.scopeRequest(injector.getInstance(Caller.class), map);
161 private static class Caller implements Callable<SomeObject> { class in class:ScopeRequestIntegrationTest
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DInlineCost.cpp482 Function *Caller = TheCall->getParent()->getParent(); local
512 FunctionInfo &CallerFI = CachedFunctionInfo[Caller];
516 CallerFI.analyzeFunction(Caller, TD);
518 // Recompute the CalleeFI pointer, getting Caller could have invalidated
597 /// growCachedCostInfo - update the cached cost info for Caller after Callee has
600 InlineCostAnalyzer::growCachedCostInfo(Function *Caller, Function *Callee) { argument
601 CodeMetrics &CallerMetrics = CachedFunctionInfo[Caller].Metrics;
605 resetCachedCostInfo(Caller);
622 resetCachedCostInfo(Caller);
649 // Caller i
[all...]
/external/llvm/include/llvm/Analysis/
H A DLazyCallGraph.h816 void insertEdge(Node &Caller, Function &Callee, Edge::Kind EK);
819 void insertEdge(Function &Caller, Function &Callee, Edge::Kind EK) { argument
820 return insertEdge(get(Caller), Callee, EK);
824 void removeEdge(Node &Caller, Function &Callee);
827 void removeEdge(Function &Caller, Function &Callee) { argument
828 return removeEdge(get(Caller), Callee);
H A DTargetTransformInfoImpl.h377 bool areInlineCompatible(const Function *Caller, argument
379 return (Caller->getFnAttribute("target-cpu") ==
381 (Caller->getFnAttribute("target-features") ==
/external/llvm/lib/Analysis/
H A DInlineCost.cpp622 Function *Caller = CS.getCaller(); local
630 if (Caller->optForMinSize() && OptMinSizeThreshold < Threshold)
632 else if (Caller->optForSize() && OptSizeThreshold < Threshold)
648 if (InlineHint && HintThreshold > Threshold && !Caller->optForMinSize())
1274 Function *Caller = CS.getInstruction()->getParent()->getParent();
1276 for (User *U : Caller->users()) {
1281 if (I->getParent()->getParent() == Caller) {
1438 /// \brief Test that there are no attribute conflicts between Caller and Callee
1440 static bool functionsHaveCompatibleAttributes(Function *Caller, argument
1443 return TTI.areInlineCompatible(Caller, Calle
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2624 Instruction *Caller = CS.getInstruction();
2632 Type *OldRetTy = Caller->getType();
2645 if (!Caller->use_empty() &&
2651 if (!CallerPAL.isEmpty() && !Caller->use_empty()) {
2661 if (!Caller->use_empty())
2662 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller))
2771 attrVec.push_back(AttributeSet::get(Caller->getContext(),
2787 attrVec.push_back(AttributeSet::get(Caller->getContext(), i + 1,
2826 Caller->setName(""); // Void type should not have a name.
2835 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
2926 Instruction *Caller = CS.getInstruction(); local
[all...]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp603 if (Instruction *I = CallingSF.Caller.getInstruction()) {
605 if (!CallingSF.Caller.getType()->isVoidTy())
609 CallingSF.Caller = CallSite(); // We returned from the call...
635 Inst = ECStack.back().Caller.getInstruction();
640 InvokingSF.Caller = CallSite();
879 SF.Caller = CS;
881 const unsigned NumArgs = SF.Caller.arg_size();
884 for (CallSite::arg_iterator i = SF.Caller.arg_begin(),
885 e = SF.Caller.arg_end(); i != e; ++i, ++pNum) {
892 GenericValue SRC = getOperandValue(SF.Caller
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h101 bool areInlineCompatible(const Function *Caller,

Completed in 621 milliseconds

123