Searched refs:getZExtValue (Results 1 - 25 of 393) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp54 if (isUInt<32>(Imm.getZExtValue()))
57 if ((Imm.getZExtValue() & 0xffffffff) == 0)
105 if (isUInt<32>(Imm.getZExtValue()))
113 if (isUInt<32>(Imm.getZExtValue()))
131 if (isUInt<32>(Imm.getZExtValue()))
134 if ((Imm.getZExtValue() & 0xffffffff) == 0)
144 if (isUInt<32>(~Imm.getZExtValue()))
147 if ((Imm.getZExtValue() & 0xffffffff) == 0xffffffff)
152 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End))
206 if (isUInt<32>(Imm.getZExtValue()))
[all...]
/external/llvm/lib/Analysis/
H A DMemoryLocation.cpp70 Size = C->getValue().getZExtValue();
83 Size = C->getValue().getZExtValue();
113 return MemoryLocation(Arg, LenCI->getZExtValue(), AATags);
121 Arg, cast<ConstantInt>(II->getArgOperand(0))->getZExtValue(), AATags);
126 Arg, cast<ConstantInt>(II->getArgOperand(1))->getZExtValue(), AATags);
153 return MemoryLocation(Arg, LenCI->getZExtValue(), AATags);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp43 std::string HexStr(utohexstr(API.getZExtValue()));
46 OS << utohexstr(API.getZExtValue());
/external/llvm/unittests/Analysis/
H A DUnrollAnalyzer.cpp110 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 1U);
115 EXPECT_FALSE(cast<ConstantInt>((*I2).second)->getZExtValue());
121 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), TripCount);
126 EXPECT_TRUE(cast<ConstantInt>((*I2).second)->getZExtValue());
219 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 5U);
222 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 1U);
264 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 0U);
314 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 259U);
317 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 259U);
320 EXPECT_EQ(cast<ConstantInt>((*I3).second)->getZExtValue(),
[all...]
/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp55 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(),
68 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(),
77 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue()));
H A DExecutionUtils.cpp71 return Element(Priority->getZExtValue(), Func, Data);
/external/llvm/include/llvm/IR/
H A DStatepoint.h102 ->getZExtValue();
108 return cast<ConstantInt>(IDVal)->getZExtValue();
115 cast<ConstantInt>(NumPatchBytesVal)->getZExtValue();
155 return cast<ConstantInt>(NumCallArgsVal)->getZExtValue();
189 return cast<ConstantInt>(NumGCTransitionArgs)->getZExtValue();
211 return cast<ConstantInt>(NumVMSArgs)->getZExtValue();
365 return cast<ConstantInt>(getArgOperand(1))->getZExtValue();
371 return cast<ConstantInt>(getArgOperand(2))->getZExtValue();
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp64 if ((Imm.getZExtValue() & 0xFFFF) == 0)
171 (isShiftedMask_32(Imm.getZExtValue()) ||
172 isShiftedMask_32(~Imm.getZExtValue())))
176 (isShiftedMask_64(Imm.getZExtValue()) ||
177 isShiftedMask_64(~Imm.getZExtValue())))
181 if (UnsignedFree && isUInt<16>(Imm.getZExtValue()))
184 if (ShiftedFree && (Imm.getZExtValue() & 0xFFFF) == 0)
/external/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp77 uint64_t Element = APElt.getLoBits(8).getZExtValue();
148 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue();
204 uint64_t Selector = cast<ConstantInt>(COp)->getZExtValue();
293 ShuffleMask.push_back((int)Index.getZExtValue());
318 ShuffleMask.push_back(Element.getZExtValue());
327 uint64_t Element = cast<ConstantInt>(C)->getZExtValue();
351 ShuffleMask.push_back(Element.getZExtValue());
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp207 unsigned RCID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue();
212 unsigned SubRegIdx = cast<ConstantSDNode>(SubRegOp)->getZExtValue();
395 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue();
398 Imm = C->getZExtValue();
446 uint32_t OffsetVal = Offset->getZExtValue();
447 uint32_t WidthVal = Width->getZExtValue();
512 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr),
535 && isInt<16>(IMMOffset->getZExtValue())) {
538 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr),
543 && isInt<16>(IMMOffset->getZExtValue())) {
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp84 if (CI->getZExtValue() == NumBits) {
130 if (CI->getZExtValue() > NumBits) {
131 unsigned LowBits = TypeWidth - CI->getZExtValue();
154 if (CI->getZExtValue() > NumBits) {
155 unsigned LowBits = CI->getZExtValue() - NumBits;
220 unsigned NewShAmt = NumBits+CI->getZExtValue();
245 assert(CI->getZExtValue() > NumBits);
247 CI->getZExtValue() - NumBits));
261 unsigned NewShAmt = NumBits+CI->getZExtValue();
285 assert(CI->getZExtValue() > NumBit
[all...]
H A DInstCombineVectorOps.cpp71 Result.push_back(cast<ConstantInt>(*i)->getZExtValue());
96 unsigned IIElt = cast<ConstantInt>(III->getOperand(2))->getZExtValue();
149 unsigned IndexVal = IdxC->getZExtValue();
215 int SrcIdx = getShuffleMask(SVI)[Elt->getZExtValue()];
282 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue();
296 cast<ConstantInt>(EI->getOperand(1))->getZExtValue();
351 cast<ConstantInt>(EI->getOperand(1))->getZExtValue();
352 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue();
407 cast<ConstantInt>(EI->getOperand(1))->getZExtValue();
408 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue();
[all...]
/external/clang/lib/AST/
H A DTemplateBase.cpp59 const char Ch = Val.getZExtValue();
85 Integer.VAL = Value.getZExtValue();
/external/llvm/lib/IR/
H A DOperator.cpp37 unsigned ElementIdx = OpC->getZExtValue();
H A DProfileSummary.cpp99 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue();
139 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(),
140 cast<ConstantInt>(Op1->getValue())->getZExtValue(),
141 cast<ConstantInt>(Op2->getValue())->getZExtValue());
/external/llvm/lib/Target/Hexagon/
H A DHexagonSelectionDAGInfo.cpp28 uint64_t SizeVal = ConstantSize->getZExtValue();
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp71 unsigned SecondShiftAmt = SecondShiftConst->getZExtValue();
131 if (CI->getZExtValue() == NumBits) {
227 unsigned NewShAmt = NumBits+CI->getZExtValue();
252 assert(CI->getZExtValue() > NumBits);
254 CI->getZExtValue() - NumBits));
270 unsigned NewShAmt = NumBits+CI->getZExtValue();
294 assert(CI->getZExtValue() > NumBits);
296 CI->getZExtValue() - NumBits));
340 CanEvaluateShifted(Op0, COp1->getZExtValue(), isLeftShift, *this, &I)) {
345 I, GetShiftedValue(Op0, COp1->getZExtValue(), isLeftShif
[all...]
/external/llvm/unittests/ADT/
H A DAPSIntTest.cpp47 EXPECT_EQ(7u, APSInt::get(7).getZExtValue());
52 EXPECT_EQ(UINT64_C(0) - 7, APSInt::get(-7).getZExtValue());
58 EXPECT_EQ(7u, APSInt::getUnsigned(7).getZExtValue());
63 EXPECT_EQ(UINT64_C(0) - 7, APSInt::getUnsigned(-7).getZExtValue());
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
H A DMBlazeISelDAGToDAG.cpp105 Imm = (int32_t)cast<ConstantSDNode>(N)->getZExtValue();
107 return Imm == (int32_t)cast<ConstantSDNode>(N)->getZExtValue();
109 return Imm == (int64_t)cast<ConstantSDNode>(N)->getZExtValue();
166 uint32_t Imm = CN->getZExtValue();
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp139 *I8Ptr = (int8_t) AV.IntVal.getZExtValue();
144 *I16Ptr = (int16_t) AV.IntVal.getZExtValue();
149 *I32Ptr = (int32_t) AV.IntVal.getZExtValue();
154 *I64Ptr = (int64_t) AV.IntVal.getZExtValue();
374 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue()));
390 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue());
392 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue()));
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h680 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1;
682 int64_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits
706 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1;
708 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits
734 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1;
736 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL;
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp139 *I8Ptr = (int8_t) AV.IntVal.getZExtValue();
144 *I16Ptr = (int16_t) AV.IntVal.getZExtValue();
149 *I32Ptr = (int32_t) AV.IntVal.getZExtValue();
154 *I64Ptr = (int64_t) AV.IntVal.getZExtValue();
364 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue()));
380 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue());
382 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue()));
464 size_t len = (size_t)Args[2].IntVal.getZExtValue();
/external/swiftshader/third_party/LLVM/lib/Object/
H A DArchive.cpp47 return ret.getZExtValue();
93 + offset.getZExtValue();
/external/swiftshader/third_party/LLVM/unittests/ADT/
H A DAPIntTest.cpp53 EXPECT_EQ(((uint64_t)-2)&((1ull<<33) -1), i33minus2.getZExtValue());
84 EXPECT_EQ((uint64_t)~0ull, u64max.getZExtValue());
94 EXPECT_EQ(0u, zero.getZExtValue());
104 EXPECT_EQ(1u, one.getZExtValue());
116 EXPECT_EQ(1u, neg_one.getZExtValue());
117 EXPECT_EQ(0u, zero.getZExtValue());
119 EXPECT_EQ(1u, one.getZExtValue());
120 EXPECT_EQ(0u, two.getZExtValue());
/external/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp32 if (bzeroEntry && (!SizeValue || SizeValue->getZExtValue() > 256)) {

Completed in 835 milliseconds

1234567891011>>