Home
last modified time | relevance | path

Searched defs:CI (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp88 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument()
194 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrCat()
242 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCat()
284 Value *LibCallSimplifier::optimizeStrChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrChr()
329 Value *LibCallSimplifier::optimizeStrRChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrRChr()
364 Value *LibCallSimplifier::optimizeStrCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrCmp()
405 Value *LibCallSimplifier::optimizeStrNCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCmp()
453 Value *LibCallSimplifier::optimizeStrCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStrCpy()
475 Value *LibCallSimplifier::optimizeStpCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStpCpy()
502 Value *LibCallSimplifier::optimizeStrNCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCpy()
[all …]
DBuildLibCalls.cpp51 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); in EmitStrLen() local
77 CallInst *CI = B.CreateCall( in EmitStrChr() local
101 CallInst *CI = B.CreateCall( in EmitStrNCmp() local
126 CallInst *CI = in EmitStrCpy() local
151 CallInst *CI = B.CreateCall( in EmitStrNCpy() local
178 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in EmitMemCpyChk() local
199 CallInst *CI = B.CreateCall(MemChr, {CastToCStr(Ptr, B), Val, Len}, "memchr"); in EmitMemChr() local
224 CallInst *CI = B.CreateCall( in EmitMemCmp() local
260 CallInst *CI = B.CreateCall(Callee, Op, Name); in EmitUnaryFloatFnCall() local
281 CallInst *CI = B.CreateCall(Callee, {Op1, Op2}, Name); in EmitBinaryFloatFnCall() local
[all …]
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp34 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
44 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
88 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
108 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
153 RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
175 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
183 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
191 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
/external/clang/lib/Frontend/
DFrontendActions.cpp38 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
50 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
57 ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
64 ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
69 ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
74 DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
80 GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
103 CompilerInstance &CI, StringRef InFile, std::string &Sysroot, in ComputeASTConsumerArguments()
126 GenerateModuleAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
269 bool GenerateModuleAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
[all …]
DFrontendAction.cpp138 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
171 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
433 CompilerInstance &CI = getCompilerInstance(); in Execute() local
456 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile() local
520 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
545 PreprocessorFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
551 WrapperFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
555 bool WrapperFrontendAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
558 bool WrapperFrontendAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
DASTMerge.cpp20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
35 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
/external/clang/lib/ARCMigrate/
DARCMTActions.cpp17 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
31 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
40 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
/external/clang/lib/StaticAnalyzer/Frontend/
DFrontendActions.cpp17 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
25 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp30 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { in decomposeSimpleLinearExpr() local
81 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation()
234 isEliminableCastPair(const CastInst *CI, ///< First cast instruction in isEliminableCastPair()
274 if (const CastInst *CI = dyn_cast<CastInst>(V)) in ShouldOptimizeCast() local
288 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { in commonCastTransforms()
382 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in canEvaluateTruncated() local
392 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in canEvaluateTruncated() local
477 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc()
583 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, in transformZExtICmp()
832 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt()
[all …]
DInstCombineCompares.cpp172 static bool isHighOnes(const ConstantInt *CI) { in isHighOnes()
517 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) { in EvaluateGEPOffsetExpression() local
545 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i)); in EvaluateGEPOffsetExpression() local
812 Value *X, ConstantInt *CI, in FoldICmpAddOpCst()
1534 if (auto *CI = dyn_cast<ConstantInt>(LHSI->getOperand(1))) { in visitICmpInstWithInstAndIntCst() local
2056 if (CastInst *CI = dyn_cast<CastInst>(ICI.getOperand(1))) { in visitICmpInstWithCastAndCast() local
2081 ConstantInt *CI = dyn_cast<ConstantInt>(ICI.getOperand(1)); in visitICmpInstWithCastAndCast() local
2377 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) { in ProcessUMulZExtIdiom() local
2406 ConstantInt *CI; in ProcessUMulZExtIdiom() local
2424 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in ProcessUMulZExtIdiom() local
[all …]
/external/clang/include/clang/Lex/
DPreprocessorLexer.h99 PPConditionalInfo CI; in pushConditionalLevel() local
106 void pushConditionalLevel(const PPConditionalInfo &CI) { in pushConditionalLevel()
113 bool popConditionalLevel(PPConditionalInfo &CI) { in popConditionalLevel()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp45 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect() local
87 CallInst *CI; in handleBranchExpect() local
144 CallInst *CI = dyn_cast<CallInst>(BI++); in lowerExpectIntrinsic() local
DTailRecursionElimination.cpp303 CallInst *CI = dyn_cast<CallInst>(&I); in markTails() local
446 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { in CanMoveAboveCall()
482 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { in isDynamicConstant()
516 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { in getCommonReturnValue()
543 CallInst *CI) { in CanTransformAccumulatorRecursion()
580 CallInst *CI = nullptr; in FindTRECandidate() local
620 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall()
821 if (CallInst *CI = FindTRECandidate(BI, CannotTailCallElimCallsMarkedTail)){ in FoldReturnAndProcessPred() local
849 CallInst *CI = FindTRECandidate(Ret, CannotTailCallElimCallsMarkedTail); in ProcessReturningBlock() local
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp242 CallInst *CI = isConstVec[x]; in doIsConstCallConversionIfNeeded() local
301 CallInst *CI = dyn_cast<CallInst>(inst); in optimizeCallInst() local
669 CallInst *CI = CallInst::Create(Func, Operands, "BitInsertOpt"); in optimizeBitInsert() local
834 CallInst *CI = CallInst::Create(Func, Operands, "ByteExtractOpt"); in optimizeBitExtract() local
842 AMDGPUPeepholeOpt::expandBFI(CallInst *CI) in expandBFI()
881 AMDGPUPeepholeOpt::expandBFM(CallInst *CI) in expandBFM()
977 AMDGPUPeepholeOpt::isSigned24BitOps(CallInst *CI) in isSigned24BitOps()
995 AMDGPUPeepholeOpt::expandSigned24BitOps(CallInst *CI) in expandSigned24BitOps()
1067 AMDGPUPeepholeOpt::isRWGLocalOpt(CallInst *CI) in isRWGLocalOpt()
1075 AMDGPUPeepholeOpt::convertAccurateDivide(CallInst *CI) in convertAccurateDivide()
[all …]
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp34 static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { in CreateFrontendBaseAction()
116 static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { in CreateFrontendAction()
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
Dinsert_iter_iter.pass.cpp53 typedef typename C::const_iterator CI; in test() typedef
70 typedef typename C::const_iterator CI; in test() typedef
87 typedef typename C::const_iterator CI; in test() typedef
169 typedef typename C::const_iterator CI; in testI() typedef
242 typedef typename C::const_iterator CI; in test_move() typedef
/external/llvm/lib/IR/
DInstruction.cpp294 if (const CmpInst *CI = dyn_cast<CmpInst>(I1)) in haveSameSpecialState() local
296 if (const CallInst *CI = dyn_cast<CallInst>(I1)) in haveSameSpecialState() local
301 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in haveSameSpecialState() local
472 if (const CallInst *CI = dyn_cast<CallInst>(this)) in mayThrow() local
482 if (const CallInst *CI = dyn_cast<CallInst>(this)) in mayReturn() local
/external/clang/include/clang/Frontend/
DFrontendAction.h73 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation()
79 virtual bool BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp129 if (const auto *CI = dyn_cast<CallInst>(&I)) { in runOnSCC() local
225 if (CallInst *CI = dyn_cast<CallInst>(I++)) in SimplifyFunction() local
257 if (CallInst *CI = dyn_cast<CallInst>(I)) { in DeleteBasicBlock() local
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp46 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
55 Visitor(CompilerInstance &CI, bool ActOnEndOfTranslationUnit, in Visitor()
73 CompilerInstance &CI; member in __anon212ce9e60111::TestASTFrontendAction::Visitor
/external/llvm/lib/Analysis/
DDemandedBits.cpp143 if (ConstantInt *CI = in determineLiveOperandBits() local
159 if (ConstantInt *CI = in determineLiveOperandBits() local
172 if (ConstantInt *CI = in determineLiveOperandBits() local
DLint.cpp487 if (ConstantInt *CI = dyn_cast<ConstantInt>(findValue(I.getOperand(1), in visitLShr() local
494 if (ConstantInt *CI = in visitAShr() local
501 if (ConstantInt *CI = in visitShl() local
590 if (ConstantInt *CI = dyn_cast<ConstantInt>(findValue(I.getIndexOperand(), in visitExtractElementInst() local
597 if (ConstantInt *CI = dyn_cast<ConstantInt>(findValue(I.getOperand(2), in visitInsertElementInst() local
657 } else if (CastInst *CI = dyn_cast<CastInst>(V)) { in findValueImpl() local
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h53 static inline void EraseInstruction(Instruction *CI) { in EraseInstruction()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp65 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()
587 bool IntrinsicLowering::LowerToByteSwap(CallInst *CI) { in LowerToByteSwap()
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp82 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
87 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()

1234567891011