| /external/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
| D | SimplifyLibCalls.cpp | 56 static bool isCallingConvCCompatible(CallInst *CI) { in isCallingConvCCompatible() 100 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() 106 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) { in convertStrToNumber() 131 static bool isLocallyOpenedFile(Value *File, CallInst *CI, IRBuilder<> &B, in isLocallyOpenedFile() 157 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrCat() 195 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCat() 228 Value *LibCallSimplifier::optimizeStrChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrChr() 268 Value *LibCallSimplifier::optimizeStrRChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrRChr() 295 Value *LibCallSimplifier::optimizeStrCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrCmp() 328 Value *LibCallSimplifier::optimizeStrNCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCmp() [all …]
|
| D | LibCallsShrinkWrap.cpp | 78 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() 81 for (auto &CI : WorkList) { in perform() local 104 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond() 123 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond() 136 bool LibCallsShrinkWrap::performCallDomainErrorOnly(CallInst *CI, in performCallDomainErrorOnly() 188 bool LibCallsShrinkWrap::performCallRangeErrorOnly(CallInst *CI, in performCallRangeErrorOnly() 226 bool LibCallsShrinkWrap::performCallErrors(CallInst *CI, in performCallErrors() 290 void LibCallsShrinkWrap::checkCandidate(CallInst &CI) { in checkCandidate() 319 Value *LibCallsShrinkWrap::generateOneRangeCond(CallInst *CI, in generateOneRangeCond() 341 Value *LibCallsShrinkWrap::generateTwoRangeCond(CallInst *CI, in generateTwoRangeCond() [all …]
|
| D | BuildLibCalls.cpp | 771 CallInst *CI = B.CreateCall(StrLen, castToCStr(Ptr, B), StrlenName); in emitStrLen() local 790 CallInst *CI = B.CreateCall( in emitStrChr() local 809 CallInst *CI = B.CreateCall( in emitStrNCmp() local 827 CallInst *CI = in emitStrCpy() local 844 CallInst *CI = B.CreateCall( in emitStrNCpy() local 868 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in emitMemCpyChk() local 886 CallInst *CI = B.CreateCall(MemChr, {castToCStr(Ptr, B), Val, Len}, MemChrName); in emitMemChr() local 906 CallInst *CI = B.CreateCall( in emitMemCmp() local 938 CallInst *CI = B.CreateCall(Callee, Op, Name); in emitUnaryFloatFnCall() local 960 CallInst *CI = B.CreateCall(Callee, {Op1, Op2}, Name); in emitBinaryFloatFnCall() local [all …]
|
| /external/clang/lib/Frontend/Rewrite/ |
| D | FrontendActions.cpp | 35 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 45 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 89 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction() 109 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() 154 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/llvm/lib/Transforms/Utils/ |
| D | SimplifyLibCalls.cpp | 85 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() 110 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrCat() 149 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCat() 182 Value *LibCallSimplifier::optimizeStrChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrChr() 222 Value *LibCallSimplifier::optimizeStrRChr(CallInst *CI, IRBuilder<> &B) { in optimizeStrRChr() 249 Value *LibCallSimplifier::optimizeStrCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrCmp() 282 Value *LibCallSimplifier::optimizeStrNCmp(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCmp() 321 Value *LibCallSimplifier::optimizeStrCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStrCpy() 338 Value *LibCallSimplifier::optimizeStpCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStpCpy() 362 Value *LibCallSimplifier::optimizeStrNCpy(CallInst *CI, IRBuilder<> &B) { in optimizeStrNCpy() [all …]
|
| D | BuildLibCalls.cpp | 727 CallInst *CI = B.CreateCall(StrLen, castToCStr(Ptr, B), "strlen"); in emitStrLen() local 745 CallInst *CI = B.CreateCall( in emitStrChr() local 763 CallInst *CI = B.CreateCall( in emitStrNCmp() local 781 CallInst *CI = in emitStrCpy() local 798 CallInst *CI = B.CreateCall( in emitStrNCpy() local 822 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in emitMemCpyChk() local 839 CallInst *CI = B.CreateCall(MemChr, {castToCStr(Ptr, B), Val, Len}, "memchr"); in emitMemChr() local 858 CallInst *CI = B.CreateCall( in emitMemCmp() local 890 CallInst *CI = B.CreateCall(Callee, Op, Name); in emitUnaryFloatFnCall() local 906 CallInst *CI = B.CreateCall(Callee, {Op1, Op2}, Name); in emitBinaryFloatFnCall() local [all …]
|
| /external/spirv-llvm/lib/SPIRV/ |
| D | OCL20ToSPIRV.cpp | 366 OCL20ToSPIRV::visitCallInst(CallInst& CI) { in visitCallInst() 518 OCL20ToSPIRV::visitCallNDRange(CallInst *CI, in visitCallNDRange() 566 OCL20ToSPIRV::visitCallAsyncWorkGroupCopy(CallInst* CI, in visitCallAsyncWorkGroupCopy() 579 OCL20ToSPIRV::visitCallAtomicCmpXchg(CallInst* CI, in visitCallAtomicCmpXchg() 606 OCL20ToSPIRV::visitCallAtomicInit(CallInst* CI) { in visitCallAtomicInit() 614 OCL20ToSPIRV::visitCallAllAny(spv::Op OC, CallInst* CI) { in visitCallAllAny() 640 [&](CallInst *CI) -> Instruction * { in visitCallAllAny() 649 OCL20ToSPIRV::visitCallAtomicWorkItemFence(CallInst* CI) { in visitCallAtomicWorkItemFence() 654 OCL20ToSPIRV::visitCallMemFence(CallInst* CI) { in visitCallMemFence() 661 void OCL20ToSPIRV::transMemoryBarrier(CallInst* CI, in transMemoryBarrier() [all …]
|
| D | OCL21ToSPIRV.cpp | 142 OCL21ToSPIRV::visitCallInst(CallInst& CI) { in visitCallInst() 179 void OCL21ToSPIRV::visitCallConvert(CallInst* CI, in visitCallConvert() 192 void OCL21ToSPIRV::visitCallDecorate(CallInst* CI, in visitCallDecorate() 209 OCL21ToSPIRV::visitCallSubGroupBarrier(CallInst *CI) { in visitCallSubGroupBarrier() 223 OCL21ToSPIRV::transBuiltin(CallInst* CI, Op OC) { in transBuiltin()
|
| D | SPIRVToOCL20.cpp | 159 SPIRVToOCL20::visitCallInst(CallInst& CI) { in visitCallInst() 199 void SPIRVToOCL20::visitCallSPIRVMemoryBarrier(CallInst* CI) { in visitCallSPIRVMemoryBarrier() 215 void SPIRVToOCL20::visitCallSPRIVImageQuerySize(CallInst *CI) { in visitCallSPRIVImageQuerySize() 335 void SPIRVToOCL20::visitCallSPIRVAtomicBuiltin(CallInst* CI, Op OC) { in visitCallSPIRVAtomicBuiltin() 383 [=](CallInst * CI) -> Instruction * { in visitCallSPIRVAtomicBuiltin() 399 void SPIRVToOCL20::visitCallSPIRVBuiltin(CallInst* CI, Op OC) { in visitCallSPIRVBuiltin() 406 void SPIRVToOCL20::visitCallSPIRVGroupBuiltin(CallInst* CI, Op OC) { in visitCallSPIRVGroupBuiltin() 434 void SPIRVToOCL20::visitCallSPIRVPipeBuiltin(CallInst* CI, Op OC) { in visitCallSPIRVPipeBuiltin() 494 SPIRVToOCL20::getGroupBuiltinPrefix(CallInst* CI) { in getGroupBuiltinPrefix()
|
| /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/swiftshader/third_party/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 …]
|
| /external/clang/lib/Frontend/ |
| D | FrontendActions.cpp | 38 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() 106 CompilerInstance &CI, StringRef InFile, std::string &Sysroot, in ComputeASTConsumerArguments() 129 GenerateModuleAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 267 bool GenerateModuleAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction() [all …]
|
| D | FrontendAction.cpp | 138 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer() 189 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile() 451 CompilerInstance &CI = getCompilerInstance(); in Execute() local 474 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile() local 538 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local 563 PreprocessorFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 569 WrapperFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 573 bool WrapperFrontendAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() 576 bool WrapperFrontendAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction()
|
| D | ASTMerge.cpp | 20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI, in BeginSourceFileAction() 35 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
|
| /external/swiftshader/third_party/LLVM/lib/VMCore/ |
| D | Instruction.cpp | 207 if (const CmpInst *CI = dyn_cast<CmpInst>(this)) in isIdenticalToWhenDefined() local 209 if (const CallInst *CI = dyn_cast<CallInst>(this)) in isIdenticalToWhenDefined() local 213 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isIdenticalToWhenDefined() local 262 if (const CmpInst *CI = dyn_cast<CmpInst>(this)) in isSameOperationAs() local 264 if (const CallInst *CI = dyn_cast<CallInst>(this)) in isSameOperationAs() local 268 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isSameOperationAs() local 356 if (const CallInst *CI = dyn_cast<CallInst>(this)) in mayThrow() local
|
| /external/clang/lib/StaticAnalyzer/Frontend/ |
| D | FrontendActions.cpp | 17 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 25 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
|
| /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
| D | InstCombineCasts.cpp | 27 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { in DecomposeSimpleLinearExpr() local 78 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation() 231 const CastInst *CI, ///< The first cast instruction in isEliminableCastPair() 270 if (const CastInst *CI = dyn_cast<CastInst>(V)) in ShouldOptimizeCast() local 284 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { in commonCastTransforms() 378 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in CanEvaluateTruncated() local 388 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { in CanEvaluateTruncated() local 429 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc() 503 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, in transformZExtICmp() 746 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt() [all …]
|
| /external/swiftshader/third_party/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
|
| /external/llvm/lib/Transforms/Scalar/ |
| D | LowerGuardIntrinsic.cpp | 48 CallInst *CI) { in MakeGuardControlFlowExplicit() 96 if (auto *CI = dyn_cast<CallInst>(&I)) in runOnFunction() local 108 for (auto *CI : ToLower) { in runOnFunction() local
|
| /external/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineCasts.cpp | 30 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 …]
|
| /external/clang/include/clang/Lex/ |
| D | PreprocessorLexer.h | 99 PPConditionalInfo CI; in pushConditionalLevel() local 106 void pushConditionalLevel(const PPConditionalInfo &CI) { in pushConditionalLevel() 113 bool popConditionalLevel(PPConditionalInfo &CI) { in popConditionalLevel()
|
| /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
| D | LowerGuardIntrinsic.cpp | 50 CallInst *CI) { in MakeGuardControlFlowExplicit() 98 if (auto *CI = dyn_cast<CallInst>(&I)) in lowerGuardIntrinsic() local 110 for (auto *CI : ToLower) { in lowerGuardIntrinsic() local
|
| /external/llvm/lib/Analysis/ |
| D | TypeMetadataUtils.cpp | 30 } else if (auto CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() local 65 SmallVectorImpl<CallInst *> &Assumes, CallInst *CI) { in findDevirtualizableCallsForTypeTest() 90 SmallVectorImpl<Instruction *> &Preds, bool &HasNonCallUses, CallInst *CI) { in findDevirtualizableCallsForTypeCheckedLoad()
|
| /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
| D | TypeMetadataUtils.cpp | 30 } else if (auto CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() local 65 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI) { in findDevirtualizableCallsForTypeTest() 90 const CallInst *CI) { in findDevirtualizableCallsForTypeCheckedLoad()
|