/external/clang/lib/StaticAnalyzer/Frontend/ |
FrontendActions.cpp | 16 ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI, 18 return CreateAnalysisConsumer(CI.getPreprocessor(), 19 CI.getFrontendOpts().OutputFile, 20 CI.getAnalyzerOpts(), 21 CI.getFrontendOpts().Plugins);
|
/external/clang/lib/Frontend/ |
FrontendAction.cpp | 128 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, 130 ASTConsumer* Consumer = CreateASTConsumer(CI, InFile); 134 if (CI.getFrontendOpts().AddPluginActions.size() == 0) 141 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size(); 149 if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) { 152 if (P->ParseArgs(CI, CI.getFrontendOpts().AddPluginArgs[i])) 153 Consumers.push_back(c->CreateASTConsumer(CI, InFile)); 162 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, 167 setCompilerInstance(&CI); [all...] |
ASTMerge.cpp | 19 ASTConsumer *ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, 21 return AdaptedAction->CreateASTConsumer(CI, InFile); 24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI, 30 AdaptedAction->setCompilerInstance(&CI); 31 return AdaptedAction->BeginSourceFileAction(CI, Filename); 35 CompilerInstance &CI = getCompilerInstance(); 36 CI.getDiagnostics().getClient()->BeginSourceFile( 37 CI.getASTContext().getLangOpts()); 38 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument, 39 &CI.getASTContext()) [all...] |
FrontendActions.cpp | 36 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, 48 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, 50 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile)) 51 return CreateASTPrinter(OS, CI.getFrontendOpts().ASTDumpFilter); 55 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, 57 return CreateASTDumper(CI.getFrontendOpts().ASTDumpFilter, 58 CI.getFrontendOpts().ASTDumpLookups); 61 ASTConsumer *ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, 66 ASTConsumer *ASTDumpXMLAction::CreateASTConsumer(CompilerInstance &CI, 69 if (CI.getFrontendOpts().OutputFile.empty() [all...] |
/external/clang/lib/ARCMigrate/ |
ARCMTActions.cpp | 17 bool CheckAction::BeginInvocation(CompilerInstance &CI) { 18 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(), 19 CI.getDiagnostics().getClient())) 23 CI.getDiagnostics().setIgnoreAllWarnings(true); 30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { 31 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(), 32 CI.getDiagnostics().getClient()); 38 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { 39 if (arcmt::migrateWithTemporaryFiles(CI.getInvocation(), 41 CI.getDiagnostics().getClient() [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
cond1.cpp | 6 #define CI(stmt) try { stmt; abort(); } catch (int) { } 22 CI((argc+1 ? throw 0 : has_destructor())); 23 CI((0 ? has_destructor() : throw 0)); 24 CI((1 ? throw 0 : has_destructor())); 29 CI((argc+1 ? throw 0 : no_destructor())); 30 CI((0 ? no_destructor() : throw 0)); 31 CI((1 ? throw 0 : no_destructor())); 36 CI(throw PI(i)); 42 CI(0 ? 0 : throw PI(i)); 45 CI(0 ? has_destructor() : throw PI(i)) [all...] |
/ndk/tests/device/test-stlport_static-exception/jni/ |
cond1.cpp | 6 #define CI(stmt) try { stmt; abort(); } catch (int) { } 22 CI((argc+1 ? throw 0 : has_destructor())); 23 CI((0 ? has_destructor() : throw 0)); 24 CI((1 ? throw 0 : has_destructor())); 29 CI((argc+1 ? throw 0 : no_destructor())); 30 CI((0 ? no_destructor() : throw 0)); 31 CI((1 ? throw 0 : no_destructor())); 36 CI(throw PI(i)); 42 CI(0 ? 0 : throw PI(i)); 45 CI(0 ? has_destructor() : throw PI(i)) [all...] |
/external/clang/include/clang/Lex/ |
PreprocessorLexer.h | 99 PPConditionalInfo CI; 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) { 107 ConditionalStack.push_back(CI); 113 bool popConditionalLevel(PPConditionalInfo &CI) { 115 CI = ConditionalStack.back() [all...] |
/external/clang/lib/Rewrite/Frontend/ |
FrontendActions.cpp | 33 ASTConsumer *HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, 35 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile)) 36 return CreateHTMLPrinter(OS, CI.getPreprocessor()); 43 ASTConsumer *FixItAction::CreateASTConsumer(CompilerInstance &CI, 87 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI, 97 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), 98 CI.getLangOpts(), FixItOpts.get())); 107 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { 112 const FrontendOptions &FEOpts = CI.getFrontendOpts() [all...] |
/external/llvm/tools/bugpoint-passes/ |
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);
|
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, 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, 320 CallSite CS(CI); 321 switch (CI->getArgOperand(0)->getType()->getTypeID()) [all...] |
/external/clang/include/clang/Frontend/ |
FrontendActions.h | 28 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 43 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 49 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 55 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 61 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 67 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 73 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 79 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 93 static bool ComputeASTConsumerArguments(CompilerInstance &CI, 105 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, [all...] |
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; } 79 virtual bool BeginSourceFileAction(CompilerInstance &CI, 189 /// \param CI - The compiler instance this action is being run from. The 203 bool BeginSourceFile(CompilerInstance &CI, const FrontendInputFile &Input); 232 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 238 /// \param CI - The compiler instance, for use in reporting diagnostics. 242 virtual bool ParseArgs(const CompilerInstance &CI, [all...] |
/external/llvm/include/llvm/CodeGen/ |
IntrinsicLowering.h | 50 void LowerIntrinsicCall(CallInst *CI); 55 static bool LowerToByteSwap(CallInst *CI);
|
/external/clang/include/clang/Rewrite/Frontend/ |
FrontendActions.h | 25 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 34 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 37 virtual bool BeginSourceFileAction(CompilerInstance &CI, 57 virtual bool BeginInvocation(CompilerInstance &CI); 62 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 50 /// performed. If it returns CI, then it transformed the call and CI is to be 51 /// deleted. If it returns something else, replace CI with the new value and 52 /// delete CI. 53 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) 60 Value *optimizeCall(CallInst *CI, const DataLayout *TD, 63 Caller = CI->getParent()->getParent(); 67 if (CI->getCalledFunction()) 68 Context = &CI->getCalledFunction()->getContext(); 71 if (!ignoreCallingConv() && CI->getCallingConv() != llvm::CallingConv::C [all...] |
LowerExpectIntrinsic.cpp | 61 CallInst *CI = dyn_cast<CallInst>(SI->getCondition()); 62 if (!CI) 65 Function *Fn = CI->getCalledFunction(); 69 Value *ArgValue = CI->getArgOperand(0); 70 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); 85 MDBuilder(CI->getContext()).createBranchWeights(Weights)); 105 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0)); 106 if (!CI) 109 Function *Fn = CI->getCalledFunction(); 113 Value *ArgValue = CI->getArgOperand(0) [all...] |
BuildLibCalls.cpp | 54 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); 56 CI->setCallingConv(F->getCallingConv()); 58 return CI; 84 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen"); 86 CI->setCallingConv(F->getCallingConv()); 88 return CI; 111 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), 114 CI->setCallingConv(F->getCallingConv()); 115 return CI; 141 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B) [all...] |
/external/clang/include/clang/ARCMigrate/ |
ARCMTActions.h | 22 virtual bool BeginInvocation(CompilerInstance &CI); 30 virtual bool BeginInvocation(CompilerInstance &CI); 39 virtual bool BeginInvocation(CompilerInstance &CI); 40 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 49 virtual bool BeginInvocation(CompilerInstance &CI); 72 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,StringRef InFile); 73 virtual bool BeginInvocation(CompilerInstance &CI);
|
/external/clang/include/clang/StaticAnalyzer/Frontend/ |
FrontendActions.h | 25 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 28 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { 29 Offset = CI->getZExtValue(); 79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, 84 PointerType *PTy = cast<PointerType>(CI.getType()); 146 // things that used it to use the new cast. This will also hack on CI, but it 154 return ReplaceInstUsesWith(CI, New); 235 const CastInst *CI, ///< The first cast instruction 241 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 242 Type *MidTy = CI->getType(); // B from above 245 Instruction::CastOps firstOp = Instruction::CastOps(CI->getOpcode()) [all...] |
/external/llvm/lib/IR/ |
AutoUpgrade.cpp | 164 void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) { 165 Function *F = CI->getCalledFunction(); 166 LLVMContext &C = CI->getContext(); 168 Builder.SetInsertPoint(CI->getParent(), CI); 180 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1), 183 Rep = Builder.CreateSExt(Rep, CI->getType(), ""); 186 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
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]; 243 Constant *CV = dyn_cast<Constant>(CI->getOperand(0)) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
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]; 243 Constant *CV = dyn_cast<Constant>(CI->getOperand(0)) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
TailRecursionElimination.cpp | 99 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 113 bool CanMoveAboveCall(Instruction *I, CallInst *CI); 114 Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI); 250 if (CallInst *CI = dyn_cast<CallInst>(I)) { 251 if (!ACT.UsesAlloca.count(CI)) { 252 CI->setTailCall(); 268 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { 276 if (CI->mayHaveSideEffects()) { 281 if (CI->mayWriteToMemory() || 294 if (I->getOperand(i) == CI) [all...] |