/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 482 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) { 485 && CI->isMinValue(Pred == ICmpInst::ICMP_SLT)) 489 && CI->isMaxValue(Pred == ICmpInst::ICMP_SGT)) 504 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() + 1); 506 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() - 1);
|
H A D | InstCombineAndOrXor.cpp | 37 if (CmpInst *CI = dyn_cast<CmpInst>(V)) 38 return CI->hasOneUse(); 204 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShlMask); local 206 if (CI->getValue() == ShlMask) 210 if (CI != AndRHS) { // Reducing bits set in and. 211 TheAnd.setOperand(1, CI); 224 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShrMask); local 226 if (CI->getValue() == ShrMask) 230 if (CI != AndRHS) { 231 TheAnd.setOperand(1, CI); // Reduc [all...] |
/external/clang/tools/libclang/ |
H A D | Indexing.cpp | 417 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 419 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); 423 CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude)); 426 IndexCtx.setASTContext(CI.getASTContext()); 427 Preprocessor &PP = CI.getPreprocessor();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StreamChecker.cpp | 265 Optional<nonloc::ConcreteInt> CI = Whence.getAs<nonloc::ConcreteInt>(); local 267 if (!CI) 270 int64_t x = CI->getValue().getSExtValue();
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteModernObjC.cpp | 1947 for (Stmt::child_range CI = S->children(); CI; ++CI) 1948 if (*CI) 1949 WarnAboutReturnGotoStmts(*CI); 4482 std::string CI = SynthesizeBlockImpl(Blocks[i], ImplTag, DescTag); local 4484 InsertText(FunLocStart, CI); 4576 for (Stmt::child_range CI = S->children(); CI; ++CI) 5876 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D); local 5881 ObjCCategoryImplDecl *CI = cast<ObjCCategoryImplDecl>(D); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | PHITransAddr.cpp | 273 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) { 275 RHS = ConstantExpr::getAdd(RHS, CI);
|
H A D | DependenceAnalysis.cpp | 2827 CoefficientInfo *CI = new CoefficientInfo[MaxLevels + 1]; local 2829 CI[K].Coeff = Zero; 2830 CI[K].PosPart = Zero; 2831 CI[K].NegPart = Zero; 2832 CI[K].Iterations = nullptr; 2837 CI[K].Coeff = AddRec->getStepRecurrence(*SE); 2838 CI[K].PosPart = getPositivePart(CI[K].Coeff); 2839 CI[K].NegPart = getNegativePart(CI[ [all...] |
H A D | RegionInfo.cpp | 680 for (DomTreeNode::iterator CI = N->begin(), CE = N->end(); CI != CE; ++CI) 681 buildRegionsTree(*CI, region);
|
H A D | ConstantFolding.cpp | 281 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) { 282 if (CI->getBitWidth() > 64 || 283 (CI->getBitWidth() & 7) != 0) 286 uint64_t Val = CI->getZExtValue(); 287 unsigned IntBytes = unsigned(CI->getBitWidth()/8); 943 if (const CmpInst *CI = dyn_cast<CmpInst>(I)) 944 return ConstantFoldCompareInstOperands(CI->getPredicate(), Ops[0], Ops[1],
|
H A D | ScalarEvolution.cpp | 392 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(1))) 393 if (CI->isOne()) { 414 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(2))) 415 if (CI->isOne() && 3719 else if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) 3720 return getConstant(CI); 3781 if (ConstantInt *CI = dyn_cast<ConstantInt>(U->getOperand(1))) { 3782 if (CI->isNullValue()) 3784 if (CI->isAllOnesValue()) 3786 const APInt &A = CI [all...] |
H A D | TargetTransformInfo.cpp | 436 if (const CastInst *CI = dyn_cast<CastInst>(U)) { 440 if (isa<CmpInst>(CI->getOperand(0)))
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 1450 for (auto CI : NoReturnCalls) { 1451 IRBuilder<> IRB(CI); 1489 CallInst *CI = dyn_cast<CallInst>(I); 1490 if (!CI || !CI->isInlineAsm()) return false; 1491 if (CI->getNumArgOperands() <= 5) return false; 1776 if (CastInst *CI = dyn_cast<CastInst>(V)) 1777 Res = findAllocaForValue(CI->getOperand(0));
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 225 if (const CallInst *CI = dyn_cast<CallInst>(I)) 226 if (isa<InlineAsm>(CI->getCalledValue())) 1058 if (const ConstantInt *CI = dyn_cast<ConstantInt>(C)) 1059 return DAG.getConstant(*CI, VT); 3357 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) { 3358 if (CI->isZero()) continue; 3360 DL->getTypeAllocSize(Ty)*cast<ConstantInt>(CI)->getSExtValue(); 4917 ConstantInt *CI = dyn_cast<ConstantInt>(I.getArgOperand(0)); 4918 assert(CI && "Non-constant call site value in eh.sjlj.callsite!"); 4921 MMI.setCurrentCallSite(CI [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1503 const CallInst &CI = cast<CallInst>(I); local 1504 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType()); 1509 Vals.push_back(VE.getAttributeID(CI.getAttributes())); 1510 Vals.push_back((CI.getCallingConv() << 1) | unsigned(CI.isTailCall()) | 1511 unsigned(CI.isMustTailCall()) << 14); 1512 PushValueAndType(CI.getCalledValue(), InstID, Vals, VE); // Callee 1518 Vals.push_back(VE.getValueID(CI.getArgOperand(i))); 1520 pushValue(CI.getArgOperand(i), InstID, Vals, VE); // fixed param. 1525 for (unsigned i = FTy->getNumParams(), e = CI [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | FastISel.h | 422 const CallInst *CI, unsigned StartIdx);
|
/external/llvm/lib/IR/ |
H A D | Instructions.cpp | 322 CallInst::CallInst(const CallInst &CI) argument 323 : Instruction(CI.getType(), Instruction::Call, 324 OperandTraits<CallInst>::op_end(this) - CI.getNumOperands(), 325 CI.getNumOperands()) { 326 setAttributes(CI.getAttributes()); 327 setTailCallKind(CI.getTailCallKind()); 328 setCallingConv(CI.getCallingConv()); 330 std::copy(CI.op_begin(), CI.op_end(), op_begin()); 331 SubclassOptionalData = CI [all...] |
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.h | 233 bool mayBeEmittedAsTailCall(CallInst *CI) const override;
|
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopSimplify.cpp | 644 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition()); local 645 if (!CI || CI->getParent() != ExitingBlock) continue; 656 if (Inst == CI)
|
/external/llvm/unittests/ADT/ |
H A D | IntervalMapTest.cpp | 45 UUMap::const_iterator CI; local 46 CI = map.begin(); 47 EXPECT_TRUE(CI == I); 50 EXPECT_TRUE(I2 == CI);
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 497 if (CastInst *CI = dyn_cast<CastInst>(I)) 498 T2 = CI->getSrcTy(); 506 } else if (CmpInst *CI = dyn_cast<CmpInst>(I)) { 507 T2 = CI->getOperand(0)->getType(); 1102 CallInst *CI = dyn_cast<CallInst>(I); local 1104 if (CI && (FI = CI->getCalledFunction())) { 1108 Value *A1I = CI->getArgOperand(1), 1117 for (unsigned i = 0, ie = CI->getNumArgOperands(); i != ie; ++i) 1118 Tys.push_back(CI [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 604 if (BitCastInst *CI = dyn_cast<BitCastInst>(User)) { 605 ConvertUsesToScalar(CI, NewAI, Offset, NonConstantIdx); 606 CI->eraseFromParent(); 1263 if (ConstantInt *CI = dyn_cast<ConstantInt>(SI->getCondition())) { 1264 Value *Result = SI->getOperand(1+CI->isZero()); 2262 if (ConstantInt *CI = dyn_cast<ConstantInt>(MI->getArgOperand(1))) { 2263 if (CI->isZero()) { 2271 APInt OneVal(EltSize, CI->getZExtValue()); 2280 StoreVal = ConstantInt::get(CI->getContext(), TotalVal);
|
/external/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 514 for (const auto &CI : BD->captures()) { 515 BV->push_back(CI.getVariable(), BC);
|
/external/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 511 llvm::CallInst *CI = Builder.CreateCall(Callee, local 515 CI->setCallingConv(F->getCallingConv());
|
/external/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 1250 for (unsigned CI = 0, 1252 CI < CE; ++CI) { 1253 if (Components[CI].getAsInteger(10, VC[CI])) { 2027 createVFSFromCompilerInvocation(const CompilerInvocation &CI, argument 2029 if (CI.getHeaderSearchOpts().VFSOverlayFiles.empty()) 2035 for (const std::string &File : CI.getHeaderSearchOpts().VFSOverlayFiles) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SValBuilder.cpp | 81 if (Optional<nonloc::ConcreteInt> CI = val.getAs<nonloc::ConcreteInt>()) { 82 const llvm::APSInt& I = CI->getValue();
|