/external/proguard/src/proguard/gui/splash/ |
ConstantInt.java | 28 public class ConstantInt implements VariableInt 34 * Creates a new ConstantInt. 37 public ConstantInt(int value)
|
RectangleSprite.java | 58 this(filled, color, x, y, width, height, new ConstantInt(0), new ConstantInt(0));
|
SplashPanel.java | 219 new ConstantInt(150)), 223 new ConstantInt(200), 224 new ConstantInt(300)))));
|
/external/llvm/lib/Analysis/ |
MemoryLocation.cpp | 69 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength())) 82 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength())) 129 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2))) 138 Arg, cast<ConstantInt>(II->getArgOperand(0))->getZExtValue(), AATags); 143 Arg, cast<ConstantInt>(II->getArgOperand(1))->getZExtValue(), AATags); 168 if (const ConstantInt *LenCI = dyn_cast<ConstantInt>(CS.getArgument(2)) [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | 64 ConstantExpr::getExtractElement(CV, ConstantInt::get(Ty, i)); 157 if (isa<ConstantInt>(V) || isa<ConstantFP>(V)) 167 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 194 return ConstantInt::get(FP->getContext(), 222 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) { 227 return ConstantInt::get(CI->getContext(), V); 243 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS) [all...] |
MDBuilder.cpp | 50 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); 63 createConstant(ConstantInt::get(Int64Ty, Count))}); 70 return createRange(ConstantInt::get(Ty, Lo), ConstantInt::get(Ty, Hi)); 113 Constant *Flags = ConstantInt::get(Type::getInt64Ty(Context), 1); 134 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); 135 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); 150 Ops[i * 2 + 2] = createConstant(ConstantInt::get(Int64, Fields[i].second)); 159 ConstantInt *Off = ConstantInt::get(Type::getInt64Ty(Context), Offset) [all...] |
Operator.cpp | 23 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
|
/external/llvm/include/llvm/IR/ |
IntrinsicInst.h | 115 return cast<ConstantInt>( 153 ConstantInt *getAlignmentCst() const { 154 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3))); 161 ConstantInt *getVolatileCst() const { 162 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4))); 363 ConstantInt *getHash() const { 364 return cast<ConstantInt>(const_cast<Value *>(getArgOperand(1))); 367 ConstantInt *getNumCounters() const { 368 return cast<ConstantInt>(const_cast<Value *>(getArgOperand(2))); 371 ConstantInt *getIndex() const [all...] |
/external/llvm/lib/Target/AMDGPU/ |
R600TextureIntrinsicsReplacer.cpp | 126 ConstantInt::get(Int32Type, SrcSelect[0]), 127 ConstantInt::get(Int32Type, SrcSelect[1]), 128 ConstantInt::get(Int32Type, SrcSelect[2]), 129 ConstantInt::get(Int32Type, SrcSelect[3]) 142 ConstantInt::get(Int32Type, CT[0]), 143 ConstantInt::get(Int32Type, CT[1]), 144 ConstantInt::get(Int32Type, CT[2]), 145 ConstantInt::get(Int32Type, CT[3]) 165 cast<ConstantInt>(I.getArgOperand(3))->getZExtValue(); 170 ConstantInt::get(Int32Type, 0) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineShifts.cpp | 49 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1), 83 ConstantInt *CI = nullptr; 119 CI = dyn_cast<ConstantInt>(I->getOperand(1)); 144 CI = dyn_cast<ConstantInt>(I->getOperand(1)); 223 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)); 232 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); 243 ConstantInt::get(BO->getContext(), Mask)); 254 BO->setOperand(1, ConstantInt::get(BO->getType(), 264 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)) [all...] |
InstCombineCompares.cpp | 39 static ConstantInt *getOne(Constant *C) { 40 return ConstantInt::get(cast<IntegerType>(C->getType()), 1); 43 static ConstantInt *ExtractElement(Constant *V, Constant *Idx) { 44 return cast<ConstantInt>(ConstantExpr::getExtractElement(V, Idx)); 47 static bool HasAddOverflow(ConstantInt *Result, 48 ConstantInt *In1, ConstantInt *In2, 66 Constant *Idx = ConstantInt::get(Type::getInt32Ty(In1->getContext()), i); 76 return HasAddOverflow(cast<ConstantInt>(Result), 77 cast<ConstantInt>(In1), cast<ConstantInt>(In2) [all...] |
InstCombineAndOrXor.cpp | 35 if (ConstantInt *C = dyn_cast<ConstantInt>(V)) 36 return ConstantInt::get(C->getType(), ~C->getValue()); 97 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1); 121 ConstantInt *ConstLHS = dyn_cast<ConstantInt>(OldLHS); 122 ConstantInt *ConstRHS = dyn_cast<ConstantInt>(OldRHS); 161 ConstantInt *OpRHS, 162 ConstantInt *AndRHS [all...] |
InstCombineSelect.cpp | 115 return ConstantInt::get(I->getType(), 1); 194 ConstantInt *C1I = dyn_cast<ConstantInt>(C1); 197 ConstantInt *C2I = dyn_cast<ConstantInt>(C2); 417 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) { 431 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() + 1); 433 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() - 1); 507 if (ConstantInt *Cmp = dyn_cast<ConstantInt>(CmpRHS)) [all...] |
InstCombineVectorOps.cpp | 47 isa<ConstantInt>(I->getOperand(2))) 144 if (ConstantInt *IdxC = dyn_cast<ConstantInt>(EI.getOperand(1))) { 189 cheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) { 212 if (ConstantInt *Elt = dyn_cast<ConstantInt>(EI.getOperand(1))) { 228 ConstantInt::get(Int32Ty, 294 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); 300 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), 311 if (!isa<ConstantInt>(IdxOp) [all...] |
/external/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 45 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); 46 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3);
|
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 178 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), 186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 188 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 190 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), 193 ConstantInt::get(Type::getInt32Ty(Context), 0xFF0000), 196 ConstantInt::get(Type::getInt32Ty(Context), 0xFF00), 204 Value *Tmp8 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 56), 206 Value *Tmp7 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 40) [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXImageOptimizer.cpp | 43 void replaceWith(Instruction *From, ConstantInt *To); 94 replaceWith(&I, ConstantInt::getTrue(I.getContext())); 100 replaceWith(&I, ConstantInt::getFalse(I.getContext())); 113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); 119 replaceWith(&I, ConstantInt::getFalse(I.getContext())); 131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); 138 replaceWith(&I, ConstantInt::getFalse(I.getContext())); 146 void NVPTXImageOptimizer::replaceWith(Instruction *From, ConstantInt *To) {
|
NVPTXLowerAggrCopies.cpp | 85 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), OrigBB); 102 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); 166 ConstantInt::get(TypeOfCopyLen, 0), "compare_n_to_0"); 174 LoopPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_ptr"); 180 LoopBuilder.CreateICmpEQ(IndexPtr, ConstantInt::get(TypeOfCopyLen, 0)), 197 FwdCopyPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_increment"); 201 FwdCopyPhi->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), CopyForwardBB); 226 LoopIndex->addIncoming(ConstantInt::get(CopyLen->getType(), 0), OrigBB); 234 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLen->getType(), 1)); 267 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(IntrCall->getLength())) [all...] |
/external/llvm/lib/Transforms/IPO/ |
CrossDSOCFI.cpp | 52 ConstantInt *extractBitSetTypeId(MDNode *MD); 77 ConstantInt *CrossDSOCFI::extractBitSetTypeId(MDNode *MD) { 82 auto C = dyn_cast_or_null<ConstantInt>(TM->getValue()); 108 if (ConstantInt *TypeId = extractBitSetTypeId(BitSetNM->getOperand(I))) 144 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId);
|
/external/llvm/lib/Transforms/Scalar/ |
StraightLineStrengthReduce.cpp | 94 Candidate(Kind CT, const SCEV *B, ConstantInt *Idx, Value *S, 103 ConstantInt *Index; 176 void allocateCandidatesAndFindBasisForGEP(const SCEV *B, ConstantInt *Idx, 182 ConstantInt *Idx, Value *S, 255 if (ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I)) { 267 uint64_t Field = cast<ConstantInt>(*I)->getZExtValue(); 278 static bool isAddFoldable(const SCEV *Base, ConstantInt *Index, Value *Stride, 298 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I) [all...] |
SeparateConstOffsetFromGEP.cpp | 485 if (ConstantInt *ConstLHS = dyn_cast<ConstantInt>(LHS)) { 489 if (ConstantInt *ConstRHS = dyn_cast<ConstantInt>(RHS)) { 542 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 577 // ConstantExpr::getCast emits a ConstantInt if C is a ConstantInt. 607 assert(isa<ConstantInt>(U)); 608 // If U is a ConstantInt, applyExts will return a ConstantInt as well [all...] |
/external/llvm/lib/Transforms/Utils/ |
CmpInstAnalysis.cpp | 77 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0); 85 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
|
/external/llvm/unittests/IR/ |
MDBuilderTest.cpp | 53 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(0))); 54 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(1))); 55 ConstantInt *C0 = mdconst::extract<ConstantInt>(R1->getOperand(0)); 56 ConstantInt *C1 = mdconst::extract<ConstantInt>(R1->getOperand(1)); 104 EXPECT_TRUE(mdconst::hasa<ConstantInt>(N2->getOperand(2))); 105 EXPECT_EQ(mdconst::extract<ConstantInt>(N2->getOperand(2))->getZExtValue(),
|
/external/llvm/examples/BrainF/ |
BrainF.cpp | 81 ConstantInt *val_mem = ConstantInt::get(C, APInt(32, memtotal)); 95 ConstantInt::get(C, APInt(8, 0)), 97 ConstantInt::get(C, APInt(32, 1)), 98 ConstantInt::get(C, APInt(1, 0)) 109 CreateGEP(ptr_arr, ConstantInt::get(C, APInt(32, memtotal)), "arrmax"); 114 ConstantInt::get(C, APInt(32, memtotal/2)), 238 CreateGEP(curhead, ConstantInt::get(C, APInt(32, curvalue)), 273 CreateAdd(tape_0, ConstantInt::get(C, APInt(8, curvalue)), tapereg); 437 ConstantInt::get(C, APInt(8, 0)), testreg) [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonOptimizeSZextends.cpp | 112 ConstantInt *C = dyn_cast<ConstantInt>(AshrOp1); 123 C = dyn_cast<ConstantInt>(ShlOp1);
|