Home
last modified time | relevance | path

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

12345678910>>...38

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp162 static void createRetBitCast(CallSite CS, Type *RetTy, CastInst **RetBitCast) { in createRetBitCast() argument
167 for (User *U : CS.getInstruction()->users()) in createRetBitCast()
173 if (auto *Invoke = dyn_cast<InvokeInst>(CS.getInstruction())) in createRetBitCast()
177 InsertBefore = &*std::next(CS.getInstruction()->getIterator()); in createRetBitCast()
180 auto *Cast = CastInst::Create(Instruction::BitCast, CS.getInstruction(), in createRetBitCast()
187 U->replaceUsesOfWith(CS.getInstruction(), Cast); in createRetBitCast()
257 static Instruction *versionCallSite(CallSite CS, Value *Callee, in versionCallSite() argument
260 IRBuilder<> Builder(CS.getInstruction()); in versionCallSite()
261 Instruction *OrigInst = CS.getInstruction(); in versionCallSite()
266 if (CS.getCalledValue()->getType() != Callee->getType()) in versionCallSite()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/unicode/
DBidiTest.txt118 CS; 3
137 CS; 4
225 CS LRE; 3
226 CS LRO; 3
227 CS RLE; 3
228 CS RLO; 3
229 CS PDF; 3
230 CS BN; 3
308 CS LRE; 4
309 CS LRO; 4
[all …]
/external/icu/icu4c/source/test/testdata/
DBidiTest.txt118 CS; 3
137 CS; 4
225 CS LRE; 3
226 CS LRO; 3
227 CS RLE; 3
228 CS RLO; 3
229 CS PDF; 3
230 CS BN; 3
308 CS LRE; 4
309 CS LRO; 4
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DBidiTest.txt118 CS; 3
137 CS; 4
225 CS LRE; 3
226 CS LRO; 3
227 CS RLE; 3
228 CS RLO; 3
229 CS PDF; 3
230 CS BN; 3
308 CS LRE; 4
309 CS LRO; 4
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DStatepoint.cpp21 static const Function *getCalledFunction(ImmutableCallSite CS) { in getCalledFunction() argument
22 if (!CS.getInstruction()) in getCalledFunction()
24 return CS.getCalledFunction(); in getCalledFunction()
27 bool llvm::isStatepoint(ImmutableCallSite CS) { in isStatepoint() argument
28 if (auto *F = getCalledFunction(CS)) in isStatepoint()
34 if (auto CS = ImmutableCallSite(V)) in isStatepoint() local
35 return isStatepoint(CS); in isStatepoint()
43 bool llvm::isGCRelocate(ImmutableCallSite CS) { in isGCRelocate() argument
44 return CS.getInstruction() && isa<GCRelocateInst>(CS.getInstruction()); in isGCRelocate()
48 if (auto CS = ImmutableCallSite(V)) in isGCRelocate() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp87 static void addNonNullAttribute(CallSite CS, Value *Op) { in addNonNullAttribute() argument
89 for (auto &I : CS.args()) { in addNonNullAttribute()
91 CS.addParamAttr(ArgNo, Attribute::NonNull); in addNonNullAttribute()
96 static void setConstantInArgument(CallSite CS, Value *Op, in setConstantInArgument() argument
99 for (auto &I : CS.args()) { in setConstantInArgument()
103 CS.removeParamAttr(ArgNo, Attribute::NonNull); in setConstantInArgument()
104 CS.setArgument(ArgNo, ConstValue); in setConstantInArgument()
110 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallSite CS) { in isCondRelevantToAnyCallArgument() argument
114 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); I != E; in isCondRelevantToAnyCallArgument()
117 if (isa<Constant>(*I) || CS.paramHasAttr(ArgNo, Attribute::NonNull)) in isCondRelevantToAnyCallArgument()
[all …]
/external/llvm/lib/Transforms/IPO/
DInliner.cpp78 static bool InlineCallIfPossible(Pass &P, CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible() argument
81 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
82 Function *Caller = CS.getCaller(); in InlineCallIfPossible()
94 if (!InlineFunction(CS, IFI, &AAR, InsertLifetime)) in InlineCallIfPossible()
225 static void emitAnalysis(CallSite CS, const Twine &Msg) { in emitAnalysis() argument
226 Function *Caller = CS.getCaller(); in emitAnalysis()
228 DebugLoc DLoc = CS.getInstruction()->getDebugLoc(); in emitAnalysis()
232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() argument
303 bool Inliner::shouldInline(CallSite CS) { in shouldInline() argument
304 InlineCost IC = getInlineCost(CS); in shouldInline()
[all …]
DFunctionAttrs.cpp90 CallSite CS(cast<Value>(I)); in checkFunctionMemoryAccess() local
91 if (CS) { in checkFunctionMemoryAccess()
96 if (!CS.hasOperandBundles() && CS.getCalledFunction() && in checkFunctionMemoryAccess()
97 SCCNodes.count(CS.getCalledFunction())) in checkFunctionMemoryAccess()
99 FunctionModRefBehavior MRB = AAR.getModRefBehavior(CS); in checkFunctionMemoryAccess()
117 for (CallSite::arg_iterator CI = CS.arg_begin(), CE = CS.arg_end(); in checkFunctionMemoryAccess()
281 CallSite CS(U->getUser()); in captured() local
282 if (!CS.getInstruction()) { in captured()
287 Function *F = CS.getCalledFunction(); in captured()
298 std::distance(const_cast<const Use *>(CS.arg_begin()), U); in captured()
[all …]
/external/llvm/lib/IR/
DStatepoint.cpp21 static const Function *getCalledFunction(ImmutableCallSite CS) { in getCalledFunction() argument
22 if (!CS.getInstruction()) in getCalledFunction()
24 return CS.getCalledFunction(); in getCalledFunction()
27 bool llvm::isStatepoint(ImmutableCallSite CS) { in isStatepoint() argument
28 if (auto *F = getCalledFunction(CS)) in isStatepoint()
34 if (auto CS = ImmutableCallSite(V)) in isStatepoint() local
35 return isStatepoint(CS); in isStatepoint()
43 bool llvm::isGCRelocate(ImmutableCallSite CS) { in isGCRelocate() argument
44 return CS.getInstruction() && isa<GCRelocateInst>(CS.getInstruction()); in isGCRelocate()
47 bool llvm::isGCResult(ImmutableCallSite CS) { in isGCResult() argument
[all …]
DVerifier.cpp122 void Write(ImmutableCallSite CS) { in Write()
123 Write(CS.getInstruction()); in Write()
420 void visitIntrinsicCallSite(Intrinsic::ID ID, CallSite CS);
438 void verifyCallSite(CallSite CS);
439 void verifySwiftErrorCallSite(CallSite CS, const Value *SwiftErrorVal);
455 void verifyStatepoint(ImmutableCallSite CS);
1674 void Verifier::verifyStatepoint(ImmutableCallSite CS) { in verifyStatepoint() argument
1675 assert(CS.getCalledFunction() && in verifyStatepoint()
1676 CS.getCalledFunction()->getIntrinsicID() == in verifyStatepoint()
1679 const Instruction &CI = *CS.getInstruction(); in verifyStatepoint()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DInliner.cpp267 CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible() argument
271 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
272 Function *Caller = CS.getCaller(); in InlineCallIfPossible()
278 if (!InlineFunction(CS, IFI, &AAR, InsertLifetime)) in InlineCallIfPossible()
298 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() argument
300 function_ref<InlineCost(CallSite CS)> GetInlineCost) { in shouldBeDeferred()
372 shouldInline(CallSite CS, function_ref<InlineCost(CallSite CS)> GetInlineCost, in shouldInline() argument
376 InlineCost IC = GetInlineCost(CS); in shouldInline()
377 Instruction *Call = CS.getInstruction(); in shouldInline()
378 Function *Callee = CS.getCalledFunction(); in shouldInline()
[all …]
DFunctionAttrs.cpp127 CallSite CS(cast<Value>(I)); in checkFunctionMemoryAccess() local
128 if (CS) { in checkFunctionMemoryAccess()
133 if (!CS.hasOperandBundles() && CS.getCalledFunction() && in checkFunctionMemoryAccess()
134 SCCNodes.count(CS.getCalledFunction())) in checkFunctionMemoryAccess()
136 FunctionModRefBehavior MRB = AAR.getModRefBehavior(CS); in checkFunctionMemoryAccess()
155 for (CallSite::arg_iterator CI = CS.arg_begin(), CE = CS.arg_end(); in checkFunctionMemoryAccess()
324 CallSite CS(U->getUser()); in captured() local
325 if (!CS.getInstruction()) { in captured()
330 Function *F = CS.getCalledFunction(); in captured()
341 std::distance(const_cast<const Use *>(CS.arg_begin()), U); in captured()
[all …]
DAlwaysInliner.cpp46 if (auto CS = CallSite(U)) in run() local
47 if (CS.getCalledFunction() == &F) in run()
48 Calls.insert(CS); in run()
50 for (CallSite CS : Calls) in run() local
54 InlineFunction(CS, IFI, /*CalleeAAR=*/nullptr, InsertLifetime); in run()
110 InlineCost getInlineCost(CallSite CS) override;
145 InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallSite CS) { in getInlineCost() argument
146 Function *Callee = CS.getCalledFunction(); in getInlineCost()
152 CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee)) in getInlineCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp65 unsigned getInlineThreshold(CallSite CS) const;
67 InlineCost getInlineCost(CallSite CS) override;
104 unsigned AMDGPUInliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold()
107 Function *Caller = CS.getCaller(); in getInlineThreshold()
110 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
128 for (Value *PtrArg : CS.args()) { in getInlineThreshold()
154 static bool isWrapperOnlyCall(CallSite CS) { in isWrapperOnlyCall() argument
155 Function *Callee = CS.getCalledFunction(); in isWrapperOnlyCall()
172 InlineCost AMDGPUInliner::getInlineCost(CallSite CS) { in getInlineCost() argument
173 Function *Callee = CS.getCalledFunction(); in getInlineCost()
[all …]
/external/ltp/testcases/realtime/stress/pi-tests/
Dlookup_pi_state.c46 pthread_cond_t CS; variable
88 pthread_cond_wait(&CS, &MS); // docs are contradictory on if this in slave_thread()
97 pthread_cond_wait(&CS, &MS); in slave_thread()
125 pthread_cond_signal(&CS); in master_thread()
126 pthread_cond_signal(&CS); in master_thread()
127 pthread_cond_signal(&CS); in master_thread()
130 pthread_cond_broadcast(&CS); in master_thread()
131 pthread_cond_broadcast(&CS); in master_thread()
132 pthread_cond_broadcast(&CS); in master_thread()
152 pthread_cond_broadcast(&CS); in master_thread()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp197 bool simplifyCallSite(Function *F, CallSite CS);
217 void updateThreshold(CallSite CS, Function &Callee);
220 bool allowSizeGrowth(CallSite CS);
223 bool isColdCallSite(CallSite CS, BlockFrequencyInfo *CallerBFI);
226 Optional<int> getHotCallSiteThreshold(CallSite CS,
260 bool visitCallSite(CallSite CS);
293 bool analyzeCall(CallSite CS);
769 bool CallAnalyzer::allowSizeGrowth(CallSite CS) { in allowSizeGrowth() argument
785 Instruction *Instr = CS.getInstruction(); in allowSizeGrowth()
795 bool CallAnalyzer::isColdCallSite(CallSite CS, BlockFrequencyInfo *CallerBFI) { in isColdCallSite() argument
[all …]
/external/llvm/lib/Analysis/
DInlineCost.cpp141 bool simplifyCallSite(Function *F, CallSite CS);
159 void updateThreshold(CallSite CS, Function &Callee);
162 bool allowSizeGrowth(CallSite CS);
195 bool visitCallSite(CallSite CS);
221 bool analyzeCall(CallSite CS);
589 bool CallAnalyzer::allowSizeGrowth(CallSite CS) { in allowSizeGrowth() argument
605 Instruction *Instr = CS.getInstruction(); in allowSizeGrowth()
615 void CallAnalyzer::updateThreshold(CallSite CS, Function &Callee) { in updateThreshold() argument
617 if (!allowSizeGrowth(CS)) { in updateThreshold()
622 Function *Caller = CS.getCaller(); in updateThreshold()
[all …]
DAliasAnalysis.cpp95 ModRefInfo AAResults::getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx) { in getArgModRefInfo() argument
99 Result = ModRefInfo(Result & AA->getArgModRefInfo(CS, ArgIdx)); in getArgModRefInfo()
111 if (auto CS = ImmutableCallSite(I)) { in getModRefInfo() local
113 return getModRefInfo(CS, Call); in getModRefInfo()
126 ModRefInfo AAResults::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() argument
131 Result = ModRefInfo(Result & AA->getModRefInfo(CS, Loc)); in getModRefInfo()
140 auto MRB = getModRefBehavior(CS); in getModRefInfo()
153 for (auto AI = CS.arg_begin(), AE = CS.arg_end(); AI != AE; ++AI) { in getModRefInfo()
157 unsigned ArgIdx = std::distance(CS.arg_begin(), AI); in getModRefInfo()
158 MemoryLocation ArgLoc = MemoryLocation::getForArgument(CS, ArgIdx, TLI); in getModRefInfo()
[all …]
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h252 ModRefInfo getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx);
255 FunctionModRefBehavior getModRefBehavior(ImmutableCallSite CS);
271 bool doesNotAccessMemory(ImmutableCallSite CS) { in doesNotAccessMemory() argument
272 return getModRefBehavior(CS) == FMRB_DoesNotAccessMemory; in doesNotAccessMemory()
299 bool onlyReadsMemory(ImmutableCallSite CS) { in onlyReadsMemory() argument
300 return onlyReadsMemory(getModRefBehavior(CS)); in onlyReadsMemory()
344 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
347 ModRefInfo getModRefInfo(ImmutableCallSite CS, const Value *P, in getModRefInfo() argument
349 return getModRefInfo(CS, MemoryLocation(P, Size)); in getModRefInfo()
462 if (auto CS = ImmutableCallSite(I)) { in getModRefInfo() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestData.java32 protected static final int CS = UCharacterDirection.COMMON_NUMBER_SEPARATOR; field in TestData
59 { L, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L }, // 2
60 { L, AL, AL, AL, L, AL, AL, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L }, // 3
61 { AL, R, AL, WS, EN, CS, WS, EN, CS, EN, WS, R, R, WS, L, L }, // 4
72 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
80 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
81 L, L, L, L, L, L, WS, AN, AN, CS, AN, AN, WS }, // 10
84 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
85 L, L, L, L, L, L, WS, AN, AN, CS, AN, AN, WS }, // 11
88 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestData.java29 protected static final int CS = UCharacterDirection.COMMON_NUMBER_SEPARATOR; field in TestData
56 { L, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L }, // 2
57 { L, AL, AL, AL, L, AL, AL, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L }, // 3
58 { AL, R, AL, WS, EN, CS, WS, EN, CS, EN, WS, R, R, WS, L, L }, // 4
69 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
77 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
78 L, L, L, L, L, L, WS, AN, AN, CS, AN, AN, WS }, // 10
81 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
82 L, L, L, L, L, L, WS, AN, AN, CS, AN, AN, WS }, // 11
85 EN, CS, S, EN, EN, CS, WS, EN, EN, WS, AL, AL, AL, AL, AL, B, L, L,
[all …]
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp76 bool isStateStoreNeeded(EHPersonality Personality, CallSite CS);
77 void rewriteSetJmpCallSite(IRBuilder<> &Builder, Function &F, CallSite CS,
82 WinEHFuncInfo &FuncInfo, CallSite CS);
459 CallSite CS, Value *State) { in rewriteSetJmpCallSite() argument
461 if (CS.getNumArgOperands() != 2) in rewriteSetJmpCallSite()
464 Instruction *Inst = CS.getInstruction(); in rewriteSetJmpCallSite()
467 CS.getOperandBundlesAsDefs(OpBundles); in rewriteSetJmpCallSite()
485 Builder.CreateBitCast(CS.getArgOperand(0), Builder.getInt8PtrTy())); in rewriteSetJmpCallSite()
490 if (CS.isCall()) { in rewriteSetJmpCallSite()
500 NewCS.setCallingConv(CS.getCallingConv()); in rewriteSetJmpCallSite()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp76 bool isStateStoreNeeded(EHPersonality Personality, CallSite CS);
77 void rewriteSetJmpCallSite(IRBuilder<> &Builder, Function &F, CallSite CS,
82 WinEHFuncInfo &FuncInfo, CallSite CS);
467 CallSite CS, Value *State) { in rewriteSetJmpCallSite() argument
469 if (CS.getNumArgOperands() != 2) in rewriteSetJmpCallSite()
472 Instruction *Inst = CS.getInstruction(); in rewriteSetJmpCallSite()
475 CS.getOperandBundlesAsDefs(OpBundles); in rewriteSetJmpCallSite()
493 Builder.CreateBitCast(CS.getArgOperand(0), Builder.getInt8PtrTy())); in rewriteSetJmpCallSite()
498 if (CS.isCall()) { in rewriteSetJmpCallSite()
508 NewCS.setCallingConv(CS.getCallingConv()); in rewriteSetJmpCallSite()
[all …]
/external/clang/lib/Analysis/
DPrintfFormatString.cpp305 PrintfConversionSpecifier CS(conversionPosition, k); in ParsePrintfSpecifier() local
306 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
307 if (CS.consumesDataArgument() && !FS.usesPositionalArg()) in ParsePrintfSpecifier()
317 CS.setEndScanList(Start + Len); in ParsePrintfSpecifier()
318 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
392 const PrintfConversionSpecifier &CS = getConversionSpecifier(); in getArgType() local
394 if (!CS.consumesDataArgument()) in getArgType()
397 if (CS.getKind() == ConversionSpecifier::cArg) in getArgType()
411 if (CS.isIntArg()) in getArgType()
445 if (CS.isUIntArg()) in getArgType()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
Downer_less.pass.cpp66 typedef std::owner_less<std::shared_ptr<int> > CS; in main() typedef
67 CS cs; in main()
69 static_assert((std::is_same<std::shared_ptr<int>, CS::first_argument_type>::value), "" ); in main()
70 static_assert((std::is_same<std::shared_ptr<int>, CS::second_argument_type>::value), "" ); in main()
71 static_assert((std::is_same<bool, CS::result_type>::value), "" ); in main()
87 typedef std::owner_less<std::weak_ptr<int> > CS; in main() typedef
88 CS cs; in main()
90 static_assert((std::is_same<std::weak_ptr<int>, CS::first_argument_type>::value), "" ); in main()
91 static_assert((std::is_same<std::weak_ptr<int>, CS::second_argument_type>::value), "" ); in main()
92 static_assert((std::is_same<bool, CS::result_type>::value), "" ); in main()

12345678910>>...38