/external/llvm/include/llvm/ADT/ |
SCCIterator.h | 181 for (ChildItTy CI = GT::child_begin(N), CE=GT::child_end(N); CI != CE; ++CI) 182 if (*CI == N)
|
DenseSet.h | 113 void erase(ConstIterator CI) { return TheMap.erase(CI.I); }
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineShifts.cpp | 81 ConstantInt *CI = 0; 82 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || 83 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { 84 if (CI->getZExtValue() == NumBits) { 94 CI->getLimitedValue(BitWidth) < BitWidth) { 117 CI = dyn_cast<ConstantInt>(I->getOperand(1)); 118 if (CI == 0) return false; 124 if (CI->getValue() == NumBits) return true; 130 if (CI->getZExtValue() > NumBits) { 131 unsigned LowBits = TypeWidth - CI->getZExtValue() [all...] |
InstCombineCompares.cpp | 143 static bool isHighOnes(const ConstantInt *CI) { 144 return (~CI->getValue() + 1).isPowerOf2(); 482 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) { 484 if (CI->isZero()) continue; 488 Offset += TD.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); 491 Offset += Size*CI->getSExtValue(); 510 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i)); 511 if (!CI) return 0; 514 if (CI->isZero()) continue; 518 Offset += TD.getStructLayout(STy)->getElementOffset(CI->getZExtValue()) [all...] |
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))) 233 } else if (CastInst *CI = dyn_cast<CastInst>(I)) { 236 if (CI->hasOneUse() && EI.hasOneUse() && 237 (CI->getOpcode() != Instruction::BitCast)) { 238 Value *EE = Builder->CreateExtractElement(CI->getOperand(0), 240 return CastInst::Create(CI->getOpcode(), EE, EI.getType());
|
/external/clang/lib/Serialization/ |
ChainedIncludesSource.cpp | 28 static ASTReader *createASTReader(CompilerInstance &CI, 33 Preprocessor &PP = CI.getPreprocessor(); 35 Reader.reset(new ASTReader(PP, CI.getASTContext(), /*isysroot=*/"", 60 ChainedIncludesSource *ChainedIncludesSource::create(CompilerInstance &CI) { 62 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; 66 InputKind IK = CI.getFrontendOpts().Inputs[0].first; 74 CInvok.reset(new CompilerInvocation(CI.getInvocation())); 159 Reader.reset(createASTReader(CI, pchName, serialBufs, serialBufNames));
|
/external/llvm/lib/Transforms/Scalar/ |
EarlyCSE.cpp | 60 if (CallInst *CI = dyn_cast<CallInst>(Inst)) 61 return CI->doesNotAccessMemory() && !CI->getType()->isVoidTy(); 97 if (CastInst *CI = dyn_cast<CastInst>(Inst)) 98 Res ^= getHash(CI->getType()); 99 else if (CmpInst *CI = dyn_cast<CmpInst>(Inst)) 100 Res ^= CI->getPredicate(); 156 CallInst *CI = dyn_cast<CallInst>(Inst); 157 if (CI == 0 || !CI->onlyReadsMemory() [all...] |
/external/llvm/lib/Transforms/IPO/ |
StripSymbols.cpp | 245 CallInst *CI = cast<CallInst>(Declare->use_back()); 246 CI->eraseFromParent(); 254 CallInst *CI = cast<CallInst>(DbgVal->use_back()); 255 CI->eraseFromParent(); 304 CallInst *CI = cast<CallInst>(Declare->use_back()); 305 Value *Arg1 = CI->getArgOperand(0); 306 Value *Arg2 = CI->getArgOperand(1); 307 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); 308 CI->eraseFromParent();
|
/external/llvm/include/llvm/Support/ |
PatternMatch.h | 96 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 97 Res = &CI->getValue(); 101 if (ConstantInt *CI = 103 Res = &CI->getValue(); 119 if (const ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 120 const APInt &CIV = CI->getValue(); 123 // If Val is negative, and CI is shorter than it, truncate to the right 144 if (const ConstantInt *CI = dyn_cast<ConstantInt>(V)) 145 return this->isValue(CI->getValue()); 147 if (ConstantInt *CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()) [all...] |
/external/llvm/unittests/VMCore/ |
MetadataTest.cpp | 83 ConstantInt *CI = ConstantInt::get(getGlobalContext(), APInt(8, 0)); 87 V.push_back(CI); 103 EXPECT_EQ(CI, n1->getOperand(1));
|
/external/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 100 CallInst *CI; 106 bool fold(CallInst *CI, const TargetData *TD);
|
/external/llvm/lib/Analysis/ |
LazyValueInfo.cpp | 133 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) 134 return markConstantRange(ConstantRange(CI->getValue())); 149 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) 150 return markConstantRange(ConstantRange(CI->getValue()+1, CI->getValue())); 838 if (ConstantInt *CI = dyn_cast<ConstantInt>(ICI->getOperand(1))) { 840 ConstantRange CmpRange(CI->getValue(), CI->getValue()+1); [all...] |
InlineCost.cpp | 105 if (const CastInst *CI = dyn_cast<CastInst>(II)) { 107 if (CI->isLosslessCast() || isa<IntToPtrInst>(CI) || 108 isa<PtrToIntInst>(CI)) 112 if (isa<TruncInst>(CI) && TD && 113 TD->isLegalInteger(TD->getTypeSizeInBits(CI->getType()))) 118 if (isa<CmpInst>(CI->getOperand(0))) 327 if (CallInst *CI = dyn_cast<CallInst>(U)) { 329 if (CI->getCalledValue() == V) 330 Bonus += ConstantFunctionBonus(CallSite(CI), C) [all...] |
ValueTracking.cpp | 76 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 78 KnownOne = CI->getValue() & Mask; 716 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) 717 return CI->getValue().isPowerOf2(); [all...] |
ProfileVerifierPass.cpp | 181 if (const CallInst *CI = dyn_cast<CallInst>(&*I)) { 182 FType *F = CI->getCalledFunction(); 290 if (const CallInst *CI = dyn_cast<CallInst>(&*i)) { 291 FType *F = CI->getCalledFunction(); 303 if (const CallInst *CI = dyn_cast<CallInst>(&*i)) { 304 FType *F = CI->getCalledFunction();
|
Lint.cpp | 449 if (ConstantInt *CI = 451 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), 456 if (ConstantInt *CI = 458 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), 463 if (ConstantInt *CI = 465 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), 523 if (ConstantInt *CI = 526 Assert1(CI->getValue().ult(I.getVectorOperandType()->getNumElements()), 531 if (ConstantInt *CI = 534 Assert1(CI->getValue().ult(I.getType()->getNumElements()) [all...] |
/external/llvm/lib/Transforms/Utils/ |
InlineFunction.cpp | 41 bool llvm::InlineFunction(CallInst *CI, InlineFunctionInfo &IFI) { 42 return InlineFunction(CallSite(CI), IFI); 520 CallInst *CI = dyn_cast<CallInst>(I); 521 if (CI == 0) continue; 524 if (EHSelectorInst *Inner = dyn_cast<EHSelectorInst>(CI)) { 553 if (CI->doesNotThrow()) 558 BasicBlock *Split = BB->splitBasicBlock(CI, CI->getName()+".noexc"); 565 if (Invoke.forwardEHResume(CI, BB)) { 575 ImmutableCallSite CS(CI); [all...] |
/external/llvm/lib/VMCore/ |
LLVMContext.cpp | 89 if (const ConstantInt *CI = dyn_cast<ConstantInt>(SrcLoc->getOperand(0))) 90 LocCookie = CI->getZExtValue();
|
Verifier.cpp | 277 void visitCallInst(CallInst &CI); 291 void visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI); [all...] |
/external/clang/include/clang/Serialization/ |
ChainedIncludesSource.h | 27 static ChainedIncludesSource *create(CompilerInstance &CI);
|
/external/clang/unittests/Frontend/ |
FrontendActionTest.cpp | 30 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | 287 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { 298 if ((int)CI->getSExtValue() == CI->getSExtValue()) 306 .addImm(Signed ? (uint64_t) CI->getSExtValue() : 307 CI->getZExtValue()); 393 if (const ConstantInt *CI = dyn_cast<ConstantInt>(U->getOperand(1))) { 394 uint64_t Disp = (int32_t)AM.Disp + (uint64_t)CI->getSExtValue(); 427 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) { 429 Disp += CI->getSExtValue() * S; 439 ConstantInt *CI [all...] |
/external/harfbuzz/src/ |
harfbuzz-shaper.cpp | 71 CombiningIndirectBreak, // CI in table 76 #define CI CombiningIndirectBreak 84 /* CL */ { DB, PB, IB, IB, PB, PB, PB, PB, IB, IB, IB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB }, 85 /* QU */ { PB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, PB, CI, PB, IB, IB, IB, IB, IB }, 86 /* GL */ { IB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, IB, IB, IB, IB, IB, PB, CI, PB, IB, IB, IB, IB, IB }, 87 /* NS */ { DB, PB, IB, IB, IB, PB, PB, PB, DB, DB, DB, DB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB }, 88 /* EX */ { DB, PB, IB, IB, IB, PB, PB, PB, DB, IB, DB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB }, 89 /* SY */ { IB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB }, 90 /* IS */ { DB, PB, IB, IB, IB, PB, PB, PB, DB, DB, IB, IB, DB, DB, IB, IB, DB, DB, PB, CI, PB, DB, DB, DB, DB, DB }, 91 /* PR */ { IB, PB, IB, IB, IB, PB, PB, PB, IB, IB, IB, IB, IB, DB, IB, IB, DB, DB, PB, CI, PB, IB, IB, IB, IB, IB } 1246 int ci = face->buffer->in_string[i].cluster; local [all...] |
/external/llvm/lib/Analysis/IPA/ |
GlobalsModRef.cpp | 267 } else if (CallInst *CI = dyn_cast<CallInst>(U)) { 270 for (unsigned i = 0, e = CI->getNumArgOperands(); i != e; ++i) 271 if (CI->getArgOperand(i) == V) return true; 333 } else if (CallInst *CI = dyn_cast<CallInst>(Ptr)) { 334 Function *F = CI->getCalledFunction(); 418 for (CallGraphNode::iterator CI = SCC[i]->begin(), E = SCC[i]->end(); 419 CI != E && !KnowNothing; ++CI) 420 if (Function *Callee = CI->second->getFunction()) {
|
/cts/tools/vm-tests/src/dot/junit/opcodes/aget_char/d/ |
T_aget_char_1.d | 26 .method public run([CI)C
|