/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 31 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 43 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 50 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 55 ASTConsumer *ASTDumpXMLAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 66 ASTConsumer *ASTViewAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 71 ASTConsumer *DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 76 ASTConsumer *GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 90 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI, in ComputeASTConsumerArguments() 115 ASTConsumer *SyntaxOnlyAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 155 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local [all …]
|
D | FrontendAction.cpp | 92 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer() 125 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile() 276 CompilerInstance &CI = getCompilerInstance(); in Execute() local 302 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile() local 362 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local 382 PreprocessorFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 387 ASTConsumer *WrapperFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 391 bool WrapperFrontendAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() 394 bool WrapperFrontendAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
|
D | ASTMerge.cpp | 19 ASTConsumer *ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction() 36 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
|
D | CreateInvocationFromCommandLine.cpp | 83 CompilerInvocation *CI = new CompilerInvocation(); in createInvocationFromCommandLine() local
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 33 static bool isMallocCall(const CallInst *CI) { in isMallocCall() 61 const CallInst *CI = dyn_cast<CallInst>(I); in extractMallocCall() local 66 CallInst *CI = dyn_cast<CallInst>(I); in extractMallocCall() local 91 static Value *computeArraySize(const CallInst *CI, const TargetData *TD, in computeArraySize() 120 const CallInst *CI = extractMallocCall(I); in isArrayMalloc() local 136 PointerType *llvm::getMallocType(const CallInst *CI) { in getMallocType() 167 Type *llvm::getMallocAllocatedType(const CallInst *CI) { in getMallocAllocatedType() 177 Value *llvm::getMallocArraySize(CallInst *CI, const TargetData *TD, in getMallocArraySize() 189 const CallInst *CI = dyn_cast<CallInst>(I); in isFreeCall() local
|
/external/clang/lib/Rewrite/ |
D | FrontendActions.cpp | 30 ASTConsumer *HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 40 ASTConsumer *FixItAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 69 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction() 93 ASTConsumer *RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 103 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local 111 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
|
/external/clang/lib/ARCMigrate/ |
D | ARCMTActions.cpp | 17 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() 31 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() 40 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 45 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); in EmitStrLen() local 65 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), in EmitStrChr() local 88 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B), in EmitStrNCmp() local 108 CallInst *CI = B.CreateCall2(StrCpy, CastToCStr(Dst, B), CastToCStr(Src, B), in EmitStrCpy() local 127 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B), in EmitStrNCpy() local 152 CallInst *CI = B.CreateCall4(MemCpy, Dst, Src, Len, ObjSize); in EmitMemCpyChk() local 172 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); in EmitMemChr() local 196 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), in EmitMemCmp() local 228 CallInst *CI = B.CreateCall(Callee, Op, Name); in EmitUnaryFloatFnCall() local 242 CallInst *CI = B.CreateCall(PutChar, in EmitPutChar() local [all …]
|
D | AddrModeMatcher.cpp | 100 ConstantInt *CI = 0; Value *AddLHS = 0; in MatchScaledValue() local 232 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) { in MatchOperationAddr() local 311 if (ConstantInt *CI = dyn_cast<ConstantInt>(Addr)) { in MatchAddr() local 381 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() 434 if (CallInst *CI = dyn_cast<CallInst>(U)) { in FindAllMemoryUses() local
|
D | LowerExpectIntrinsic.cpp | 47 CallInst *CI = dyn_cast<CallInst>(SI->getCondition()); in HandleSwitchExpect() local 94 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0)); in HandleIfExpect() local 143 CallInst *CI = dyn_cast<CallInst>(BI++); in runOnFunction() local
|
/external/llvm/lib/VMCore/ |
D | Instruction.cpp | 198 if (const CmpInst *CI = dyn_cast<CmpInst>(this)) in isIdenticalToWhenDefined() local 200 if (const CallInst *CI = dyn_cast<CallInst>(this)) in isIdenticalToWhenDefined() local 204 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isIdenticalToWhenDefined() local 237 if (const CmpInst *CI = dyn_cast<CmpInst>(this)) in isSameOperationAs() local 239 if (const CallInst *CI = dyn_cast<CallInst>(this)) in isSameOperationAs() local 243 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isSameOperationAs() local 313 if (const CallInst *CI = dyn_cast<CallInst>(this)) in mayThrow() local
|
D | IRBuilder.cpp | 57 CallInst *CI = CallInst::Create(Callee, Ops, ""); in createCallHelper() local 72 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet() local 92 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy() local 112 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove() local
|
D | AutoUpgrade.cpp | 130 void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) { in UpgradeIntrinsicCall() 231 if (CallInst *CI = dyn_cast<CallInst>(*UI++)) in UpgradeCallsToIntrinsic() local 274 CallInst *CI = cast<CallInst>(Declare->use_back()); in CheckDebugInfoIntrinsics() local
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 26 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { in DecomposeSimpleLinearExpr() local 77 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation() 230 const CastInst *CI, ///< The first cast instruction in isEliminableCastPair() 269 if (const CastInst *CI = dyn_cast<CastInst>(V)) in ShouldOptimizeCast() local 283 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { in commonCastTransforms() 377 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in CanEvaluateTruncated() local 387 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in CanEvaluateTruncated() local 428 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc() 502 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, in transformZExtICmp() 745 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt() [all …]
|
D | InstCombineCompares.cpp | 142 static bool isHighOnes(const ConstantInt *CI) { in isHighOnes() 481 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) { in EvaluateGEPOffsetExpression() local 509 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i)); in EvaluateGEPOffsetExpression() local 680 Value *X, ConstantInt *CI, in FoldICmpAddOpCst() 1552 if (CastInst *CI = dyn_cast<CastInst>(ICI.getOperand(1))) { in visitICmpInstWithCastAndCast() local 1577 ConstantInt *CI = dyn_cast<ConstantInt>(ICI.getOperand(1)); in visitICmpInstWithCastAndCast() local 1744 ConstantInt *CI = dyn_cast<ConstantInt>(I.getOperand(1)); in DemandedBitsLHSMask() local 1842 if (ConstantInt *CI = dyn_cast<ConstantInt>(Op1)) { in visitICmpInst() local 1975 const APInt *CI; in visitICmpInst() local 2012 const APInt *CI; in visitICmpInst() local [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | TailRecursionElimination.cpp | 219 if (CallInst *CI = dyn_cast<CallInst>(I)) { in runOnFunction() local 232 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { in CanMoveAboveCall() 270 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { in isDynamicConstant() 305 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { in getCommonReturnValue() 333 CallInst *CI) { in CanTransformAccumulatorRecursion() 370 CallInst *CI = 0; in FindTRECandidate() local 410 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall() 609 if (CallInst *CI = FindTRECandidate(BI, CannotTailCallElimCallsMarkedTail)){ in FoldReturnAndProcessPred() local 627 CallInst *CI = FindTRECandidate(Ret, CannotTailCallElimCallsMarkedTail); in ProcessReturningBlock() local
|
D | CodeGenPrepare.cpp | 358 static bool OptimizeNoopCopyExpression(CastInst *CI, const TargetLowering &TLI){ in OptimizeNoopCopyExpression() 441 static bool OptimizeCmpExpression(CmpInst *CI) { in OptimizeCmpExpression() 507 bool CodeGenPrepare::OptimizeCallInst(CallInst *CI) { in OptimizeCallInst() 649 CallInst *CI = dyn_cast<CallInst>(PN->getIncomingValue(I)); in DupRetToEnableTailCallOpts() local 668 CallInst *CI = dyn_cast<CallInst>(&*RI); in DupRetToEnableTailCallOpts() local 676 CallInst *CI = TailCalls[i]; in DupRetToEnableTailCallOpts() local 1090 if (CastInst *CI = dyn_cast<CastInst>(I)) { in OptimizeInst() local 1110 if (CmpInst *CI = dyn_cast<CmpInst>(I)) in OptimizeInst() local 1140 if (CallInst *CI = dyn_cast<CallInst>(I)) in OptimizeInst() local
|
D | EarlyCSE.cpp | 60 if (CallInst *CI = dyn_cast<CallInst>(Inst)) in canHandle() local 97 if (CastInst *CI = dyn_cast<CastInst>(Inst)) in getHashValue() local 99 else if (CmpInst *CI = dyn_cast<CmpInst>(Inst)) in getHashValue() local 156 CallInst *CI = dyn_cast<CallInst>(Inst); in canHandle() local
|
/external/clang/include/clang/Lex/ |
D | PreprocessorLexer.h | 96 PPConditionalInfo CI; in pushConditionalLevel() local 103 void pushConditionalLevel(const PPConditionalInfo &CI) { in pushConditionalLevel() 110 bool popConditionalLevel(PPConditionalInfo &CI) { in popConditionalLevel()
|
/external/clang/lib/FrontendTool/ |
D | ExecuteCompilerInvocation.cpp | 31 static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { in CreateFrontendBaseAction() 86 static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { in CreateFrontendAction()
|
/external/clang/examples/PrintFunctionNames/ |
D | PrintFunctionNames.cpp | 37 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, llvm::StringRef) { in CreateASTConsumer() 41 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | FrontendActions.cpp | 16 ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 115 if (CallInst *CI = dyn_cast<CallInst>(I)) { in runOnSCC() local 208 if (CallInst *CI = dyn_cast<CallInst>(I++)) in SimplifyFunction() local 240 if (CallInst *CI = dyn_cast<CallInst>(I)) { in DeleteBasicBlock() local
|
/external/llvm/lib/CodeGen/ |
D | MachineLICM.cpp | 125 CI = CSEMap.begin(), CE = CSEMap.end(); CI != CE; ++CI) in releaseMemory() local 848 for (DenseMap<unsigned, int>::iterator CI = Cost.begin(), CE = Cost.end(); in CanCauseHighRegPressure() local 887 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in UpdateBackTraceRegPressure() local 893 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in UpdateBackTraceRegPressure() local 904 for (DenseMap<unsigned, int>::iterator CI = Cost.begin(), CE = Cost.end(); in UpdateBackTraceRegPressure() local 954 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in IsProfitableToHoist() local 967 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in IsProfitableToHoist() local 1063 CI = CSEMap.find(Opcode); in InitCSEMap() local 1085 bool MachineLICM::EliminateCSE(MachineInstr *MI, in EliminateCSE() 1153 CI = CSEMap.find(Opcode); in Hoist() local
|
D | IntrinsicLowering.cpp | 65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() 317 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, in ReplaceFPIntrinsicWithCall() 340 void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { in LowerIntrinsicCall() 549 bool IntrinsicLowering::LowerToByteSwap(CallInst *CI) { in LowerToByteSwap()
|