Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/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 …]
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp161 static void createRetBitCast(CallSite CS, Type *RetTy, CastInst **RetBitCast) { in createRetBitCast() argument
166 for (User *U : CS.getInstruction()->users()) in createRetBitCast()
172 if (auto *Invoke = dyn_cast<InvokeInst>(CS.getInstruction())) in createRetBitCast()
176 InsertBefore = &*std::next(CS.getInstruction()->getIterator()); in createRetBitCast()
179 auto *Cast = CastInst::CreateBitOrPointerCast(CS.getInstruction(), RetTy, "", in createRetBitCast()
186 U->replaceUsesOfWith(CS.getInstruction(), Cast); in createRetBitCast()
256 static Instruction *versionCallSite(CallSite CS, Value *Callee, in versionCallSite() argument
259 IRBuilder<> Builder(CS.getInstruction()); in versionCallSite()
260 Instruction *OrigInst = CS.getInstruction(); in versionCallSite()
265 if (CS.getCalledValue()->getType() != Callee->getType()) in versionCallSite()
[all …]
DInlineFunction.cpp770 static void PropagateParallelLoopAccessMetadata(CallSite CS, in PropagateParallelLoopAccessMetadata() argument
773 CS.getInstruction()->getMetadata(LLVMContext::MD_mem_parallel_loop_access); in PropagateParallelLoopAccessMetadata()
775 CS.getInstruction()->getMetadata(LLVMContext::MD_access_group); in PropagateParallelLoopAccessMetadata()
813 static void CloneAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap) { in CloneAliasScopeMetadata() argument
814 const Function *CalledFunc = CS.getCalledFunction(); in CloneAliasScopeMetadata()
890 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope)) in CloneAliasScopeMetadata()
895 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope)) in CloneAliasScopeMetadata()
905 CS.getInstruction()->getMetadata(LLVMContext::MD_noalias)) in CloneAliasScopeMetadata()
909 if (MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_noalias)) in CloneAliasScopeMetadata()
919 static void AddAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap, in AddAliasScopeMetadata() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp88 static void addNonNullAttribute(CallSite CS, Value *Op) { in addNonNullAttribute() argument
90 for (auto &I : CS.args()) { in addNonNullAttribute()
92 CS.addParamAttr(ArgNo, Attribute::NonNull); in addNonNullAttribute()
97 static void setConstantInArgument(CallSite CS, Value *Op, in setConstantInArgument() argument
100 for (auto &I : CS.args()) { in setConstantInArgument()
104 CS.removeParamAttr(ArgNo, Attribute::NonNull); in setConstantInArgument()
105 CS.setArgument(ArgNo, ConstValue); in setConstantInArgument()
111 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallSite CS) { in isCondRelevantToAnyCallArgument() argument
115 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); I != E; in isCondRelevantToAnyCallArgument()
118 if (isa<Constant>(*I) || CS.paramHasAttr(ArgNo, Attribute::NonNull)) in isCondRelevantToAnyCallArgument()
[all …]
DMemCpyOptimizer.cpp738 CallSite CS(C); in performCallSlotOptzn() local
839 for (unsigned i = 0, e = CS.arg_size(); i != e; ++i) in performCallSlotOptzn()
840 if (CS.getArgument(i) == cpySrc && !CS.doesNotCapture(i)) in performCallSlotOptzn()
867 for (unsigned i = 0; i < CS.arg_size(); ++i) in performCallSlotOptzn()
868 if (CS.getArgument(i)->stripPointerCasts() == cpySrc && in performCallSlotOptzn()
870 CS.getArgument(i)->getType()->getPointerAddressSpace()) in performCallSlotOptzn()
875 for (unsigned i = 0; i < CS.arg_size(); ++i) in performCallSlotOptzn()
876 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn()
881 if (CS.getArgument(i)->getType() == Dest->getType()) in performCallSlotOptzn()
882 CS.setArgument(i, Dest); in performCallSlotOptzn()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInliner.cpp275 CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible() argument
279 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible()
280 Function *Caller = CS.getCaller(); in InlineCallIfPossible()
286 InlineResult IR = InlineFunction(CS, IFI, &AAR, InsertLifetime); in InlineCallIfPossible()
307 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() argument
309 function_ref<InlineCost(CallSite CS)> GetInlineCost) { in shouldBeDeferred()
419 shouldInline(CallSite CS, function_ref<InlineCost(CallSite CS)> GetInlineCost, in shouldInline() argument
423 InlineCost IC = GetInlineCost(CS); in shouldInline()
424 Instruction *Call = CS.getInstruction(); in shouldInline()
425 Function *Callee = CS.getCalledFunction(); in shouldInline()
[all …]
DFunctionAttrs.cpp365 CallSite CS(U->getUser()); in captured() local
366 if (!CS.getInstruction()) { in captured()
371 Function *F = CS.getCalledFunction(); in captured()
382 std::distance(const_cast<const Use *>(CS.arg_begin()), U); in captured()
384 assert(UseIndex < CS.data_operands_size() && in captured()
387 if (UseIndex >= CS.getNumArgOperands()) { in captured()
389 assert(CS.hasOperandBundles() && "Must be!"); in captured()
493 CallSite CS(I); in determinePointerReadAttrs() local
494 if (CS.doesNotAccessMemory()) { in determinePointerReadAttrs()
499 Function *F = CS.getCalledFunction(); in determinePointerReadAttrs()
[all …]
DAlwaysInliner.cpp55 if (auto CS = CallSite(U)) in run() local
56 if (CS.getCalledFunction() == &F) in run()
57 Calls.insert(CS); in run()
59 for (CallSite CS : Calls) in run() local
63 InlineFunction(CS, IFI, /*CalleeAAR=*/nullptr, InsertLifetime); in run()
119 InlineCost getInlineCost(CallSite CS) override;
154 InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallSite CS) { in getInlineCost() argument
155 Function *Callee = CS.getCalledFunction(); in getInlineCost()
166 if (!CS.hasFnAttr(Attribute::AlwaysInline)) in getInlineCost()
DDeadArgumentElimination.cpp178 CallSite CS(*I++); in DeleteDeadVarargs() local
179 if (!CS) in DeleteDeadVarargs()
181 Instruction *Call = CS.getInstruction(); in DeleteDeadVarargs()
184 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs()
187 AttributeList PAL = CS.getAttributes(); in DeleteDeadVarargs()
197 CS.getOperandBundlesAsDefs(OpBundles); in DeleteDeadVarargs()
208 NewCS.setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
307 CallSite CS(U.getUser()); in RemoveDeadArgumentsFromCallers() local
308 if (!CS || !CS.isCallee(&U)) in RemoveDeadArgumentsFromCallers()
315 Value *Arg = CS.getArgument(ArgNo); in RemoveDeadArgumentsFromCallers()
[all …]
/third_party/skia/modules/skottie/src/effects/
DInvertEffect.cpp44 enum class CS { kRGB, kHSL, kYIQ }; in onSync() enum
49 CS cs; in onSync()
75 case kR_Channel: return { {-1, 1, 1, 1}, { 1,0,0,0}, CS::kRGB }; // r' = 1 - r in onSync()
76 case kG_Channel: return { { 1,-1, 1, 1}, { 0,1,0,0}, CS::kRGB }; // g' = 1 - g in onSync()
77 case kB_Channel: return { { 1, 1,-1, 1}, { 0,0,1,0}, CS::kRGB }; // b' = 1 - b in onSync()
78 case kA_Channel: return { { 1, 1, 1,-1}, { 0,0,0,1}, CS::kRGB }; // a' = 1 - a in onSync()
79 case kRGB_Channel: return { {-1,-1,-1, 1}, { 1,1,1,0}, CS::kRGB }; in onSync()
81 case kH_Channel: return { {-1, 1, 1, 1}, {.5f,0,0,0}, CS::kHSL }; // h' = .5 - h in onSync()
82 case kS_Channel: return { { 1,-1, 1, 1}, { 0,1,0,0}, CS::kHSL }; // s' = 1 - s in onSync()
83 case kL_Channel: return { { 1, 1,-1, 1}, { 0,0,1,0}, CS::kHSL }; // l' = 1 - l in onSync()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp70 unsigned getInlineThreshold(CallSite CS) const;
72 InlineCost getInlineCost(CallSite CS) override;
109 unsigned AMDGPUInliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold()
112 Function *Caller = CS.getCaller(); in getInlineThreshold()
115 Function *Callee = CS.getCalledFunction(); in getInlineThreshold()
132 for (Value *PtrArg : CS.args()) { in getInlineThreshold()
159 static bool isWrapperOnlyCall(CallSite CS) { in isWrapperOnlyCall() argument
160 Function *Callee = CS.getCalledFunction(); in isWrapperOnlyCall()
177 InlineCost AMDGPUInliner::getInlineCost(CallSite CS) { in getInlineCost() argument
178 Function *Callee = CS.getCalledFunction(); in getInlineCost()
[all …]
DAMDGPUFixFunctionBitcasts.cpp34 void visitCallSite(CallSite CS) { in visitCallSite() argument
35 if (CS.getCalledFunction()) in visitCallSite()
37 auto Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in visitCallSite()
38 if (Callee && isLegalToPromote(CS, Callee)) { in visitCallSite()
39 promoteCall(CS, Callee); in visitCallSite()
/third_party/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 …]
/third_party/pcre2/pcre2/maint/
Ducptest.c123 #define CS (char *) macro
576 if (strcmp(CS name, "script") == 0 || in find_chars()
577 strcmp(CS name, "scriptx") == 0) in find_chars()
591 if ((u->type == PT_SCX || u->type == PT_SC) && strcmp(CS(value + offset), in find_chars()
618 else if (strcmp(CS name, "bool") == 0) in find_chars()
630 if (u->type == PT_BOOL && strcmp(CS(value + offset), in find_chars()
645 else if (strcmp(CS name, "type") == 0) in find_chars()
662 if (strcmp(CS (value + offset), CS type_names[i]) == 0) in find_chars()
676 else if (strcmp(CS name, "gbreak") == 0) in find_chars()
693 if (strcmp(CS (value + offset), CS gb_names[i]) == 0) in find_chars()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCallSite.h684 bool operator==(const CallSite &CS) const { return I == CS.I; }
685 bool operator!=(const CallSite &CS) const { return I != CS.I; }
686 bool operator<(const CallSite &CS) const {
687 return getInstruction() < CS.getInstruction();
705 ImmutableCallSite(CallSite CS) : CallSiteBase(CS.getInstruction()) {}
756 CallSite CS;
788 explicit operator bool() const { return (bool)CS; }
791 Instruction *getInstruction() const { return CS.getInstruction(); }
794 CallSite getCallSite() const { return CS; }
798 return !isCallbackCall() && !CS.isIndirectCall();
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
/third_party/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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAbstractCallSite.cpp56 AbstractCallSite::AbstractCallSite(const Use *U) : CS(U->getUser()) { in AbstractCallSite()
59 if (!CS) { in AbstractCallSite()
68 CS = CallSite(U->getUser()); in AbstractCallSite()
71 if (!CS) { in AbstractCallSite()
79 if (CS.isCallee(U)) { in AbstractCallSite()
86 Function *Callee = CS.getCalledFunction(); in AbstractCallSite()
89 CS = CallSite(); in AbstractCallSite()
96 CS = CallSite(); in AbstractCallSite()
100 unsigned UseIdx = CS.getArgumentNo(U); in AbstractCallSite()
115 CS = CallSite(); in AbstractCallSite()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp70 bool isStateStoreNeeded(EHPersonality Personality, CallSite CS);
71 void rewriteSetJmpCallSite(IRBuilder<> &Builder, Function &F, CallSite CS,
76 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroEarly.cpp31 void lowerResumeOrDestroy(CallSite CS, CoroSubFnInst::ResumeKind);
50 void Lowerer::lowerResumeOrDestroy(CallSite CS, in lowerResumeOrDestroy() argument
53 makeSubFnCall(CS.getArgOperand(0), Index, CS.getInstruction()); in lowerResumeOrDestroy()
54 CS.setCalledFunction(ResumeAddr); in lowerResumeOrDestroy()
55 CS.setCallingConv(CallingConv::Fast); in lowerResumeOrDestroy()
159 if (auto CS = CallSite(&I)) { in lowerEarlyIntrinsics() local
160 switch (CS.getIntrinsicID()) { in lowerEarlyIntrinsics()
170 CS.setCannotDuplicate(); in lowerEarlyIntrinsics()
176 CS.setCannotDuplicate(); in lowerEarlyIntrinsics()
198 lowerResumeOrDestroy(CS, CoroSubFnInst::ResumeIndex); in lowerEarlyIntrinsics()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyOptimizeReturned.cpp45 void visitCallSite(CallSite CS);
58 void OptimizeReturned::visitCallSite(CallSite CS) { in visitCallSite() argument
59 for (unsigned I = 0, E = CS.getNumArgOperands(); I < E; ++I) in visitCallSite()
60 if (CS.paramHasAttr(I, Attribute::Returned)) { in visitCallSite()
61 Instruction *Inst = CS.getInstruction(); in visitCallSite()
62 Value *Arg = CS.getArgOperand(I); in visitCallSite()
/third_party/icu/icu4c/source/test/cintltst/
Dcbididat.c72 L, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L
87 L, AL, AL, AL, L, AL, AL, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L
102 AL, R, AL, WS, EN, CS, WS, EN, CS, EN, WS, R, R, WS, L, L
186 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES /* 10 entries */
228 AL, AL, AL, WS, EN, EN, ES, EN, EN, CS, S, EN, EN, CS, WS,
230 L, L, WS, AN, AN, CS, AN, AN, WS
285 ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S, LRE, LRO, B
325 R, L, CS, L
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DInstruction.h300 bool startsAfter(const CycleSegment &CS) const { return End <= CS.Begin; } in startsAfter() argument
301 bool endsBefore(const CycleSegment &CS) const { return Begin >= CS.End; } in endsBefore() argument
302 bool overlaps(const CycleSegment &CS) const { in overlaps() argument
303 return !startsAfter(CS) && !endsBefore(CS); in overlaps()
338 CycleSegment CS; member
341 : CS(Cycles), NumUnits(Units) {} in CS() function
342 unsigned size() const { return CS.size(); } in size()
343 bool isReserved() const { return CS.isReserved(); } in isReserved()
344 void setReserved() { CS.setReserved(); } in setReserved()

12345678910>>...16