/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
H A D | p1.cpp | 32 typedef constexpr int CI; // expected-error {{typedef cannot be constexpr}} typedef
|
/external/llvm/include/llvm/Support/ |
H A D | ConstantRange.h | 156 ConstantRange subtract(const APInt &CI) const;
|
/external/llvm/lib/Analysis/ |
H A D | LoopInfo.cpp | 160 if (ConstantInt *CI = 162 if (CI->isNullValue()) 167 if (ConstantInt *CI = dyn_cast<ConstantInt>(Inc->getOperand(1))) 168 if (CI->equalsInt(1))
|
H A D | ValueTracking.cpp | 245 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 247 KnownOne = CI->getValue(); 804 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) 805 return CI->getValue().isPowerOf2(); 1187 ConstantInt *CI = dyn_cast<ConstantInt>(V); local 1205 if (CI && CI->getZExtValue() % Base == 0) { 1206 Multiple = ConstantInt::get(T, CI->getZExtValue() / Base); 1324 if (const CallInst *CI = dyn_cast<CallInst>(I)) 1325 if (const Function *F = CI [all...] |
H A D | InstructionSimplify.cpp | 1212 if (ConstantInt *CI = dyn_cast<ConstantInt>(Op1)) 1213 if (CI->getValue().getLimitedValue() >= 1803 if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) { 1805 ConstantRange RHS_CR = ICmpInst::makeConstantRange(Pred, CI->getValue()); 1807 return ConstantInt::getFalse(CI->getContext()); 1809 return ConstantInt::getTrue(CI->getContext()); 1813 uint32_t Width = CI->getBitWidth(); 1909 else if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) { 1912 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); 1917 if (RExt == CI 2754 SimplifyCallInst(CallInst *CI, const Query &) argument [all...] |
H A D | ConstantFolding.cpp | 253 ConstantInt *CI = dyn_cast<ConstantInt>(*i); local 254 if (!CI) return false; // Index isn't a simple constant? 255 if (CI->isZero()) continue; // Not adding anything. 259 Offset += TD.getStructLayout(ST)->getElementOffset(CI->getZExtValue()); 262 Offset += TD.getTypeAllocSize(SQT->getElementType())*CI->getSExtValue(); 286 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) { 287 if (CI->getBitWidth() > 64 || 288 (CI->getBitWidth() & 7) != 0) 291 uint64_t Val = CI->getZExtValue(); 292 unsigned IntBytes = unsigned(CI [all...] |
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 133 InlineAsm::ConstraintInfo &CI = CInfos[i]; local 134 for (unsigned j = 0, ee = CI.Codes.size(); j != ee; ++j) { 135 TargetLowering::ConstraintType CType = TLI.getConstraintType(CI.Codes[j]); 141 if (CI.isIndirect)
|
H A D | SjLjEHPrepare.cpp | 451 if (CallInst *CI = dyn_cast<CallInst>(I)) { 452 if (!CI->doesNotThrow()) 453 insertCallSiteStore(CI, -1); 469 if (CallInst *CI = dyn_cast<CallInst>(I)) { 470 if (CI->getCalledFunction() != StackRestoreFn)
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 169 if (const ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 170 if (CI->getValue().getActiveBits() <= 64) 171 Reg = FastEmit_i(VT, VT, ISD::Constant, CI->getZExtValue()); 363 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(0))) 371 Op1IsKill, CI->getZExtValue(), 388 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { 389 uint64_t Imm = CI->getZExtValue(); 485 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) { 486 if (CI->isZero()) continue; 489 TD.getTypeAllocSize(Ty)*cast<ConstantInt>(CI) 669 ConstantInt *CI = cast<ConstantInt>(Call->getArgOperand(1)); local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 47 if (CmpInst *CI = dyn_cast<CmpInst>(I)) 48 if (CI->hasOneUse() && 49 (CheapToScalarize(CI->getOperand(0), isConstant) || 50 CheapToScalarize(CI->getOperand(1), isConstant))) 192 } else if (CastInst *CI = dyn_cast<CastInst>(I)) { 195 if (CI->hasOneUse() && EI.hasOneUse() && 196 (CI->getOpcode() != Instruction::BitCast)) { 197 Value *EE = Builder->CreateExtractElement(CI->getOperand(0), 199 return CastInst::Create(CI->getOpcode(), EE, EI.getType());
|
H A D | InstructionCombining.cpp | 530 if (CastInst *CI = dyn_cast<CastInst>(&I)) { 531 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType()); 551 if (ICmpInst *CI = dyn_cast<ICmpInst>(&I)) 552 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1, 554 if (FCmpInst *CI = dyn_cast<FCmpInst>(&I)) 555 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1, 688 } else if (CmpInst *CI = dyn_cast<CmpInst>(&I)) { 693 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); 694 else if (isa<ICmpInst>(CI)) 695 InV = Builder->CreateICmp(CI 714 CastInst *CI = cast<CastInst>(&I); local 1205 ConstantInt *CI = cast<ConstantInt>(II->getArgOperand(1)); local [all...] |
H A D | InstCombineLoadStoreAlloca.cpp | 295 User *CI = cast<User>(LI.getOperand(0)); local 296 Value *CastOp = CI->getOperand(0); 298 PointerType *DestTy = cast<PointerType>(CI->getType()); 337 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); 461 User *CI = cast<User>(SI.getOperand(1)); local 462 Value *CastOp = CI->getOperand(0); 464 Type *DestPTy = cast<PointerType>(CI->getType())->getElementType(); 511 cast<PointerType>(CI->getType())->getAddressSpace() ||
|
H A D | InstCombineAndOrXor.cpp | 45 if (CmpInst *CI = dyn_cast<CmpInst>(V)) 46 return CI->hasOneUse(); 212 ConstantInt *CI = ConstantInt::get(AndRHS->getContext(), local 215 if (CI->getValue() == ShlMask) 219 if (CI != AndRHS) { // Reducing bits set in and. 220 TheAnd.setOperand(1, CI); 233 ConstantInt *CI = ConstantInt::get(Op->getContext(), local 236 if (CI->getValue() == ShrMask) 240 if (CI != AndRHS) { 241 TheAnd.setOperand(1, CI); // Reduc [all...] |
H A D | InstCombineSelect.cpp | 364 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) { 367 && CI->isMinValue(Pred == ICmpInst::ICMP_SLT)) 371 && CI->isMaxValue(Pred == ICmpInst::ICMP_SGT)) 386 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() + 1); 388 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() - 1);
|
/external/llvm/unittests/VMCore/ |
H A D | ValueMapTest.cpp | 82 typename ValueMap<TypeParam*, int>::const_iterator CI = local 84 ASSERT_TRUE(CI != CVM.end()); 85 EXPECT_EQ(this->BitcastV.get(), CI->first); 86 EXPECT_EQ(7, CI->second);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 528 bool CompileUnit::addConstantValue(DIE *Die, const ConstantInt *CI, argument 530 unsigned CIBitWidth = CI->getBitWidth(); 542 addUInt(Die, dwarf::DW_AT_const_value, form, CI->getZExtValue()); 544 addSInt(Die, dwarf::DW_AT_const_value, form, CI->getSExtValue()); 551 const APInt Val = CI->getValue(); 1148 const ConstantInt *CI = dyn_cast_or_null<ConstantInt>(CE->getOperand(1)); local 1149 if (!CI || !CI->isZero()) 1216 } else if (const ConstantInt *CI = 1218 addConstantValue(VariableDIE, CI, GT [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | SCCP.cpp | 532 ConstantInt *CI = BCValue.getConstantInt(); local 533 if (CI == 0) { 542 Succs[CI->isZero()] = true; 558 ConstantInt *CI = SCValue.getConstantInt(); local 560 if (CI == 0) { // Overdefined or undefined condition? 567 Succs[SI->findCaseValue(CI).getSuccessorIndex()] = true; 604 ConstantInt *CI = BCValue.getConstantInt(); local 605 if (CI == 0) 609 return BI->getSuccessor(CI->isZero()) == To; 621 ConstantInt *CI local [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 413 for (CallGraphNode::const_iterator CI = N->begin(), 414 CE = N->end(); CI != CE; ++CI) { 415 if (!shouldSkipFunction(*CI, Visited)) 416 BFSQueue.push_back(*CI);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 562 const ConstantInt *CI = cast<ConstantInt>(C); local 563 if (Subtarget->hasV6T2Ops() && isUInt<16>(CI->getZExtValue())) { 568 .addImm(CI->getZExtValue())); 573 if (VT == MVT::i32 && Subtarget->hasV6T2Ops() && CI->isNegative()) { 574 unsigned Imm = (unsigned)~(CI->getSExtValue()); 838 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) { 840 TmpOffset += CI->getSExtValue() * S; 850 ConstantInt *CI = local 852 TmpOffset += CI->getSExtValue() * S; 1281 if (const CmpInst *CI 1493 const CmpInst *CI = cast<CmpInst>(I); local 2253 const CallInst *CI = cast<CallInst>(I); local [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 884 if (CallInst *CI = dyn_cast<CallInst>(BI)) { 887 if (CI->doesNotReturn()) { 888 NoReturnCalls.push_back(CI); 923 Instruction *CI = NoReturnCalls[i]; local 924 IRBuilder<> IRB(CI); 1020 CallInst *CI = dyn_cast<CallInst>(I); 1021 if (!CI || !CI->isInlineAsm()) return false; 1022 if (CI->getNumArgOperands() <= 5) return false;
|
/external/llvm/tools/bugpoint/ |
H A D | ExtractFunction.cpp | 245 ConstantInt *CI = dyn_cast<ConstantInt>(CS->getOperand(0)); local 246 int Priority = CI ? CI->getSExtValue() : 0;
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 381 ConstantInt *CI = dyn_cast<ConstantInt>(V); local 382 if (CI || !TD || !isa<Constant>(V) || !V->getType()->isPointerTy()) 383 return CI; 396 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(0))) { 398 if (CI->getType() == PtrTy) 399 return CI; 402 (ConstantExpr::getIntegerCast(CI, PtrTy, /*isSigned=*/false)); 779 ConstantInt* CI = dyn_cast<ConstantInt>(ProfMD->getOperand(i)); local 780 assert(CI); 781 Scale += CI 849 ConstantInt* CI = dyn_cast<ConstantInt>(MD->getOperand(i)); local 1892 CmpInst *CI = cast<CmpInst>(NewCond); local 2810 CallInst *CI = Builder.CreateCall(II->getCalledValue(), local 3130 SwitchInst::CaseIt CI = SI->case_begin(); local [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 517 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, argument 519 CI.getPreprocessor().addPPCallbacks( 570 MigrationProcess::MigrationProcess(const CompilerInvocation &CI, argument 573 : OrigCI(CI), DiagClient(diagClient) {
|
/external/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 273 /// BuildScopeInformation - The statements from CI to CE are known to form a 329 for (Stmt::child_range CI = S->children(); CI; ++CI) { 335 Stmt *SubStmt = *CI;
|
/external/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 140 for (CallSite::arg_iterator CI = CS.arg_begin(), CE = CS.arg_end(); 141 CI != CE; ++CI) { 142 Value *Arg = *CI;
|