Searched refs:CS (Results 1 - 25 of 376) sorted by relevance

1234567891011>>

/external/llvm/lib/IR/
H A DStatepoint.cpp21 static const Function *getCalledFunction(ImmutableCallSite CS) { argument
22 if (!CS.getInstruction())
24 return CS.getCalledFunction();
27 bool llvm::isStatepoint(ImmutableCallSite CS) { argument
28 if (auto *F = getCalledFunction(CS))
34 if (auto CS = ImmutableCallSite(V))
35 return isStatepoint(CS);
43 bool llvm::isGCRelocate(ImmutableCallSite CS) { argument
44 return CS.getInstruction() && isa<GCRelocateInst>(CS
47 isGCResult(ImmutableCallSite CS) argument
[all...]
/external/jsilver/src/org/clearsilver/
H A DClearsilverFactory.java20 * A factory for constructing new CS and HDF objects. Allows applications to
21 * provide subclasses of HDF or CS to be used by the Java Clearsilver
27 * Create a new CS object.
28 * @param hdf the HDF object to use in constructing the CS object.
29 * @return a new CS object
31 public CS newCs(HDF hdf);
34 * Create a new CS object.
35 * @param hdf the HDF object to use in constructing the CS object.
37 * CS object.
38 * @return a new CS objec
[all...]
H A DDelegatedCs.java22 * Utility class that delegates all methods of an CS object. Made to
23 * facilitate the transition to CS being an interface and thus not
26 * This class, and its subclasses must take care to wrap or unwrap HDF and CS
30 public abstract class DelegatedCs implements CS {
31 private final CS cs;
33 public DelegatedCs(CS cs) {
38 public CS getCs() {
H A DCS.java22 public interface CS extends Closeable { interface in inherits:Closeable
35 * Clean up CS object state.
50 * Parse the given string as a CS template.
56 * Generate output from the CS templates and HDF objects that have been read
69 * Set the CS file loader to use
/external/clang/test/CodeGenCXX/
H A D2003-11-27-MultipleInheritanceThunk.cpp8 CallSite(const CallSite &CS);
14 virtual int getModRefInfo(CallSite CS);
24 int getModRefInfo(CallSite CS) { argument
/external/llvm/include/llvm/Analysis/
H A DIndirectCallSiteVisitor.h23 void visitCallSite(CallSite CS) { argument
24 if (CS.getCalledFunction() || !CS.getCalledValue())
26 Instruction *I = CS.getInstruction();
31 if (isa<Constant>(CS.getCalledValue()))
H A DTypeMetadataUtils.h28 CallSite CS; member in struct:llvm::DevirtCallSite
/external/llvm/tools/opt/
H A DAnalysisWrappers.cpp44 CallSite CS(cast<Value>(UI));
45 if (!CS) continue;
47 for (CallSite::arg_iterator AI = CS.arg_begin(),
48 E = CS.arg_end(); AI != E; ++AI) {
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
H A DInlinerPass.h59 unsigned getInlineThreshold(CallSite CS) const;
66 virtual InlineCost getInlineCost(CallSite CS) = 0;
71 virtual float getInlineFudgeFactor(CallSite CS) = 0;
92 bool shouldInline(CallSite CS);
/external/ltp/testcases/realtime/stress/pi-tests/
H A Dlookup_pi_state.c46 pthread_cond_t CS; variable
87 printf("Slave thread %d waiting on CS,MS\n", id);
88 pthread_cond_wait(&CS, &MS); // docs are contradictory on if this
97 pthread_cond_wait(&CS, &MS);
125 pthread_cond_signal(&CS);
126 pthread_cond_signal(&CS);
127 pthread_cond_signal(&CS);
130 pthread_cond_broadcast(&CS);
131 pthread_cond_broadcast(&CS);
132 pthread_cond_broadcast(&CS);
[all...]
/external/llvm/lib/Transforms/IPO/
H A DInliner.cpp78 static bool InlineCallIfPossible(Pass &P, CallSite CS, InlineFunctionInfo &IFI, argument
81 Function *Callee = CS.getCalledFunction();
82 Function *Caller = CS.getCaller();
94 if (!InlineFunction(CS, IFI, &AAR, InsertLifetime))
122 // When processing our SCC, check to see if CS was inlined from some other
225 static void emitAnalysis(CallSite CS, const Twine &Msg) { argument
226 Function *Caller = CS.getCaller();
228 DebugLoc DLoc = CS.getInstruction()->getDebugLoc();
232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, argument
303 bool Inliner::shouldInline(CallSite CS) { argument
452 CallSite CS = CallSites[CSi].first; local
[all...]
H A DInlineAlways.cpp54 InlineCost getInlineCost(CallSite CS) override;
92 InlineCost AlwaysInliner::getInlineCost(CallSite CS) { argument
93 Function *Callee = CS.getCalledFunction();
99 CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee))
/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyOptimizeReturned.cpp46 void visitCallSite(CallSite CS);
55 void OptimizeReturned::visitCallSite(CallSite CS) { argument
56 for (unsigned i = 0, e = CS.getNumArgOperands(); i < e; ++i)
57 if (CS.paramHasAttr(1 + i, Attribute::Returned)) {
58 Instruction *Inst = CS.getInstruction();
59 Value *Arg = CS.getArgOperand(i);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
H A Downer_less.pass.cpp66 typedef std::owner_less<std::shared_ptr<int> > CS; typedef
67 CS cs;
69 static_assert((std::is_same<std::shared_ptr<int>, CS::first_argument_type>::value), "" );
70 static_assert((std::is_same<std::shared_ptr<int>, CS::second_argument_type>::value), "" );
71 static_assert((std::is_same<bool, CS::result_type>::value), "" );
84 typedef std::owner_less<std::weak_ptr<int> > CS; typedef
85 CS cs;
87 static_assert((std::is_same<std::weak_ptr<int>, CS::first_argument_type>::value), "" );
88 static_assert((std::is_same<std::weak_ptr<int>, CS::second_argument_type>::value), "" );
89 static_assert((std::is_same<bool, CS
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DBasicInliner.cpp85 CallSite CS(cast<Value>(I));
86 if (CS && CS.getCalledFunction()
87 && !CS.getCalledFunction()->isDeclaration())
88 CallSites.push_back(CS);
100 CallSite CS = CallSites[index]; local
101 if (Function *Callee = CS.getCalledFunction()) {
105 CS.getInstruction()->getParent()->getParent() == Callee) {
110 InlineCost IC = CA.getInlineCost(CS, NeverInline);
113 <<", call: " << *CS
[all...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DLibCallAliasAnalysis.cpp46 ImmutableCallSite CS,
69 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
90 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
120 LibCallAliasAnalysis::getModRefInfo(ImmutableCallSite CS, argument
127 if (const Function *F = CS.getCalledFunction()) {
129 MRInfo = ModRefResult(MRInfo & AnalyzeLibCallDetails(FI, CS, Loc));
136 return (ModRefResult)(MRInfo | AliasAnalysis::getModRefInfo(CS, Loc));
45 AnalyzeLibCallDetails(const LibCallFunctionInfo *FI, ImmutableCallSite CS, const Location &Loc) argument
H A DCaptureTracking.cpp73 CallSite CS(I);
77 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy())
87 CallSite::arg_iterator B = CS.arg_begin(), E = CS.arg_end();
89 if (A->get() == V && !CS.paramHasAttr(A - B + 1, Attribute::NoCapture))
/external/jsilver/src/org/clearsilver/jni/
H A DJniClearsilverFactory.java19 import org.clearsilver.CS;
33 * {@link #newCs} will be fully unwrapped before being passed to CS
43 * {@link org.clearsilver.HDF} object to the {@link org.clearsilver.CS}
58 * Create a new CS object.
59 * @param hdf the HDF object to use in constructing the CS object.
60 * @return a new CS object
62 public CS newCs(HDF hdf) {
70 * Create a new CS object. Also checks and unwraps any DelegatedHdfs
72 * @param hdf the HDF object to use in constructing the CS object.
74 * CS objec
[all...]
/external/llvm/include/llvm/Transforms/IPO/
H A DInlinerPass.h56 virtual InlineCost getInlineCost(CallSite CS) = 0;
78 bool shouldInline(CallSite CS);
79 /// Return true if inlining of CS can block the caller from being
81 /// estimated inline cost associated with callsite \p CS.
83 /// if \p CS is suppressed for inlining.
84 bool shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC,
/external/llvm/lib/Analysis/
H A DAliasAnalysisSummary.cpp78 CallSite CS) {
80 auto Value = (Index == 0) ? CS.getInstruction() : CS.getArgument(Index - 1);
87 instantiateExternalRelation(ExternalRelation ERelation, CallSite CS) { argument
88 auto From = instantiateInterfaceValue(ERelation.From, CS);
91 auto To = instantiateInterfaceValue(ERelation.To, CS);
98 CallSite CS) {
99 auto Value = instantiateInterfaceValue(EAttr.IValue, CS);
77 instantiateInterfaceValue(InterfaceValue IValue, CallSite CS) argument
97 instantiateExternalAttribute(ExternalAttribute EAttr, CallSite CS) argument
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DInliner.cpp76 static bool InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI, argument
79 Function *Callee = CS.getCalledFunction();
80 Function *Caller = CS.getCaller();
84 if (!InlineFunction(CS, IFI))
118 // When processing our SCC, check to see if CS was inlined from some other
197 unsigned Inliner::getInlineThreshold(CallSite CS) const {
201 Function *Caller = CS.getCaller();
208 Function *Callee = CS.getCalledFunction();
218 bool Inliner::shouldInline(CallSite CS) { argument
219 InlineCost IC = getInlineCost(CS);
402 CallSite CS = CallSites[CSi].first; local
[all...]
H A DInlineAlways.cpp44 InlineCost getInlineCost(CallSite CS) { argument
45 return CA.getInlineCost(CS, NeverInline);
47 float getInlineFudgeFactor(CallSite CS) { argument
48 return CA.getInlineFudgeFactor(CS);
/external/swiftshader/third_party/LLVM/tools/opt/
H A DAnalysisWrappers.cpp45 CallSite CS(cast<Value>(User));
46 if (!CS) continue;
48 for (CallSite::arg_iterator AI = CS.arg_begin(),
49 E = CS.arg_end(); AI != E; ++AI) {
/external/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp47 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); local
48 assert(CS && "Unrecognized type in llvm.global_ctors/llvm.global_dtors");
50 Constant *FuncC = CS->getOperand(1);
69 ConstantInt *Priority = dyn_cast<ConstantInt>(CS->getOperand(0));
70 Value *Data = CS->getOperand(2);
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DInlineCost.h132 int ConstantFunctionBonus(CallSite CS, Constant *C);
133 int getInlineSize(CallSite CS, Function *Callee);
134 int getInlineBonuses(CallSite CS, Function *Callee);
143 InlineCost getInlineCost(CallSite CS,
150 InlineCost getInlineCost(CallSite CS,
168 float getInlineFudgeFactor(CallSite CS);

Completed in 3294 milliseconds

1234567891011>>