/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | LibCallAliasAnalysis.cpp | 46 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 D | CodeMetrics.cpp | 33 ImmutableCallSite CS(cast<Instruction>(II)); 35 if (const Function *F = CS.getCalledFunction()) { 39 if (!CS.isNoInline() && F->hasInternalLinkage() && F->hasOneUse()) 54 if (!isa<InlineAsm>(CS.getCalledValue()))
|
H A D | CaptureTracking.cpp | 109 CallSite CS(I); 113 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) 123 CallSite::arg_iterator B = CS.arg_begin(), E = CS.arg_end(); 125 if (A->get() == V && !CS.doesNotCapture(A - B))
|
H A D | NoAliasAnalysis.cpp | 46 virtual ModRefBehavior getModRefBehavior(ImmutableCallSite CS) { argument 57 virtual ModRefResult getModRefInfo(ImmutableCallSite CS, argument
|
H A D | AliasAnalysis.cpp | 79 AliasAnalysis::getModRefInfo(ImmutableCallSite CS, argument 83 ModRefBehavior MRB = getModRefBehavior(CS); 94 MDNode *CSTag = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa); 95 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); 121 return ModRefResult(AA->getModRefInfo(CS, Loc) & Mask); 198 AliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { argument 205 if (const Function *F = CS.getCalledFunction()) 213 return ModRefBehavior(AA->getModRefBehavior(CS) & Min); 443 ImmutableCallSite CS( [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Transforms/IPO/ |
H A D | InlinerPass.h | 60 unsigned getInlineThreshold(CallSite CS) const; 67 virtual InlineCost getInlineCost(CallSite CS) = 0; 86 bool shouldInline(CallSite CS);
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | InlineSimple.cpp | 51 InlineCost getInlineCost(CallSite CS) { argument 52 return ICA->getInlineCost(CS, getInlineThreshold(CS));
|
H A D | Inliner.cpp | 117 static bool InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI, argument 120 Function *Callee = CS.getCalledFunction(); 121 Function *Caller = CS.getCaller(); 125 if (!InlineFunction(CS, IFI, InsertLifetime)) 153 // When processing our SCC, check to see if CS was inlined from some other 232 unsigned Inliner::getInlineThreshold(CallSite CS) const { 238 Function *Caller = CS.getCaller(); 248 Function *Callee = CS.getCalledFunction(); 262 bool Inliner::shouldInline(CallSite CS) { argument 263 InlineCost IC = getInlineCost(CS); 447 CallSite CS = CallSites[CSi].first; local [all...] |
H A D | InlineAlways.cpp | 50 virtual InlineCost getInlineCost(CallSite CS); 89 InlineCost AlwaysInliner::getInlineCost(CallSite CS) { argument 90 Function *Callee = CS.getCalledFunction();
|
H A D | IPConstantPropagation.cpp | 99 CallSite CS(cast<Instruction>(U)); 100 if (!CS.isCallee(UI)) 105 CallSite::arg_iterator AI = CS.arg_begin(); 224 CallSite CS(*UI); 225 Instruction* Call = CS.getInstruction(); 229 if (!Call || !CS.isCallee(UI)) 243 New = CS.getArgument(A->getArgNo()); 269 New = CS.getArgument(A->getArgNo());
|
/freebsd-10.0-release/contrib/llvm/tools/opt/ |
H A D | AnalysisWrappers.cpp | 45 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) {
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | PrintfFormatString.cpp | 230 PrintfConversionSpecifier CS(conversionPosition, k); 231 FS.setConversionSpecifier(CS); 232 if (CS.consumesDataArgument() && !FS.usesPositionalArg()) 281 const PrintfConversionSpecifier &CS = getConversionSpecifier(); local 283 if (!CS.consumesDataArgument()) 286 if (CS.getKind() == ConversionSpecifier::cArg) 295 if (CS.isIntArg()) 319 if (CS.isUIntArg()) 344 if (CS.isDoubleArg()) { 350 if (CS [all...] |
H A D | CFGStmtMap.cpp | 53 Optional<CFGStmt> CS = CE.getAs<CFGStmt>(); local 54 if (!CS) 57 CFGBlock *&Entry = SM[CS->getStmt()];
|
H A D | ScanfFormatString.cpp | 33 ScanfConversionSpecifier &CS, 61 CS.setEndScanList(I); 192 ScanfConversionSpecifier CS(conversionPosition, k); 194 if (ParseScanList(H, CS, I, E)) 197 FS.setConversionSpecifier(CS); 198 if (CS.consumesDataArgument() && !FS.getSuppressAssignment() 213 const ScanfConversionSpecifier &CS = getConversionSpecifier(); local 215 if (!CS.consumesDataArgument()) 218 switch(CS.getKind()) { 378 if (CS 32 ParseScanList(FormatStringHandler &H, ScanfConversionSpecifier &CS, const char *&Beg, const char *E) argument [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCAliasAnalysis.cpp | 111 ObjCARCAliasAnalysis::getModRefBehavior(ImmutableCallSite CS) { argument 113 return AliasAnalysis::getModRefBehavior(CS); 132 ObjCARCAliasAnalysis::getModRefInfo(ImmutableCallSite CS, const Location &Loc) { argument 134 return AliasAnalysis::getModRefInfo(CS, Loc); 136 switch (GetBasicInstructionClass(CS.getInstruction())) { 153 return AliasAnalysis::getModRefInfo(CS, Loc);
|
H A D | ObjCARCAliasAnalysis.h | 63 virtual ModRefBehavior getModRefBehavior(ImmutableCallSite CS); 65 virtual ModRefResult getModRefInfo(ImmutableCallSite CS,
|
H A D | DependencyAnalysis.cpp | 48 ImmutableCallSite CS = static_cast<const Value *>(Inst); local 49 assert(CS && "Only calls can alter reference counts!"); 52 AliasAnalysis::ModRefBehavior MRB = PA.getAA()->getModRefBehavior(CS); 56 for (ImmutableCallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); 86 } else if (ImmutableCallSite CS = static_cast<const Value *>(Inst)) { 88 for (ImmutableCallSite::arg_iterator OI = CS.arg_begin(), 89 OE = CS.arg_end(); OI != OE; ++OI) {
|
/freebsd-10.0-release/sys/dev/spibus/ |
H A D | spibusvar.h | 28 SPIBUS_ACCESSOR(cs, CS, uint32_t)
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/IPA/ |
H A 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) { argument 683 ConstantArgs.reserve(CS.arg_size()); 684 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); 695 SimplifiedValues[CS.getInstruction()] = C; 702 bool CallAnalyzer::visitCallSite(CallSite CS) { argument 703 if (CS 895 analyzeCall(CallSite CS) argument 1166 getInlineCost(CallSite CS, int Threshold) argument 1170 getInlineCost(CallSite CS, Function *Callee, int Threshold) argument [all...] |
H A D | CallGraph.cpp | 143 CallSite CS(cast<Value>(II)); 144 if (CS) { 145 const Function *Callee = CS.getCalledFunction(); 148 Node->addCalledFunction(CS, CallsExternalNode); 150 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 264 OS << " CS<" << I->first << "> calls "; 280 void CallGraphNode::removeCallEdgeFor(CallSite CS) { argument 283 if (I->first == CS.getInstruction()) { 323 void CallGraphNode::replaceCallEdge(CallSite CS, argument 327 if (I->first == CS [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | CodeMetrics.h | 33 /// instruction. Note that if isInstructionFree(CS.getInstruction()) would 35 bool callIsSmall(ImmutableCallSite CS);
|
H A D | InlineCost.h | 126 InlineCost getInlineCost(CallSite CS, int Threshold); 135 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
|
H A D | LibCallAliasAnalysis.h | 40 ModRefResult getModRefInfo(ImmutableCallSite CS, 68 ImmutableCallSite CS,
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | Solaris.h | 20 #undef CS macro
|
H A D | CallSite.h | 292 bool operator==(const CallSite &CS) const { return I == CS.I; } 293 bool operator!=(const CallSite &CS) const { return I != CS.I; } 294 bool operator<(const CallSite &CS) const { 295 return getInstruction() < CS.getInstruction(); 310 ImmutableCallSite(CallSite CS) : Base(CS.getInstruction()) {} argument
|