/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | FrontendActions.cpp | 16 ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI, argument 18 return CreateAnalysisConsumer(CI.getPreprocessor(), 19 CI.getFrontendOpts().OutputFile, 20 CI.getAnalyzerOpts(), 21 CI.getFrontendOpts().Plugins);
|
/external/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 135 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, argument 137 ASTConsumer* Consumer = CreateASTConsumer(CI, InFile); 141 if (CI.getFrontendOpts().AddPluginActions.size() == 0) 148 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size(); 156 if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) { 159 if (P->ParseArgs(CI, CI.getFrontendOpts().AddPluginArgs[i])) 160 Consumers.push_back(c->CreateASTConsumer(CI, InFile)); 168 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, argument 173 setCompilerInstance(&CI); 407 CompilerInstance &CI = getCompilerInstance(); local 428 CompilerInstance &CI = getCompilerInstance(); local 493 CompilerInstance &CI = getCompilerInstance(); local 518 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 523 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 527 BeginInvocation(CompilerInstance &CI) argument 530 BeginSourceFileAction(CompilerInstance &CI, StringRef Filename) argument [all...] |
H A D | ASTMerge.cpp | 19 ASTConsumer *ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, argument 21 return AdaptedAction->CreateASTConsumer(CI, InFile); 24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI, argument 30 AdaptedAction->setCompilerInstance(&CI); 31 return AdaptedAction->BeginSourceFileAction(CI, Filename); 35 CompilerInstance &CI = getCompilerInstance(); local 36 CI.getDiagnostics().getClient()->BeginSourceFile( 37 CI.getASTContext().getLangOpts()); 38 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument, 39 &CI [all...] |
H A D | FrontendActions.cpp | 36 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, argument 48 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, argument 50 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile)) 51 return CreateASTPrinter(OS, CI.getFrontendOpts().ASTDumpFilter); 55 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, argument 57 return CreateASTDumper(CI.getFrontendOpts().ASTDumpFilter, 58 CI.getFrontendOpts().ASTDumpLookups); 61 ASTConsumer *ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, argument 66 ASTConsumer *ASTViewAction::CreateASTConsumer(CompilerInstance &CI, argument 71 ASTConsumer *DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI, argument 76 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 90 ComputeASTConsumerArguments(CompilerInstance &CI, StringRef InFile, std::string &Sysroot, std::string &OutputFile, raw_ostream *&OS) argument 114 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 243 BeginSourceFileAction(CompilerInstance &CI, StringRef Filename) argument 338 ComputeASTConsumerArguments(CompilerInstance &CI, StringRef InFile, std::string &Sysroot, std::string &OutputFile, raw_ostream *&OS) argument 366 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 371 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 376 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 382 CompilerInstance &CI = getCompilerInstance(); local 578 CompilerInstance &CI = getCompilerInstance(); local 607 CompilerInstance &CI = getCompilerInstance(); local 678 CompilerInstance &CI = getCompilerInstance(); local [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | ARCMTActions.cpp | 17 bool CheckAction::BeginInvocation(CompilerInstance &CI) { argument 18 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(), 19 CI.getDiagnostics().getClient())) 23 CI.getDiagnostics().setIgnoreAllWarnings(true); 30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { argument 31 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(), 32 CI.getDiagnostics().getClient()); 38 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { argument 39 if (arcmt::migrateWithTemporaryFiles(CI.getInvocation(), 41 CI [all...] |
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
H A D | InterfaceWithClient.java | 14 * @param <CI> the type of the client interface. 16 public interface InterfaceWithClient<CI extends Interface> extends Interface { 21 interface Proxy<CI extends Interface> extends Interface.Proxy, InterfaceWithClient<CI> { 27 * @param <CI> the type of the client interface. 29 abstract class AbstractProxy<CI extends Interface> extends Interface.AbstractProxy 30 implements Proxy<CI> { 46 public void setClient(CI client) { 57 * @param <CI> the type of the client interface. 59 abstract class Manager<I extends InterfaceWithClient<CI>, [all...] |
/external/clang/lib/Rewrite/Frontend/ |
H A D | FrontendActions.cpp | 33 ASTConsumer *HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, argument 35 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile)) 36 return CreateHTMLPrinter(OS, CI.getPreprocessor()); 43 ASTConsumer *FixItAction::CreateASTConsumer(CompilerInstance &CI, argument 87 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI, argument 97 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), 98 CI.getLangOpts(), FixItOpts.get())); 107 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { argument 112 const FrontendOptions &FEOpts = CI 153 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument 170 CompilerInstance &CI = getCompilerInstance(); local 178 CompilerInstance &CI = getCompilerInstance(); local 186 CompilerInstance &CI = getCompilerInstance(); local [all...] |
/external/llvm/tools/bugpoint-passes/ |
H A D | TestPasses.cpp | 61 if (CallInst *CI = dyn_cast<CallInst>(I)) { 62 if (!CI->use_empty()) 63 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); 64 CI->getParent()->getInstList().erase(CI); variable
|
/external/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, argument 70 Module *M = CI->getParent()->getParent()->getParent(); 78 IRBuilder<> Builder(CI->getParent(), CI); 81 NewCI->setName(CI->getName()); 82 if (!CI->use_empty()) 83 CI->replaceAllUsesWith(NewCI); 317 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, argument 320 CallSite CS(CI); 321 switch (CI 340 LowerIntrinsicCall(CallInst *CI) argument 551 LowerToByteSwap(CallInst *CI) argument [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 57 /// performed. If it returns CI, then it transformed the call and CI is to be 58 /// deleted. If it returns something else, replace CI with the new value and 59 /// delete CI. 60 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) 67 Value *optimizeCall(CallInst *CI, const DataLayout *DL, argument 70 Caller = CI->getParent()->getParent(); 74 if (CI->getCalledFunction()) 75 Context = &CI->getCalledFunction()->getContext(); 78 if (!ignoreCallingConv() && CI 117 callHasFloatingPointArgument(const CallInst *CI) argument 152 CallInst *CI; member in struct:__anon26366::InstFortifiedLibCallOptimization 1344 CallInst *CI = B.CreateCall2(Callee, One, LdExpArg); variable 1394 isTrigLibCall(CallInst *CI) argument 1414 CallInst *CI = dyn_cast<CallInst>(Val); local 1635 isReportingError(Function *Callee, CallInst *CI) argument 1663 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1748 OptimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 1842 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument 2106 lookupOptimization(CallInst *CI) argument 2286 optimizeCall(CallInst *CI) argument 2305 optimizeCall(CallInst *CI) argument [all...] |
H A D | LowerExpectIntrinsic.cpp | 62 CallInst *CI = dyn_cast<CallInst>(SI->getCondition()); local 63 if (!CI) 66 Function *Fn = CI->getCalledFunction(); 70 Value *ArgValue = CI->getArgOperand(0); 71 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); 86 MDBuilder(CI->getContext()).createBranchWeights(Weights)); 106 CallInst *CI; 110 CI = dyn_cast<CallInst>(BI->getCondition()); 114 CI = dyn_cast<CallInst>(CmpI->getOperand(0)); 117 if (!CI) 165 CallInst *CI = dyn_cast<CallInst>(BI++); local [all...] |
H A D | BuildLibCalls.cpp | 55 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); local 57 CI->setCallingConv(F->getCallingConv()); 59 return CI; 85 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen"); local 87 CI->setCallingConv(F->getCallingConv()); 89 return CI; 112 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), local 115 CI->setCallingConv(F->getCallingConv()); 116 return CI; 142 CallInst *CI local 168 CallInst *CI = B.CreateCall2(StrCpy, CastToCStr(Dst, B), CastToCStr(Src, B), local 194 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B), local 224 CallInst *CI = B.CreateCall4(MemCpy, Dst, Src, Len, ObjSize); local 251 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); local 281 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), local 317 CallInst *CI = B.CreateCall(Callee, Op, Name); local 338 CallInst *CI = B.CreateCall2(Callee, Op1, Op2, Name); local 356 CallInst *CI = B.CreateCall(PutChar, local 386 CallInst *CI = B.CreateCall(PutS, CastToCStr(Str, B), "puts"); local 418 CallInst *CI = B.CreateCall2(F, Char, File, "fputc"); local 450 CallInst *CI = B.CreateCall2(F, CastToCStr(Str, B), File, "fputs"); local 488 CallInst *CI = B.CreateCall4(F, CastToCStr(Ptr, B), Size, local 498 fold(CallInst *CI, const DataLayout *TD, const TargetLibraryInfo *TLI) argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | IntrinsicLowering.h | 50 void LowerIntrinsicCall(CallInst *CI); 55 static bool LowerToByteSwap(CallInst *CI);
|
/external/clang/include/clang/Lex/ |
H A D | PreprocessorLexer.h | 99 PPConditionalInfo CI; local 100 CI.IfLoc = DirectiveStart; 101 CI.WasSkipping = WasSkipping; 102 CI.FoundNonSkip = FoundNonSkip; 103 CI.FoundElse = FoundElse; 104 ConditionalStack.push_back(CI); 106 void pushConditionalLevel(const PPConditionalInfo &CI) { argument 107 ConditionalStack.push_back(CI); 113 bool popConditionalLevel(PPConditionalInfo &CI) { argument 116 CI [all...] |
/external/clang/include/clang/ARCMigrate/ |
H A D | ARCMTActions.h | 22 bool BeginInvocation(CompilerInstance &CI) override; 30 bool BeginInvocation(CompilerInstance &CI) override; 39 bool BeginInvocation(CompilerInstance &CI) override; 40 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 49 bool BeginInvocation(CompilerInstance &CI) override; 68 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 70 bool BeginInvocation(CompilerInstance &CI) override;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | TailRecursionElimination.cpp | 105 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 119 bool CanMoveAboveCall(Instruction *I, CallInst *CI); 120 Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI); 299 CallInst *CI = dyn_cast<CallInst>(&I); local 300 if (!CI || CI->isTailCall()) 303 if (CI->doesNotAccessMemory()) { 312 for (auto &Arg : CI->arg_operands()) { 323 F.getContext(), "tailcallelim", F, CI->getDebugLoc(), 325 CI 440 CanMoveAboveCall(Instruction *I, CallInst *CI) argument 478 isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) argument 513 getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) argument 540 CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI) argument 619 EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, BasicBlock *&OldEntry, bool &TailCallsAreMarkedTail, SmallVectorImpl<PHINode *> &ArgumentPHIs, bool CannotTailCallElimCallsMarkedTail) argument 840 CallInst *CI = FindTRECandidate(Ret, CannotTailCallElimCallsMarkedTail); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 85 bool expandBFI(CallInst *CI); 88 bool expandBFM(CallInst *CI); 92 bool isSigned24BitOps(CallInst *CI); 93 void expandSigned24BitOps(CallInst *CI); 97 bool isRWGLocalOpt(CallInst *CI); 101 bool convertAccurateDivide(CallInst *CI); 102 void expandAccurateDivide(CallInst *CI); 111 bool propagateSamplerInst(CallInst *CI); 242 CallInst *CI = isConstVec[x]; local 243 Constant *CV = dyn_cast<Constant>(CI 301 CallInst *CI = dyn_cast<CallInst>(inst); local 669 CallInst *CI = CallInst::Create(Func, Operands, "BitInsertOpt"); local 834 CallInst *CI = CallInst::Create(Func, Operands, "ByteExtractOpt"); local 842 expandBFI(CallInst *CI) argument 881 expandBFM(CallInst *CI) argument 977 isSigned24BitOps(CallInst *CI) argument 995 expandSigned24BitOps(CallInst *CI) argument 1067 isRWGLocalOpt(CallInst *CI) argument 1075 convertAccurateDivide(CallInst *CI) argument 1089 expandAccurateDivide(CallInst *CI) argument 1100 propagateSamplerInst(CallInst *CI) argument [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 85 bool expandBFI(CallInst *CI); 88 bool expandBFM(CallInst *CI); 92 bool isSigned24BitOps(CallInst *CI); 93 void expandSigned24BitOps(CallInst *CI); 97 bool isRWGLocalOpt(CallInst *CI); 101 bool convertAccurateDivide(CallInst *CI); 102 void expandAccurateDivide(CallInst *CI); 111 bool propagateSamplerInst(CallInst *CI); 242 CallInst *CI = isConstVec[x]; local 243 Constant *CV = dyn_cast<Constant>(CI 301 CallInst *CI = dyn_cast<CallInst>(inst); local 669 CallInst *CI = CallInst::Create(Func, Operands, "BitInsertOpt"); local 834 CallInst *CI = CallInst::Create(Func, Operands, "ByteExtractOpt"); local 842 expandBFI(CallInst *CI) argument 881 expandBFM(CallInst *CI) argument 977 isSigned24BitOps(CallInst *CI) argument 995 expandSigned24BitOps(CallInst *CI) argument 1067 isRWGLocalOpt(CallInst *CI) argument 1075 convertAccurateDivide(CallInst *CI) argument 1089 expandAccurateDivide(CallInst *CI) argument 1100 propagateSamplerInst(CallInst *CI) argument [all...] |
/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 239 void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) { argument 240 Function *F = CI->getCalledFunction(); 241 LLVMContext &C = CI->getContext(); 243 Builder.SetInsertPoint(CI->getParent(), CI); 255 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1), 258 Rep = Builder.CreateSExt(Rep, CI->getType(), ""); 261 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI [all...] |
/external/clang/include/clang/Rewrite/Frontend/ |
H A D | FrontendActions.h | 25 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 34 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 37 bool BeginSourceFileAction(CompilerInstance &CI, 57 bool BeginInvocation(CompilerInstance &CI) override; 62 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | VectorUtils.h | 97 getIntrinsicIDForCall(CallInst *CI, const TargetLibraryInfo *TLI) { argument 99 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI)) { 112 Function *F = CI->getCalledFunction(); 127 return checkUnaryFloatSignature(*CI, Intrinsic::sin); 131 return checkUnaryFloatSignature(*CI, Intrinsic::cos); 135 return checkUnaryFloatSignature(*CI, Intrinsic::exp); 139 return checkUnaryFloatSignature(*CI, Intrinsic::exp2); 143 return checkUnaryFloatSignature(*CI, Intrinsic::log); 147 return checkUnaryFloatSignature(*CI, Intrinsic::log10); 151 return checkUnaryFloatSignature(*CI, Intrinsi [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 30 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { 31 Offset = CI->getZExtValue(); 81 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, argument 86 PointerType *PTy = cast<PointerType>(CI.getType()); 149 // things that used it to use the new cast. This will also hack on CI, but it 157 return ReplaceInstUsesWith(CI, New); 238 const CastInst *CI, ///< The first cast instruction 244 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 245 Type *MidTy = CI->getType(); // B from above 248 Instruction::CastOps firstOp = Instruction::CastOps(CI 237 isEliminableCastPair( const CastInst *CI, unsigned opcode, Type *DstTy, const DataLayout *DL ) argument 294 commonCastTransforms(CastInst &CI) argument 439 visitTrunc(TruncInst &CI) argument 513 transformZExtICmp(ICmpInst *ICI, Instruction &CI, bool DoXform) argument 760 visitZExt(ZExtInst &CI) argument 894 transformSExtICmp(ICmpInst *ICI, Instruction &CI) argument 1041 visitSExt(SExtInst &CI) argument 1171 visitFPTrunc(FPTruncInst &CI) argument 1354 visitFPExt(CastInst &CI) argument 1398 visitUIToFP(CastInst &CI) argument 1402 visitSIToFP(CastInst &CI) argument 1406 visitIntToPtr(IntToPtrInst &CI) argument 1431 commonPointerCastTransforms(CastInst &CI) argument 1490 visitPtrToInt(PtrToIntInst &CI) argument 1669 ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1)); local 1695 OptimizeIntegerToVectorInsertions(BitCastInst &CI, InstCombiner &IC) argument 1725 OptimizeIntToFloatBitCast(BitCastInst &CI,InstCombiner &IC) argument 1783 visitBitCast(BitCastInst &CI) argument 1911 visitAddrSpaceCast(AddrSpaceCastInst &CI) argument [all...] |
/external/clang/include/clang/Frontend/ |
H A D | FrontendAction.h | 44 ASTConsumer* CreateWrappedASTConsumer(CompilerInstance &CI, 57 /// \param CI - The current compiler instance, provided as a convenience, see 64 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 73 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } argument 79 virtual bool BeginSourceFileAction(CompilerInstance &CI, argument 188 /// \param CI - The compiler instance this action is being run from. The 202 bool BeginSourceFile(CompilerInstance &CI, const FrontendInputFile &Input); 231 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 237 /// \param CI - The compiler instance, for use in reporting diagnostics. 241 virtual bool ParseArgs(const CompilerInstance &CI, [all...] |
H A D | FrontendActions.h | 29 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 44 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 50 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 56 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 62 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 68 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 74 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 88 static bool ComputeASTConsumerArguments(CompilerInstance &CI, 101 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 116 bool BeginSourceFileAction(CompilerInstance &CI, StringRe [all...] |
/external/clang/include/clang/StaticAnalyzer/Frontend/ |
H A D | FrontendActions.h | 25 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|