/external/llvm/lib/Analysis/ |
H A D | LoopInfo.cpp | 163 if (ConstantInt *CI = 165 if (CI->isNullValue()) 170 if (ConstantInt *CI = dyn_cast<ConstantInt>(Inc->getOperand(1))) 171 if (CI->equalsInt(1)) 225 if (const CallInst *CI = dyn_cast<CallInst>(BI)) { 226 if (CI->cannotDuplicate())
|
H A D | InstructionSimplify.cpp | 1213 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) 1214 if (CI->getValue().getLimitedValue() >= 1215 CI->getType()->getScalarSizeInBits()) 1921 if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) { 1923 ConstantRange RHS_CR = ICmpInst::makeConstantRange(Pred, CI->getValue()); 1925 return ConstantInt::getFalse(CI->getContext()); 1927 return ConstantInt::getTrue(CI->getContext()); 1931 unsigned Width = CI->getBitWidth(); 2057 else if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) { 2060 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcT [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 337 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 338 APInt Val = CI->getValue().zextOrTrunc(BitWidth); 372 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 373 APInt Val = CI->getValue().zextOrTrunc(BitWidth); 459 if (const ConstantInt *CI = dyn_cast<ConstantInt>(I.getArgOperand(i))) { 460 unsigned FilterLength = CI->getZExtValue();
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 648 if (CastInst *CI = dyn_cast<CastInst>(&I)) { 649 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType()); 674 if (ICmpInst *CI = dyn_cast<ICmpInst>(&I)) 675 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1, 677 if (FCmpInst *CI = dyn_cast<FCmpInst>(&I)) 678 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1, 813 } else if (CmpInst *CI = dyn_cast<CmpInst>(&I)) { 818 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); 819 else if (isa<ICmpInst>(CI)) 820 InV = Builder->CreateICmp(CI 839 CastInst *CI = cast<CastInst>(&I); local 1821 ConstantInt *CI = cast<ConstantInt>(II->getArgOperand(1)); local [all...] |
H A D | InstCombineVectorOps.cpp | 53 if (CmpInst *CI = dyn_cast<CmpInst>(I)) 54 if (CI->hasOneUse() && 55 (CheapToScalarize(CI->getOperand(0), isConstant) || 56 CheapToScalarize(CI->getOperand(1), isConstant))) 280 } else if (CastInst *CI = dyn_cast<CastInst>(I)) { 283 if (CI->hasOneUse() && (CI->getOpcode() != Instruction::BitCast)) { 284 Value *EE = Builder->CreateExtractElement(CI->getOperand(0), 287 return CastInst::Create(CI->getOpcode(), EE, EI.getType()); 646 ConstantInt *CI local [all...] |
H A D | InstCombineLoadStoreAlloca.cpp | 297 User *CI = cast<User>(LI.getOperand(0)); local 298 Value *CastOp = CI->getOperand(0); 300 PointerType *DestTy = cast<PointerType>(CI->getType()); 342 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); 473 User *CI = cast<User>(SI.getOperand(1)); local 474 Value *CastOp = CI->getOperand(0); 476 Type *DestPTy = cast<PointerType>(CI->getType())->getElementType(); 522 cast<PointerType>(CI->getType())->getAddressSpace())
|
/external/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 763 if (const CmpInst *CI = dyn_cast<CmpInst>(L)) 764 return cmpNumbers(CI->getPredicate(), cast<CmpInst>(R)->getPredicate()); 765 if (const CallInst *CI = dyn_cast<CallInst>(L)) { 766 if (int Res = cmpNumbers(CI->getCallingConv(), 769 return cmpAttrs(CI->getAttributes(), cast<CallInst>(R)->getAttributes()); 771 if (const InvokeInst *CI = dyn_cast<InvokeInst>(L)) { 772 if (int Res = cmpNumbers(CI->getCallingConv(), 775 return cmpAttrs(CI->getAttributes(), cast<InvokeInst>(R)->getAttributes()); 1340 CallInst *CI = Builder.CreateCall(F, Args); local 1341 CI [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 115 ConstantInt *CI = dyn_cast<ConstantInt>(SI->getCondition()); local 123 if (i.getCaseValue() == CI) { 140 ConstantInt* CI = dyn_cast<ConstantInt>(MD->getOperand(MD_i)); local 141 assert(CI); 142 Weights.push_back(CI->getValue().getZExtValue()); 167 if (CI && !TheOnlyDest) { 308 if (CallInst *CI = isFreeCall(I, TLI)) 309 if (Constant *C = dyn_cast<Constant>(CI->getArgOperand(0))) 1058 else if (CallInst *CI = dyn_cast<CallInst>(U)) { 1064 DIVariable(DDI->getVariable()), CI); [all...] |
/external/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 214 createVFSFromCompilerInvocation(const CompilerInvocation &CI,
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
H A D | p1.cpp | 33 typedef constexpr int CI; // expected-error {{typedef cannot be constexpr}} typedef
|
/external/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 159 ConstantRange subtract(const APInt &CI) const;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterInlineAsm.cpp | 65 if (const ConstantInt *CI = 67 LocCookie = CI->getZExtValue(); 465 if (const ConstantInt *CI = dyn_cast<ConstantInt>(LocMD->getOperand(0))) { 466 LocCookie = CI->getZExtValue();
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsFastISel.cpp | 361 const ConstantInt *CI = cast<ConstantInt>(C); local 363 if (CI->isNegative()) 364 Imm = CI->getSExtValue(); 366 Imm = CI->getZExtValue();
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | DataFlowSanitizer.cpp | 304 void visitCastInst(CastInst &CI); 305 void visitCmpInst(CmpInst &CI); 502 CallInst *CI = CallInst::Create(F, Args, "", BB); local 506 ReturnInst::Create(*Ctx, CI, BB); 523 CallInst *CI = local 529 RI = ReturnInst::Create(*Ctx, CI, BB); 535 DFSanVisitor(DFSF).visitCallInst(*CI); 1123 void DFSanVisitor::visitCastInst(CastInst &CI) { visitOperandShadowInst(CI); } argument 1125 void DFSanVisitor::visitCmpInst(CmpInst &CI) { visitOperandShadowIns argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 458 bool Scalarizer::visitCastInst(CastInst &CI) { argument 459 VectorType *VT = dyn_cast<VectorType>(CI.getDestTy()); 464 IRBuilder<> Builder(CI.getParent(), &CI); 465 Scatterer Op0 = scatter(&CI, CI.getOperand(0)); 470 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), 471 CI.getName() + ".i" + Twine(I)); 472 gather(&CI, Res);
|
H A D | SCCP.cpp | 527 ConstantInt *CI = BCValue.getConstantInt(); local 528 if (!CI) { 537 Succs[CI->isZero()] = true; 553 ConstantInt *CI = SCValue.getConstantInt(); local 555 if (!CI) { // Overdefined or undefined condition? 562 Succs[SI->findCaseValue(CI).getSuccessorIndex()] = true; 599 ConstantInt *CI = BCValue.getConstantInt(); local 600 if (!CI) 604 return BI->getSuccessor(CI->isZero()) == To; 616 ConstantInt *CI local [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 271 ConstantInt *CI = dyn_cast<ConstantInt>(E0->getOperand(1)); 272 if (!CI || CI->getZExtValue()) 277 ConstantInt *CI = dyn_cast<ConstantInt>(E->getOperand(1)); local 279 if (!CI || CI->getZExtValue() != i || E->getOperand(0) != Vec) 1066 CallInst *CI = cast<CallInst>(VL[0]); local 1069 Intrinsic::ID ID = getIntrinsicIDForCall(CI, TLI); 1075 Function *Int = CI->getCalledFunction(); 1078 A1I = CI 1295 CallInst *CI = cast<CallInst>(VL0); local 1861 CallInst *CI = cast<CallInst>(VL0); local [all...] |
/external/llvm/unittests/IR/ |
H A D | ValueMapTest.cpp | 80 typename ValueMap<TypeParam*, int>::const_iterator CI = local 82 ASSERT_TRUE(CI != CVM.end()); 83 EXPECT_EQ(this->BitcastV.get(), CI->first); 84 EXPECT_EQ(7, CI->second);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 364 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) { 366 TmpOffset += CI->getSExtValue() * S; 371 ConstantInt *CI = local 373 TmpOffset += CI->getSExtValue() * S; 765 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) { 766 if (CI->hasOneUse() && (CI->getParent() == I->getParent())) { 768 AArch64CC::CondCode CC = getCompareCC(CI->getPredicate()); 773 if (!EmitCmp(CI->getOperand(0), CI 996 const CmpInst *CI = cast<CmpInst>(I); local 1310 const CallInst *CI = cast<CallInst>(I); local [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCFastISel.cpp | 332 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) { 334 TmpOffset += CI->getSExtValue() * S; 339 ConstantInt *CI = local 341 TmpOffset += CI->getSExtValue() * S; 689 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) { 690 Optional<PPC::Predicate> OptPPCPred = getComparePred(CI->getPredicate()); 704 if (!PPCEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned(), 714 } else if (const ConstantInt *CI 1373 const CallInst *CI = cast<CallInst>(I); local 2014 const ConstantInt *CI = cast<ConstantInt>(C); local 2029 const ConstantInt *CI = cast<ConstantInt>(C); local [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCOpts.cpp | 1332 CallInst *CI = cast<CallInst>(Inst); local 1333 if (IsNullOrUndef(CI->getArgOperand(0))) { 1335 Type *Ty = CI->getArgOperand(0)->getType(); 1338 CI); local 1339 llvm::Value *NewValue = UndefValue::get(CI->getType()); 1341 "\nOld = " << *CI << "\nNew = " << *NewValue << "\n"); 1342 CI->replaceAllUsesWith(NewValue); 1343 CI->eraseFromParent(); 1350 CallInst *CI = cast<CallInst>(Inst); local 1351 if (IsNullOrUndef(CI 1357 CI); local 2712 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call); local 2741 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call); local [all...] |
/external/llvm/lib/CodeGen/ |
H A D | JumpInstrTables.cpp | 103 if (CallInst *CI = dyn_cast<CallInst>(ParentUs)) { 104 CallSite CS(CI);
|
H A D | SjLjEHPrepare.cpp | 464 if (CallInst *CI = dyn_cast<CallInst>(I)) { 465 if (!CI->doesNotThrow()) 466 insertCallSiteStore(CI, -1); 482 if (CallInst *CI = dyn_cast<CallInst>(I)) { 483 if (CI->getCalledFunction() != StackRestoreFn)
|
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 449 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 451 CI.getPreprocessor().addPPCallbacks( 502 MigrationProcess::MigrationProcess(const CompilerInvocation &CI, argument 505 : OrigCI(CI), DiagClient(diagClient), HadARCErrors(false) { 509 new DiagnosticsEngine(DiagID, &CI.getDiagnosticOpts(),
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 217 for (ClusterBindings::iterator CI = Cluster.begin(), CE = Cluster.end(); 218 CI != CE; ++CI) { 219 OS << ' ' << CI.getKey() << " : " << CI.getData() << nl; 591 for (ClusterBindings::iterator CI = Cluster.begin(), CE = Cluster.end(); 592 CI != CE; ++CI) { 593 const BindingKey &K = CI.getKey(); 598 if (!f.HandleBinding(*this, store, R, CI [all...] |