/external/icu4c/test/testdata/ |
D | BidiTest.txt | 94 CS; 3 109 CS; 4 193 CS LRE; 3 194 CS LRO; 3 195 CS RLE; 3 196 CS RLO; 3 197 CS PDF; 3 198 CS BN; 3 252 CS LRE; 4 253 CS LRO; 4 [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 117 static bool InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible() argument 120 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible() 121 Function *Caller = CS.getCaller(); in InlineCallIfPossible() 125 if (!InlineFunction(CS, IFI, InsertLifetime)) in InlineCallIfPossible() 232 unsigned Inliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold() 238 Function *Caller = CS.getCaller(); in getInlineThreshold() 248 Function *Callee = CS.getCalledFunction(); in getInlineThreshold() 262 bool Inliner::shouldInline(CallSite CS) { in shouldInline() argument 263 InlineCost IC = getInlineCost(CS); in shouldInline() 267 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline() [all …]
|
D | DeadArgumentElimination.cpp | 267 CallSite CS(Fn.use_back()); in DeleteDeadVarargs() local 268 Instruction *Call = CS.getInstruction(); in DeleteDeadVarargs() 271 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs() 274 AttributeSet PAL = CS.getAttributes(); in DeleteDeadVarargs() 289 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs() 293 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs() 369 CallSite CS(*I); in RemoveDeadArgumentsFromCallers() local 370 if (!CS || !CS.isCallee(I)) in RemoveDeadArgumentsFromCallers() 377 Value *Arg = CS.getArgument(ArgNo); in RemoveDeadArgumentsFromCallers() 378 CS.setArgument(ArgNo, UndefValue::get(Arg->getType())); in RemoveDeadArgumentsFromCallers() [all …]
|
D | IPConstantPropagation.cpp | 99 CallSite CS(cast<Instruction>(U)); in PropagateConstantsIntoArguments() local 100 if (!CS.isCallee(UI)) in PropagateConstantsIntoArguments() 105 CallSite::arg_iterator AI = CS.arg_begin(); in PropagateConstantsIntoArguments() 224 CallSite CS(*UI); in PropagateConstantReturn() local 225 Instruction* Call = CS.getInstruction(); in PropagateConstantReturn() 229 if (!Call || !CS.isCallee(UI)) in PropagateConstantReturn() 243 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn() 269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
|
D | FunctionAttrs.cpp | 127 CallSite CS(cast<Value>(I)); in AddReadAttrs() local 128 if (CS) { in AddReadAttrs() 130 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction())) in AddReadAttrs() 132 AliasAnalysis::ModRefBehavior MRB = AA->getModRefBehavior(CS); in AddReadAttrs() 140 for (CallSite::arg_iterator CI = CS.arg_begin(), CE = CS.arg_end(); in AddReadAttrs() 286 CallSite CS(U->getUser()); in captured() local 287 if (!CS.getInstruction()) { Captured = true; return true; } in captured() 289 Function *F = CS.getCalledFunction(); in captured() 293 for (CallSite::arg_iterator PI = CS.arg_begin(), PE = CS.arg_end(); in captured() 533 CallSite CS(RVI); in IsFunctionMallocLike() local [all …]
|
/external/clang/lib/Analysis/ |
D | PrintfFormatString.cpp | 215 PrintfConversionSpecifier CS(conversionPosition, k); in ParsePrintfSpecifier() local 216 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier() 217 if (CS.consumesDataArgument() && !FS.usesPositionalArg()) in ParsePrintfSpecifier() 262 const PrintfConversionSpecifier &CS = getConversionSpecifier(); in getArgType() local 264 if (!CS.consumesDataArgument()) in getArgType() 267 if (CS.getKind() == ConversionSpecifier::cArg) in getArgType() 276 if (CS.isIntArg()) in getArgType() 300 if (CS.isUIntArg()) in getArgType() 325 if (CS.isDoubleArg()) { in getArgType() 331 if (CS.getKind() == ConversionSpecifier::nArg) { in getArgType() [all …]
|
D | ScanfFormatString.cpp | 33 ScanfConversionSpecifier &CS, in ParseScanList() argument 61 CS.setEndScanList(I); in ParseScanList() 192 ScanfConversionSpecifier CS(conversionPosition, k); in ParseScanfSpecifier() local 194 if (ParseScanList(H, CS, I, E)) in ParseScanfSpecifier() 197 FS.setConversionSpecifier(CS); in ParseScanfSpecifier() 198 if (CS.consumesDataArgument() && !FS.getSuppressAssignment() in ParseScanfSpecifier() 213 const ScanfConversionSpecifier &CS = getConversionSpecifier(); in getArgType() local 215 if (!CS.consumesDataArgument()) in getArgType() 218 switch(CS.getKind()) { in getArgType() 378 if (CS.getKind() == ConversionSpecifier::nArg) in fixType() [all …]
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 103 bool simplifyCallSite(Function *F, CallSite CS); 134 bool visitCallSite(CallSite CS); 149 bool analyzeCall(CallSite CS); 673 bool CallAnalyzer::simplifyCallSite(Function *F, CallSite CS) { in simplifyCallSite() argument 683 ConstantArgs.reserve(CS.arg_size()); in simplifyCallSite() 684 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); in simplifyCallSite() 695 SimplifiedValues[CS.getInstruction()] = C; in simplifyCallSite() 702 bool CallAnalyzer::visitCallSite(CallSite CS) { in visitCallSite() argument 703 if (CS.isCall() && cast<CallInst>(CS.getInstruction())->canReturnTwice() && in visitCallSite() 710 if (CS.isCall() && in visitCallSite() [all …]
|
D | CallGraph.cpp | 143 CallSite CS(cast<Value>(II)); in addToCallGraph() local 144 if (CS) { in addToCallGraph() 145 const Function *Callee = CS.getCalledFunction(); in addToCallGraph() 148 Node->addCalledFunction(CS, CallsExternalNode); in addToCallGraph() 150 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph() 280 void CallGraphNode::removeCallEdgeFor(CallSite CS) { in removeCallEdgeFor() argument 283 if (I->first == CS.getInstruction()) { in removeCallEdgeFor() 323 void CallGraphNode::replaceCallEdge(CallSite CS, in replaceCallEdge() argument 327 if (I->first == CS.getInstruction()) { in replaceCallEdge()
|
/external/llvm/lib/Analysis/ |
D | LibCallAliasAnalysis.cpp | 46 ImmutableCallSite CS, in AnalyzeLibCallDetails() argument 69 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); in AnalyzeLibCallDetails() 90 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc); in AnalyzeLibCallDetails() 120 LibCallAliasAnalysis::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() argument 127 if (const Function *F = CS.getCalledFunction()) { in getModRefInfo() 129 MRInfo = ModRefResult(MRInfo & AnalyzeLibCallDetails(FI, CS, Loc)); in getModRefInfo() 136 return (ModRefResult)(MRInfo | AliasAnalysis::getModRefInfo(CS, Loc)); in getModRefInfo()
|
D | TypeBasedAliasAnalysis.cpp | 145 virtual ModRefBehavior getModRefBehavior(ImmutableCallSite CS); 147 virtual ModRefResult getModRefInfo(ImmutableCallSite CS, 250 TypeBasedAliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { in getModRefBehavior() argument 252 return AliasAnalysis::getModRefBehavior(CS); in getModRefBehavior() 258 if (const MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefBehavior() 262 return ModRefBehavior(AliasAnalysis::getModRefBehavior(CS) & Min); in getModRefBehavior() 272 TypeBasedAliasAnalysis::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() argument 275 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo() 279 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo() 283 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo()
|
D | AliasAnalysis.cpp | 79 AliasAnalysis::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() argument 83 ModRefBehavior MRB = getModRefBehavior(CS); in getModRefInfo() 94 MDNode *CSTag = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo() 95 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); in getModRefInfo() 121 return ModRefResult(AA->getModRefInfo(CS, Loc) & Mask); in getModRefInfo() 198 AliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { in getModRefBehavior() argument 205 if (const Function *F = CS.getCalledFunction()) in getModRefBehavior() 213 return ModRefBehavior(AA->getModRefBehavior(CS) & Min); in getModRefBehavior() 443 ImmutableCallSite CS(I); in callCapturesBefore() local 444 if (!CS.getInstruction() || CS.getInstruction() == Object) in callCapturesBefore() [all …]
|
D | CaptureTracking.cpp | 109 CallSite CS(I); in PointerMayBeCaptured() local 113 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) in PointerMayBeCaptured() 123 CallSite::arg_iterator B = CS.arg_begin(), E = CS.arg_end(); in PointerMayBeCaptured() 125 if (A->get() == V && !CS.doesNotCapture(A - B)) in PointerMayBeCaptured()
|
D | CodeMetrics.cpp | 33 ImmutableCallSite CS(cast<Instruction>(II)); in analyzeBasicBlock() local 35 if (const Function *F = CS.getCalledFunction()) { in analyzeBasicBlock() 39 if (!CS.isNoInline() && F->hasInternalLinkage() && F->hasOneUse()) in analyzeBasicBlock() 54 if (!isa<InlineAsm>(CS.getCalledValue())) in analyzeBasicBlock()
|
D | Lint.cpp | 72 void visitCallSite(CallSite CS); 197 void Lint::visitCallSite(CallSite CS) { in visitCallSite() argument 198 Instruction &I = *CS.getInstruction(); in visitCallSite() 199 Value *Callee = CS.getCalledValue(); in visitCallSite() 205 Assert1(CS.getCallingConv() == F->getCallingConv(), in visitCallSite() 210 unsigned NumActualArgs = unsigned(CS.arg_end()-CS.arg_begin()); in visitCallSite() 225 CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); in visitCallSite() 238 for (CallSite::arg_iterator BI = CS.arg_begin(); BI != AE; ++BI) in visitCallSite() 258 if (CS.isCall() && cast<CallInst>(CS.getInstruction())->isTailCall()) in visitCallSite() 259 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); in visitCallSite() [all …]
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCAliasAnalysis.cpp | 111 ObjCARCAliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { in getModRefBehavior() argument 113 return AliasAnalysis::getModRefBehavior(CS); in getModRefBehavior() 132 ObjCARCAliasAnalysis::getModRefInfo(ImmutableCallSite CS, const Location &Loc) { in getModRefInfo() argument 134 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo() 136 switch (GetBasicInstructionClass(CS.getInstruction())) { in getModRefInfo() 153 return AliasAnalysis::getModRefInfo(CS, Loc); in getModRefInfo()
|
D | DependencyAnalysis.cpp | 47 ImmutableCallSite CS = static_cast<const Value *>(Inst); in CanAlterRefCount() local 48 assert(CS && "Only calls can alter reference counts!"); in CanAlterRefCount() 51 AliasAnalysis::ModRefBehavior MRB = PA.getAA()->getModRefBehavior(CS); in CanAlterRefCount() 55 for (ImmutableCallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); in CanAlterRefCount() 85 } else if (ImmutableCallSite CS = static_cast<const Value *>(Inst)) { in CanUse() local 87 for (ImmutableCallSite::arg_iterator OI = CS.arg_begin(), in CanUse() 88 OE = CS.arg_end(); OI != OE; ++OI) { in CanUse()
|
/external/icu4c/test/cintltst/ |
D | cbididat.c | 66 L, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L 81 L, AL, AL, AL, L, AL, AL, L, WS, EN, CS, WS, EN, CS, EN, WS, L, L 96 AL, R, AL, WS, EN, CS, WS, EN, CS, EN, WS, R, R, WS, L, L 176 LRE, BN, CS, RLO, S, PDF, EN, LRO, AN, ES 211 AL, AL, AL, WS, EN, EN, ES, EN, EN, CS, S, EN, EN, CS, WS, 213 L, L, WS, AN, AN, CS, AN, AN, WS 268 ON, L, RLO, CS, R, WS, AN, AN, PDF, LRE, R, L, LRO, WS, BN, ON, S, LRE, LRO, B 308 R, L, CS, L
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 763 static bool isSafeToEliminateVarargsCast(const CallSite CS, in isSafeToEliminateVarargsCast() argument 773 if (!CS.isByValArgument(ix)) in isSafeToEliminateVarargsCast() 880 Instruction *InstCombiner::visitCallSite(CallSite CS) { in visitCallSite() argument 881 if (isAllocLikeFn(CS.getInstruction(), TLI)) in visitCallSite() 882 return visitAllocSite(*CS.getInstruction()); in visitCallSite() 888 Value *Callee = CS.getCalledValue(); in visitCallSite() 889 if (!isa<Function>(Callee) && transformConstExprCastCall(CS)) in visitCallSite() 895 if (CalleeF->getCallingConv() != CS.getCallingConv() && in visitCallSite() 900 Instruction *OldCall = CS.getInstruction(); in visitCallSite() 921 if (!CS.getInstruction()->getType()->isVoidTy()) in visitCallSite() [all …]
|
/external/jsilver/src/org/clearsilver/ |
D | DelegatedCs.java | 30 public abstract class DelegatedCs implements CS { 31 private final CS cs; 33 public DelegatedCs(CS cs) { in DelegatedCs() 38 public CS getCs() { in getCs()
|
/external/llvm/test/CodeGen/X86/ |
D | store-narrow.ll | 29 %CS = shl i32 %C, 8 30 %D = or i32 %B, %CS 62 %CS = shl i32 %C, 16 63 %D = or i32 %B, %CS 79 %CS = shl i64 %C, 16 80 %D = or i64 %B, %CS 96 %CS = shl i64 %C, 40 97 %D = or i64 %B, %CS 115 %CS = shl i64 %C, 40 116 %D = or i64 %B, %CS
|
/external/clang/test/CodeGenCXX/ |
D | 2003-11-27-MultipleInheritanceThunk.cpp | 7 CallSite(const CallSite &CS); 13 virtual int getModRefInfo(CallSite CS); 23 int getModRefInfo(CallSite CS) { in getModRefInfo()
|
/external/llvm/tools/opt/ |
D | AnalysisWrappers.cpp | 45 CallSite CS(cast<Value>(User)); in runOnModule() local 46 if (!CS) continue; in runOnModule() 48 for (CallSite::arg_iterator AI = CS.arg_begin(), in runOnModule() 49 E = CS.arg_end(); AI != E; ++AI) { in runOnModule()
|
/external/llvm/include/llvm/Support/ |
D | CallSite.h | 293 bool operator==(const CallSite &CS) const { return I == CS.I; } 294 bool operator!=(const CallSite &CS) const { return I != CS.I; } 295 bool operator<(const CallSite &CS) const { 296 return getInstruction() < CS.getInstruction(); 311 ImmutableCallSite(CallSite CS) : Base(CS.getInstruction()) {} in ImmutableCallSite() argument
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 338 bool processByValArgument(CallSite CS, unsigned ArgNo); 588 CallSite CS(C); in performCallSlotOptzn() local 693 for (unsigned i = 0; i < CS.arg_size(); ++i) in performCallSlotOptzn() 694 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn() 699 if (CS.getArgument(i)->getType() == Dest->getType()) in performCallSlotOptzn() 700 CS.setArgument(i, Dest); in performCallSlotOptzn() 702 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn() 703 CS.getArgument(i)->getType(), Dest->getName(), C)); in performCallSlotOptzn() 892 bool MemCpyOpt::processByValArgument(CallSite CS, unsigned ArgNo) { in processByValArgument() argument 896 Value *ByValArg = CS.getArgument(ArgNo); in processByValArgument() [all …]
|