Home
last modified time | relevance | path

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

12345678

/trueos/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
HDFrontendActions.cpp33 ASTConsumer *HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
43 ASTConsumer *FixItAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
87 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
107 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
153 ASTConsumer *RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
170 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
178 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
186 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
/trueos/contrib/llvm/tools/clang/lib/Frontend/
HDFrontendActions.cpp36 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
48 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
55 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
61 ASTConsumer *ASTDeclListAction::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()
89 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI, in ComputeASTConsumerArguments()
113 ASTConsumer *GenerateModuleAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
213 bool GenerateModuleAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
[all …]
HDFrontendAction.cpp128 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
162 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
365 CompilerInstance &CI = getCompilerInstance(); in Execute() local
393 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile() local
457 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
482 PreprocessorFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
487 ASTConsumer *WrapperFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
491 bool WrapperFrontendAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
494 bool WrapperFrontendAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
HDASTMerge.cpp19 ASTConsumer *ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
35 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
/trueos/contrib/llvm/lib/Transforms/Utils/
HDBuildLibCalls.cpp54 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); in EmitStrLen() local
84 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen"); in EmitStrNLen() local
111 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), in EmitStrChr() local
141 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B), in EmitStrNCmp() local
167 CallInst *CI = B.CreateCall2(StrCpy, CastToCStr(Dst, B), CastToCStr(Src, B), in EmitStrCpy() local
193 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B), in EmitStrNCpy() local
223 CallInst *CI = B.CreateCall4(MemCpy, Dst, Src, Len, ObjSize); in EmitMemCpyChk() local
250 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); in EmitMemChr() local
280 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), in EmitMemCmp() local
309 CallInst *CI = B.CreateCall(Callee, Op, Name); in EmitUnaryFloatFnCall() local
[all …]
HDLowerExpectIntrinsic.cpp61 CallInst *CI = dyn_cast<CallInst>(SI->getCondition()); in HandleSwitchExpect() local
105 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0)); in HandleIfExpect() local
151 CallInst *CI = dyn_cast<CallInst>(BI++); in runOnFunction() local
HDFlattenCFG.cpp179 Instruction *CI = BI++; in FlattenParallelAndOr() local
241 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition()); in FlattenParallelAndOr() local
426 Instruction *CI = BI; in MergeIfRegion() local
/trueos/contrib/llvm/tools/clang/lib/ARCMigrate/
HDARCMTActions.cpp17 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
38 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
/trueos/contrib/llvm/lib/IR/
HDInstruction.cpp295 if (const CmpInst *CI = dyn_cast<CmpInst>(this)) in isIdenticalToWhenDefined() local
297 if (const CallInst *CI = dyn_cast<CallInst>(this)) in isIdenticalToWhenDefined() local
301 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isIdenticalToWhenDefined() local
368 if (const CmpInst *CI = dyn_cast<CmpInst>(this)) in isSameOperationAs() local
370 if (const CallInst *CI = dyn_cast<CallInst>(this)) in isSameOperationAs() local
374 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isSameOperationAs() local
460 if (const CallInst *CI = dyn_cast<CallInst>(this)) in mayThrow() local
466 if (const CallInst *CI = dyn_cast<CallInst>(this)) in mayReturn() local
HDIRBuilder.cpp57 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
116 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove() local
HDConstantFold.cpp164 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in FoldBitCast() local
208 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) { in ExtractConstantBytes() local
630 ConstantInt *CI = cast<ConstantInt>(CE->getOperand(2)); in ConstantFoldCastInstruction() local
649 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() local
660 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() local
667 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() local
675 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() local
892 ConstantInt *CI; in ConstantFoldBinaryInstruction() local
1904 const ConstantInt *CI) { in isIndexInRangeOfSequentialType()
1998 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx0)) in ConstantFoldGetElementPtrImpl() local
[all …]
/trueos/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp28 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { in DecomposeSimpleLinearExpr() local
79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation()
235 const CastInst *CI, ///< The first cast instruction in isEliminableCastPair()
277 if (const CastInst *CI = dyn_cast<CastInst>(V)) in ShouldOptimizeCast() local
291 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { in commonCastTransforms()
385 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in CanEvaluateTruncated() local
395 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in CanEvaluateTruncated() local
436 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc()
510 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, in transformZExtICmp()
757 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt()
[all …]
HDInstCombineCompares.cpp169 static bool isHighOnes(const ConstantInt *CI) { in isHighOnes()
526 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) { in EvaluateGEPOffsetExpression() local
554 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i)); in EvaluateGEPOffsetExpression() local
746 Value *X, ConstantInt *CI, in FoldICmpAddOpCst()
1820 if (CastInst *CI = dyn_cast<CastInst>(ICI.getOperand(1))) { in visitICmpInstWithCastAndCast() local
1845 ConstantInt *CI = dyn_cast<ConstantInt>(ICI.getOperand(1)); in visitICmpInstWithCastAndCast() local
2020 ConstantInt *CI = dyn_cast<ConstantInt>(I.getOperand(1)); in DemandedBitsLHSMask() local
2181 if (ConstantInt *CI = dyn_cast<ConstantInt>(Op1)) { in visitICmpInst() local
2314 const APInt *CI; in visitICmpInst() local
2351 const APInt *CI; in visitICmpInst() local
[all …]
/trueos/contrib/llvm/lib/Transforms/Scalar/
HDTailRecursionElimination.cpp250 if (CallInst *CI = dyn_cast<CallInst>(I)) { in runOnFunction() local
268 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { in CanMoveAboveCall()
306 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { in isDynamicConstant()
341 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { in getCommonReturnValue()
369 CallInst *CI) { in CanTransformAccumulatorRecursion()
406 CallInst *CI = 0; in FindTRECandidate() local
447 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall()
646 if (CallInst *CI = FindTRECandidate(BI, CannotTailCallElimCallsMarkedTail)){ in FoldReturnAndProcessPred() local
665 CallInst *CI = FindTRECandidate(Ret, CannotTailCallElimCallsMarkedTail); in ProcessReturningBlock() local
HDCodeGenPrepare.cpp454 static bool OptimizeNoopCopyExpression(CastInst *CI, const TargetLowering &TLI){ in OptimizeNoopCopyExpression()
536 static bool OptimizeCmpExpression(CmpInst *CI) { in OptimizeCmpExpression()
601 bool CodeGenPrepare::OptimizeCallInst(CallInst *CI) { in OptimizeCallInst()
754 CallInst *CI = dyn_cast<CallInst>(PN->getIncomingValue(I)); in DupRetToEnableTailCallOpts() local
773 CallInst *CI = dyn_cast<CallInst>(&*RI); in DupRetToEnableTailCallOpts() local
781 CallInst *CI = TailCalls[i]; in DupRetToEnableTailCallOpts() local
968 ConstantInt *CI = 0; Value *AddLHS = 0; in MatchScaledValue() local
1099 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) { in MatchOperationAddr() local
1178 if (ConstantInt *CI = dyn_cast<ConstantInt>(Addr)) { in MatchAddr() local
1247 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand()
[all …]
/trueos/contrib/llvm/tools/clang/include/clang/Lex/
HDPreprocessorLexer.h99 PPConditionalInfo CI; in pushConditionalLevel() local
106 void pushConditionalLevel(const PPConditionalInfo &CI) { in pushConditionalLevel()
113 bool popConditionalLevel(PPConditionalInfo &CI) { in popConditionalLevel()
/trueos/contrib/llvm/tools/clang/lib/FrontendTool/
HDExecuteCompilerInvocation.cpp33 static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { in CreateFrontendBaseAction()
129 static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { in CreateFrontendAction()
/trueos/contrib/llvm/lib/Transforms/IPO/
HDPruneEH.cpp115 if (CallInst *CI = dyn_cast<CallInst>(I)) { in runOnSCC() local
210 if (CallInst *CI = dyn_cast<CallInst>(I++)) in SimplifyFunction() local
242 if (CallInst *CI = dyn_cast<CallInst>(I)) { in DeleteBasicBlock() local
/trueos/contrib/llvm/tools/clang/include/clang/Frontend/
HDFrontendAction.h73 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation()
79 virtual bool BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
HDFrontendActions.cpp16 ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
/trueos/contrib/llvm/lib/CodeGen/
HDIntrinsicLowering.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()
551 bool IntrinsicLowering::LowerToByteSwap(CallInst *CI) { in LowerToByteSwap()
HDStackProtector.cpp202 if (const ConstantInt *CI = in RequiresStackProtector() local
286 if (CallInst *CI = dyn_cast<CallInst>(Inst)) { in FindPotentialTailCall() local
374 if (CallInst *CI = FindPotentialTailCall(BB, RI, TLI)) { in InsertStackProtectors() local
HDDwarfEHPrepare.cpp141 CallInst *CI = CallInst::Create(RewindFunction, ExnObj, "", UnwindBB); in InsertUnwindResumeCalls() local
168 CallInst *CI = CallInst::Create(RewindFunction, PN, "", UnwindBB); in InsertUnwindResumeCalls() local
/trueos/contrib/llvm/lib/Analysis/
HDLint.cpp487 if (ConstantInt *CI = in visitLShr() local
494 if (ConstantInt *CI = in visitAShr() local
501 if (ConstantInt *CI = in visitShl() local
588 if (ConstantInt *CI = in visitExtractElementInst() local
596 if (ConstantInt *CI = in visitInsertElementInst() local
654 } else if (CastInst *CI = dyn_cast<CastInst>(V)) { in findValueImpl() local
HDCostModel.cpp235 ConstantInt *CI = dyn_cast<ConstantInt>(ReduxRoot->getOperand(1)); in matchPairwiseReduction() local
298 ConstantInt *CI = dyn_cast<ConstantInt>(ReduxRoot->getOperand(1)); in matchVectorSplittingReduction() local
448 ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1)); in getInstructionCost() local
468 ConstantInt *CI = dyn_cast<ConstantInt>(IE->getOperand(2)); in getInstructionCost() local

12345678