Home
last modified time | relevance | path

Searched refs:CS (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/external/icu/icu4c/source/test/testdata/
DBidiTest.txt117 CS; 3
136 CS; 4
224 CS LRE; 3
225 CS LRO; 3
226 CS RLE; 3
227 CS RLO; 3
228 CS PDF; 3
229 CS BN; 3
307 CS LRE; 4
308 CS LRO; 4
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DBidiTest.txt117 CS; 3
136 CS; 4
224 CS LRE; 3
225 CS LRO; 3
226 CS RLE; 3
227 CS RLO; 3
228 CS PDF; 3
229 CS BN; 3
307 CS LRE; 4
308 CS LRO; 4
[all …]
/external/llvm/lib/Transforms/IPO/
DInliner.cpp122 static bool InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible() argument
125 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
126 Function *Caller = CS.getCaller(); in InlineCallIfPossible()
130 if (!InlineFunction(CS, IFI, InsertLifetime)) in InlineCallIfPossible()
254 unsigned Inliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold()
260 Function *Caller = CS.getCaller(); in getInlineThreshold()
269 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
290 static void emitAnalysis(CallSite CS, const Twine &Msg) { in emitAnalysis() argument
291 Function *Caller = CS.getCaller(); in emitAnalysis()
293 DebugLoc DLoc = CS.getInstruction()->getDebugLoc(); in emitAnalysis()
[all …]
DDeadArgumentElimination.cpp240 CallSite CS(*I++); in DeleteDeadVarargs() local
241 if (!CS) in DeleteDeadVarargs()
243 Instruction *Call = CS.getInstruction(); in DeleteDeadVarargs()
246 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs()
249 AttributeSet PAL = CS.getAttributes(); in DeleteDeadVarargs()
264 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
268 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
368 CallSite CS(U.getUser()); in RemoveDeadArgumentsFromCallers() local
369 if (!CS || !CS.isCallee(&U)) in RemoveDeadArgumentsFromCallers()
376 Value *Arg = CS.getArgument(ArgNo); in RemoveDeadArgumentsFromCallers()
[all …]
DIPConstantPropagation.cpp100 CallSite CS(cast<Instruction>(UR)); in PropagateConstantsIntoArguments() local
101 if (!CS.isCallee(&U)) in PropagateConstantsIntoArguments()
106 CallSite::arg_iterator AI = CS.arg_begin(); in PropagateConstantsIntoArguments()
225 CallSite CS(U.getUser()); in PropagateConstantReturn() local
226 Instruction* Call = CS.getInstruction(); in PropagateConstantReturn()
230 if (!Call || !CS.isCallee(&U)) in PropagateConstantReturn()
244 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
/external/llvm/lib/IR/
DStatepoint.cpp22 bool llvm::isStatepoint(const ImmutableCallSite &CS) { in isStatepoint() argument
23 if (!CS.getInstruction()) { in isStatepoint()
28 const Function *F = CS.getCalledFunction(); in isStatepoint()
33 ImmutableCallSite CS(inst); in isStatepoint() local
34 return isStatepoint(CS); in isStatepoint()
42 bool llvm::isGCRelocate(const ImmutableCallSite &CS) { in isGCRelocate() argument
43 if (!CS.getInstruction()) { in isGCRelocate()
48 return isGCRelocate(CS.getInstruction()); in isGCRelocate()
59 bool llvm::isGCResult(const ImmutableCallSite &CS) { in isGCResult() argument
60 if (!CS.getInstruction()) { in isGCResult()
[all …]
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp180 static bool isGCLeafFunction(const CallSite &CS);
182 static bool needsStatepoint(const CallSite &CS) { in needsStatepoint() argument
183 if (isGCLeafFunction(CS)) in needsStatepoint()
185 if (CS.isCall()) { in needsStatepoint()
186 CallInst *call = cast<CallInst>(CS.getInstruction()); in needsStatepoint()
190 if (isStatepoint(CS) || isGCRelocate(CS) || isGCResult(CS)) { in needsStatepoint()
196 static Value *ReplaceWithStatepoint(const CallSite &CS, Pass *P);
220 if (auto CS = CallSite(&I)) in containsUnconditionalCallSafepoint() local
227 if (needsStatepoint(CS)) in containsUnconditionalCallSafepoint()
466 CallSite CS(inst); in findCallSafepoints() local
[all …]
DMemCpyOptimizer.cpp349 bool processByValArgument(CallSite CS, unsigned ArgNo);
599 CallSite CS(C); in performCallSlotOptzn() local
697 for (unsigned i = 0, e = CS.arg_size(); i != e; ++i) in performCallSlotOptzn()
698 if (CS.getArgument(i) == cpySrc && !CS.doesNotCapture(i)) in performCallSlotOptzn()
722 for (unsigned i = 0; i < CS.arg_size(); ++i) in performCallSlotOptzn()
723 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn()
728 if (CS.getArgument(i)->getType() == Dest->getType()) in performCallSlotOptzn()
729 CS.setArgument(i, Dest); in performCallSlotOptzn()
731 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
732 CS.getArgument(i)->getType(), Dest->getName(), C)); in performCallSlotOptzn()
[all …]
/external/llvm/include/llvm/IR/
DStatepoint.h31 bool isStatepoint(const ImmutableCallSite &CS);
36 bool isGCRelocate(const ImmutableCallSite &CS);
39 bool isGCResult(const ImmutableCallSite &CS);
59 explicit StatepointBase(CallSiteTy CS) : StatepointCS(CS) { in StatepointBase() argument
60 assert(isStatepoint(CS)); in StatepointBase()
169 explicit ImmutableStatepoint(ImmutableCallSite CS) : Base(CS) {} in ImmutableStatepoint() argument
179 explicit Statepoint(CallSite CS) : Base(CS) {} in Statepoint() argument
195 GCRelocateOperands(CallSite CS) : RelocateCS(CS) { in GCRelocateOperands() argument
196 assert(isGCRelocate(CS)); in GCRelocateOperands()
245 ImmutableCallSite CS(statepoint()); in basePtr()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
Downer_less.pass.cpp47 typedef std::owner_less<std::shared_ptr<int> > CS; in main() typedef
48 CS cs; in main()
50 static_assert((std::is_same<std::shared_ptr<int>, CS::first_argument_type>::value), "" ); in main()
51 static_assert((std::is_same<std::shared_ptr<int>, CS::second_argument_type>::value), "" ); in main()
52 static_assert((std::is_same<bool, CS::result_type>::value), "" ); in main()
65 typedef std::owner_less<std::weak_ptr<int> > CS; in main() typedef
66 CS cs; in main()
68 static_assert((std::is_same<std::weak_ptr<int>, CS::first_argument_type>::value), "" ); in main()
69 static_assert((std::is_same<std::weak_ptr<int>, CS::second_argument_type>::value), "" ); in main()
70 static_assert((std::is_same<bool, CS::result_type>::value), "" ); in main()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestData.java27 protected static final int CS = UCharacterDirection.COMMON_NUMBER_SEPARATOR; field in TestData
54 { L, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L }, // 2
55 { L, AL, AL, AL, L, AL, AL, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L }, // 3
56 { AL, R, AL, WS, EN, CS, WS, EN, CS, EN, WS, R, R, WS, L, L }, // 4
67 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
75 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
76 L, L, L, L, L, L, WS, AN, AN, CS, AN, AN, WS }, // 10
79 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
80 L, L, L, L, L, L, WS, AN, AN, CS, AN, AN, WS }, // 11
83 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
[all …]
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp106 bool simplifyCallSite(Function *F, CallSite CS);
137 bool visitCallSite(CallSite CS);
159 bool analyzeCall(CallSite CS);
690 bool CallAnalyzer::simplifyCallSite(Function *F, CallSite CS) { in simplifyCallSite() argument
700 ConstantArgs.reserve(CS.arg_size()); in simplifyCallSite()
701 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); in simplifyCallSite()
712 SimplifiedValues[CS.getInstruction()] = C; in simplifyCallSite()
719 bool CallAnalyzer::visitCallSite(CallSite CS) { in visitCallSite() argument
720 if (CS.hasFnAttr(Attribute::ReturnsTwice) && in visitCallSite()
726 if (CS.isCall() && in visitCallSite()
[all …]
DCallGraphSCCPass.cpp248 CallSite CS(I->first); in RefreshCallGraph() local
249 if (CS) { in RefreshCallGraph()
250 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
264 CallSite CS(cast<Value>(I)); in RefreshCallGraph() local
265 if (!CS) continue; in RefreshCallGraph()
266 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph()
272 CallSites.find(CS.getInstruction()); in RefreshCallGraph()
280 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph()
288 if (CheckingMode && CS.getCalledFunction() && in RefreshCallGraph()
298 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph()
[all …]
DCallGraph.cpp81 CallSite CS(cast<Value>(II)); in addToCallGraph() local
82 if (CS) { in addToCallGraph()
83 const Function *Callee = CS.getCalledFunction(); in addToCallGraph()
86 Node->addCalledFunction(CS, CallsExternalNode); in addToCallGraph()
88 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph()
182 void CallGraphNode::removeCallEdgeFor(CallSite CS) { in removeCallEdgeFor() argument
185 if (I->first == CS.getInstruction()) { in removeCallEdgeFor()
225 void CallGraphNode::replaceCallEdge(CallSite CS, in replaceCallEdge() argument
229 if (I->first == CS.getInstruction()) { in replaceCallEdge()
/external/clang/lib/Analysis/
DPrintfFormatString.cpp243 PrintfConversionSpecifier CS(conversionPosition, k); in ParsePrintfSpecifier() local
244 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
245 if (CS.consumesDataArgument() && !FS.usesPositionalArg()) in ParsePrintfSpecifier()
325 const PrintfConversionSpecifier &CS = getConversionSpecifier(); in getArgType() local
327 if (!CS.consumesDataArgument()) in getArgType()
330 if (CS.getKind() == ConversionSpecifier::cArg) in getArgType()
344 if (CS.isIntArg()) in getArgType()
378 if (CS.isUIntArg()) in getArgType()
413 if (CS.isDoubleArg()) { in getArgType()
419 if (CS.getKind() == ConversionSpecifier::nArg) { in getArgType()
[all …]
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp64 AliasAnalysis::getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, in getArgLocation() argument
67 return AA->getArgLocation(CS, ArgIdx, Mask); in getArgLocation()
88 if (auto CS = ImmutableCallSite(I)) { in getModRefInfo() local
90 return getModRefInfo(Call, CS); in getModRefInfo()
104 AliasAnalysis::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() argument
108 ModRefBehavior MRB = getModRefBehavior(CS); in getModRefInfo()
120 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); in getModRefInfo()
127 getArgLocation(CS, (unsigned) std::distance(CS.arg_begin(), AI), in getModRefInfo()
150 return ModRefResult(AA->getModRefInfo(CS, Loc) & Mask); in getModRefInfo()
242 AliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { in getModRefBehavior() argument
[all …]
DLibCallAliasAnalysis.cpp50 ImmutableCallSite CS, in AnalyzeLibCallDetails() argument
73 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); in AnalyzeLibCallDetails()
94 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); in AnalyzeLibCallDetails()
124 LibCallAliasAnalysis::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() argument
131 if (const Function *F = CS.getCalledFunction()) { in getModRefInfo()
133 MRInfo = ModRefResult(MRInfo & AnalyzeLibCallDetails(FI, CS, Loc)); in getModRefInfo()
140 return (ModRefResult)(MRInfo | AliasAnalysis::getModRefInfo(CS, Loc)); in getModRefInfo()
DScopedNoAliasAA.cpp104 ModRefBehavior getModRefBehavior(ImmutableCallSite CS) override;
106 ModRefResult getModRefInfo(ImmutableCallSite CS,
207 ScopedNoAliasAA::getModRefBehavior(ImmutableCallSite CS) { in getModRefBehavior() argument
208 return AliasAnalysis::getModRefBehavior(CS); in getModRefBehavior()
217 ScopedNoAliasAA::getModRefInfo(ImmutableCallSite CS, const Location &Loc) { in getModRefInfo() argument
219 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo()
221 if (!mayAliasInScopes(Loc.AATags.Scope, CS.getInstruction()->getMetadata( in getModRefInfo()
226 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
230 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo()
DNoAliasAnalysis.cpp48 ModRefBehavior getModRefBehavior(ImmutableCallSite CS) override { in getModRefBehavior()
58 Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, in getArgLocation()
62 CS->getAAMetadata(AATags); in getArgLocation()
63 return Location(CS.getArgument(ArgIdx), UnknownSize, AATags); in getArgLocation()
66 ModRefResult getModRefInfo(ImmutableCallSite CS, in getModRefInfo()
/external/llvm/test/CodeGen/PowerPC/
Dpr17354.ll10 %struct.CS = type { i32 }
12 @_ZL3glb = internal global [1 x %struct.CS] zeroinitializer, align 4
17 …call void @_Z4funcv(%struct.CS* sret getelementptr inbounds ([1 x %struct.CS], [1 x %struct.CS]* @…
26 define void @_Z4funcv(%struct.CS* noalias sret %agg.result) #0 {
28 %a_ = getelementptr inbounds %struct.CS, %struct.CS* %agg.result, i32 0, i32 0
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp207 ImmutableCallSite CS(CI); in HandleCallsInBlockInlinedThroughInvoke() local
208 SmallVector<Value*, 8> InvokeArgs(CS.arg_begin(), CS.arg_end()); in HandleCallsInBlockInlinedThroughInvoke()
288 static void CloneAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap) { in CloneAliasScopeMetadata() argument
289 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata()
368 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope)) in CloneAliasScopeMetadata()
373 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope)) in CloneAliasScopeMetadata()
383 CS.getInstruction()->getMetadata(LLVMContext::MD_noalias)) in CloneAliasScopeMetadata()
387 if (MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_noalias)) in CloneAliasScopeMetadata()
397 static void AddAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap, in AddAliasScopeMetadata() argument
402 const Function *CalledFunc = CS.getCalledFunction(); in AddAliasScopeMetadata()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcbididat.c69 L, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L
84 L, AL, AL, AL, L, AL, AL, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L
99 AL, R, AL, WS, EN, CS, WS, EN, CS, EN, WS, R, R, WS, L, L
183 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
225 AL, AL, AL, WS, EN, EN, ES, EN, EN, CS, S, EN, EN, CS, WS,
227 L, L, WS, AN, AN, CS, AN, AN, WS
282 ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S, LRE, LRO, B
322 R, L, CS, L
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAliasAnalysis.cpp117 ObjCARCAliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { in getModRefBehavior() argument
119 return AliasAnalysis::getModRefBehavior(CS); in getModRefBehavior()
138 ObjCARCAliasAnalysis::getModRefInfo(ImmutableCallSite CS, const Location &Loc) { in getModRefInfo() argument
140 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo()
142 switch (GetBasicARCInstKind(CS.getInstruction())) { in getModRefInfo()
159 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo()
DDependencyAnalysis.cpp48 ImmutableCallSite CS(Inst); in CanAlterRefCount() local
49 assert(CS && "Only calls can alter reference counts!"); in CanAlterRefCount()
52 AliasAnalysis::ModRefBehavior MRB = PA.getAA()->getModRefBehavior(CS); in CanAlterRefCount()
57 for (ImmutableCallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); in CanAlterRefCount()
102 } else if (auto CS = ImmutableCallSite(Inst)) { in CanUse() local
104 for (ImmutableCallSite::arg_iterator OI = CS.arg_begin(), in CanUse()
105 OE = CS.arg_end(); OI != OE; ++OI) { in CanUse()
/external/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp47 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *() local
48 assert(CS && "Unrecognized type in llvm.global_ctors/llvm.global_dtors"); in operator *()
50 Constant *FuncC = CS->getOperand(1); in operator *()
69 ConstantInt *Priority = dyn_cast<ConstantInt>(CS->getOperand(0)); in operator *()
70 Value *Data = CS->getOperand(2); in operator *()

12345678910>>...12