/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringBuilderTest.java | 643 public void test_getCharsII$CI() { [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentHashMapTest.java | 69 static class CI extends BI { CI(int value) { super(value); } } 127 assertTrue(m.put(new CI(i), true) == null); 130 assertTrue(m.containsKey(new CI(i)));
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
CellInfoTest.java | 84 private static final int CI = 268435456; 294 int ci = lte.getCi(); local 295 assertTrue("getCi() out of range [0,268435456], ci=" + ci, 296 (ci == Integer.MAX_VALUE) || (ci >= 0 && ci <= CI));
|
/external/clang/lib/Frontend/ |
ASTUnit.cpp | 881 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 883 CI.getPreprocessor().addPPCallbacks( 907 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, [all...] |
/external/clang/lib/Lex/ |
PPDirectives.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
IRBuilder.h | [all...] |
PatternMatch.h | 164 if (auto *CI = dyn_cast<ConstantInt>(V)) { 165 Res = &CI->getValue(); 170 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) { 171 Res = &CI->getValue(); 184 if (const auto *CI = dyn_cast<ConstantInt>(V)) { 185 const APInt &CIV = CI->getValue(); 188 // If Val is negative, and CI is shorter than it, truncate to the right 206 if (const auto *CI = dyn_cast<ConstantInt>(V)) 207 return this->isValue(CI->getValue()); 210 if (const auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue()) [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolutionExpander.cpp | 57 if (CastInst *CI = dyn_cast<CastInst>(U)) 58 if (CI->getOpcode() == Op) { 62 if (BasicBlock::iterator(CI) != IP || BIP == IP) { 67 Ret->takeName(CI); 68 CI->replaceAllUsesWith(Ret); 69 CI->setOperand(0, UndefValue::get(V->getType())); 72 Ret = CI; 125 if (CastInst *CI = dyn_cast<CastInst>(V)) { 126 if (CI->getOperand(0)->getType() == Ty) 127 return CI->getOperand(0) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | 213 if (const auto *CI = dyn_cast<ConstantInt>(V)) { 214 if (CI->getValue().getActiveBits() <= 64) 215 Reg = fastEmit_i(VT, VT, ISD::Constant, CI->getZExtValue()); 407 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(0))) 416 CI->getZExtValue(), VT.getSimpleVT()); 431 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { 432 uint64_t Imm = CI->getSExtValue(); 519 if (const auto *CI = dyn_cast<ConstantInt>(Idx)) { 520 if (CI->isZero()) 523 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue() [all...] |
/external/llvm/lib/IR/ |
Constants.cpp | 92 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 93 return CI->isZero(); 107 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 108 return CI->isMinusOne(); 129 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 130 return CI->isOne(); 151 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 152 return CI->isMinValue(/*isSigned=*/true); 173 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 174 return !CI->isMinValue(/*isSigned=*/true) [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonCommonGEP.cpp | 190 ConstantInt *CI = dyn_cast<ConstantInt>(Idx); 191 assert(CI && "Struct type with non-constant index"); 192 int64_t i = CI->getValue().getSExtValue(); 223 if (ConstantInt *CI = dyn_cast<ConstantInt>(GN.Idx)) 224 OS << CI->getValue().getSExtValue(); [all...] |
/external/llvm/lib/Target/Mips/ |
MipsFastISel.cpp | 132 bool emitCmp(unsigned DestReg, const CmpInst *CI); 313 const ConstantInt *CI = cast<ConstantInt>(C); 314 return materialize32BitInt(CI->getZExtValue(), RC); 460 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) { 462 TmpOffset += CI->getSExtValue() * S; 467 ConstantInt *CI = 469 TmpOffset += CI->getSExtValue() * S; 595 bool MipsFastISel::emitCmp(unsigned ResultReg, const CmpInst *CI) { 596 const Value *Left = CI->getOperand(0), *Right = CI->getOperand(1) [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCFastISel.cpp | 168 unsigned PPCMaterializeInt(const ConstantInt *CI, MVT VT, 368 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) { 370 TmpOffset += CI->getSExtValue() * S; 375 ConstantInt *CI = 377 TmpOffset += CI->getSExtValue() * S; 769 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) { 770 if (isValueAvailable(CI)) { 771 Optional<PPC::Predicate> OptPPCPred = getComparePred(CI->getPredicate()); 785 if (!PPCEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned() [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 591 } else if (const CallInst *CI = dyn_cast<CallInst>(U)) { 592 if (CI->getCalledValue() != V) { 601 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) { 602 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; 671 } else if (CastInst *CI = dyn_cast<CastInst>(I)) { 672 Changed |= OptimizeAwayTrappingUsesOfValue(CI, 673 ConstantExpr::getCast(CI->getOpcode(), 674 NewV, CI->getType())); 675 if (CI->use_empty()) { 677 CI->eraseFromParent() [all...] |
MergeFunctions.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | [all...] |
InstCombineAndOrXor.cpp | 231 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShlMask); 233 if (CI->getValue() == ShlMask) 237 if (CI != AndRHS) { // Reducing bits set in and. 238 TheAnd.setOperand(1, CI); 251 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShrMask); 253 if (CI->getValue() == ShrMask) 257 if (CI != AndRHS) { 258 TheAnd.setOperand(1, CI); // Reduce bits set in and cst. [all...] |
InstCombineCasts.cpp | 30 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { 31 Offset = CI->getZExtValue(); 81 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, 83 PointerType *PTy = cast<PointerType>(CI.getType()); 146 // things that used it to use the new cast. This will also hack on CI, but it 154 return replaceInstUsesWith(CI, New); 234 isEliminableCastPair(const CastInst *CI, ///< First cast instruction 238 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 239 Type *MidTy = CI->getType(); // B from above 242 Instruction::CastOps firstOp = Instruction::CastOps(CI->getOpcode()) [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
DataFlowSanitizer.cpp | 337 void visitCastInst(CastInst &CI); 338 void visitCmpInst(CmpInst &CI); 561 CallInst *CI = CallInst::Create(F, Args, "", BB); 565 ReturnInst::Create(*Ctx, CI, BB); 583 CallInst *CI = 589 RI = ReturnInst::Create(*Ctx, CI, BB); 595 DFSanVisitor(DFSF).visitCallInst(*CI); [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCOpts.cpp | 716 CallInst *CI = cast<CallInst>(Inst); 717 if (IsNullOrUndef(CI->getArgOperand(0))) { 719 Type *Ty = CI->getArgOperand(0)->getType(); 722 CI); 723 llvm::Value *NewValue = UndefValue::get(CI->getType()); 725 "\nOld = " << *CI << "\nNew = " << *NewValue << "\n"); 726 CI->replaceAllUsesWith(NewValue); 727 CI->eraseFromParent(); 734 CallInst *CI = cast<CallInst>(Inst); 735 if (IsNullOrUndef(CI->getArgOperand(0)) | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
GVN.cpp | [all...] |
LoopRerollPass.cpp | 795 ConstantInt *CI = nullptr; 806 CI = dyn_cast<ConstantInt>(BO->getOperand(1)); 809 CI = dyn_cast<ConstantInt>(LastOperand); 812 if (!CI) { 822 int64_t V = std::abs(CI->getValue().getSExtValue()); [all...] |
/external/llvm/lib/Transforms/Utils/ |
InlineFunction.cpp | 58 bool llvm::InlineFunction(CallInst *CI, InlineFunctionInfo &IFI, 60 return InlineFunction(CallSite(CI), IFI, CalleeAAR, InsertLifetime); 425 CallInst *CI = dyn_cast<CallInst>(I); 427 if (!CI || CI->doesNotThrow() || isa<InlineAsm>(CI->getCalledValue())) 436 if (auto *F = CI->getCalledFunction()) 441 if (auto FuncletBundle = CI->getOperandBundle(LLVMContext::OB_funclet)) { 469 BB->splitBasicBlock(CI->getIterator(), CI->getName() + ".noexc") [all...] |
Local.cpp | 122 ConstantInt *CI = dyn_cast<ConstantInt>(SI->getCondition()); 136 if (i.getCaseValue() == CI) { 153 auto *CI = mdconst::extract<ConstantInt>(MD->getOperand(MD_i)); 154 Weights.push_back(CI->getValue().getZExtValue()); 179 if (CI && !TheOnlyDest) { 339 if (CallInst *CI = isFreeCall(I, TLI)) 340 if (Constant *C = dyn_cast<Constant>(CI->getArgOperand(0))) [all...] |