/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZOperands.td | 37 return getI8Imm(N->getZExtValue() & 0x00000000000000FFULL); 42 return getI16Imm(N->getZExtValue() & 0x000000000000FFFFULL); 47 return getI16Imm((N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16); 52 return getI16Imm((N->getZExtValue() & 0x0000FFFF00000000ULL) >> 32); 57 return getI16Imm((N->getZExtValue() & 0xFFFF000000000000ULL) >> 48); 62 return getI32Imm(N->getZExtValue() & 0x00000000FFFFFFFFULL); 67 return getI32Imm(N->getZExtValue() >> 32); 77 return ((N->getZExtValue() & 0x000000000000FFFFULL) == N->getZExtValue()); 82 return ((N->getZExtValue() & 0x00000000FFFF0000ULL) == N->getZExtValue()); 87 return ((N->getZExtValue() | 0x00000000FFFF0000ULL) == N->getZExtValue()); [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZOperands.td | 151 uint64_t Value = N->getZExtValue() & 0x000000000000FFFFULL; 157 uint64_t Value = (N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16; 163 uint64_t Value = (N->getZExtValue() & 0x0000FFFF00000000ULL) >> 32; 169 uint64_t Value = (N->getZExtValue() & 0xFFFF000000000000ULL) >> 48; 175 uint64_t Value = N->getZExtValue() & 0x00000000FFFFFFFFULL; 181 uint64_t Value = N->getZExtValue() >> 32; 187 return CurDAG->getTargetConstant(int8_t(N->getZExtValue()), SDLoc(N), 193 return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()), SDLoc(N), 199 return CurDAG->getTargetConstant(N->getZExtValue() & 0xfe, SDLoc(N), 205 return CurDAG->getTargetConstant(N->getZExtValue() & 0xfff, SDLoc(N), [all …]
|
D | SystemZTargetTransformInfo.cpp | 54 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 57 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCost() 105 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 113 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 131 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 134 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCost() 144 if (isUInt<32>(~Imm.getZExtValue())) in getIntImmCost() 147 if ((Imm.getZExtValue() & 0xffffffff) == 0xffffffff) in getIntImmCost() 152 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCost() 206 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
|
D | SystemZISelDAGToDAG.cpp | 706 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion() 716 if (Used != (AndMask | InsertMask | KnownZero.getZExtValue())) in detectOrAndInsertion() 768 uint64_t Mask = MaskNode->getZExtValue(); in expandRxSBG() 775 Mask |= KnownZero.getZExtValue(); in expandRxSBG() 792 uint64_t Mask = ~MaskNode->getZExtValue(); in expandRxSBG() 799 Mask &= ~KnownOne.getZExtValue(); in expandRxSBG() 815 RxSBG.Rotate = (RxSBG.Rotate + CountNode->getZExtValue()) & 63; in expandRxSBG() 853 uint64_t Count = CountNode->getZExtValue(); in expandRxSBG() 880 uint64_t Count = CountNode->getZExtValue(); in expandRxSBG() 954 if (MaskN->getZExtValue() != RISBG.Mask) { in tryRISBGZero() [all …]
|
/external/llvm/unittests/Analysis/ |
D | UnrollAnalyzer.cpp | 110 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 1U); in TEST() 115 EXPECT_FALSE(cast<ConstantInt>((*I2).second)->getZExtValue()); in TEST() 121 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), TripCount); in TEST() 126 EXPECT_TRUE(cast<ConstantInt>((*I2).second)->getZExtValue()); in TEST() 219 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 5U); in TEST() 222 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 1U); in TEST() 264 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 0U); in TEST() 314 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 259U); in TEST() 317 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 259U); in TEST() 320 EXPECT_EQ(cast<ConstantInt>((*I3).second)->getZExtValue(), 3U); in TEST()
|
/external/llvm/lib/Analysis/ |
D | MemoryLocation.cpp | 70 Size = C->getValue().getZExtValue(); in getForSource() 83 Size = C->getValue().getZExtValue(); in getForDest() 113 return MemoryLocation(Arg, LenCI->getZExtValue(), AATags); in getForArgument() 121 Arg, cast<ConstantInt>(II->getArgOperand(0))->getZExtValue(), AATags); in getForArgument() 126 Arg, cast<ConstantInt>(II->getArgOperand(1))->getZExtValue(), AATags); in getForArgument() 153 return MemoryLocation(Arg, LenCI->getZExtValue(), AATags); in getForArgument()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 84 if (CI->getZExtValue() == NumBits) { in CanEvaluateShifted() 130 if (CI->getZExtValue() > NumBits) { in CanEvaluateShifted() 131 unsigned LowBits = TypeWidth - CI->getZExtValue(); in CanEvaluateShifted() 154 if (CI->getZExtValue() > NumBits) { in CanEvaluateShifted() 155 unsigned LowBits = CI->getZExtValue() - NumBits; in CanEvaluateShifted() 220 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() 245 assert(CI->getZExtValue() > NumBits); in GetShiftedValue() 247 CI->getZExtValue() - NumBits)); in GetShiftedValue() 261 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() 285 assert(CI->getZExtValue() > NumBits); in GetShiftedValue() [all …]
|
D | InstCombineVectorOps.cpp | 71 Result.push_back(cast<ConstantInt>(*i)->getZExtValue()); in getShuffleMask() 96 unsigned IIElt = cast<ConstantInt>(III->getOperand(2))->getZExtValue(); in FindScalarElement() 149 unsigned IndexVal = IdxC->getZExtValue(); in visitExtractElementInst() 215 int SrcIdx = getShuffleMask(SVI)[Elt->getZExtValue()]; in visitExtractElementInst() 282 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in CollectSingleShuffleElements() 296 cast<ConstantInt>(EI->getOperand(1))->getZExtValue(); in CollectSingleShuffleElements() 351 cast<ConstantInt>(EI->getOperand(1))->getZExtValue(); in CollectShuffleElements() 352 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in CollectShuffleElements() 407 cast<ConstantInt>(EI->getOperand(1))->getZExtValue(); in visitInsertElementInst() 408 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in visitInsertElementInst()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 207 unsigned RCID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue(); in getOperandRegClass() 212 unsigned SubRegIdx = cast<ConstantSDNode>(SubRegOp)->getZExtValue(); in getOperandRegClass() 395 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue(); in Select() 398 Imm = C->getZExtValue(); in Select() 446 uint32_t OffsetVal = Offset->getZExtValue(); in Select() 447 uint32_t WidthVal = Width->getZExtValue(); in Select() 512 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), in SelectGlobalValueConstantOffset() 535 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ() 538 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr), in SelectADDRVTX_READ() 543 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 77 uint64_t Element = APElt.getLoBits(8).getZExtValue(); in DecodePSHUFBMask() 148 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); in DecodeVPERMILPMask() 204 uint64_t Selector = cast<ConstantInt>(COp)->getZExtValue(); in DecodeVPERMIL2PMask() 293 ShuffleMask.push_back((int)Index.getZExtValue()); in DecodeVPPERMMask() 318 ShuffleMask.push_back(Element.getZExtValue()); in DecodeVPERMVMask() 327 uint64_t Element = cast<ConstantInt>(C)->getZExtValue(); in DecodeVPERMVMask() 351 ShuffleMask.push_back(Element.getZExtValue()); in DecodeVPERMV3Mask()
|
/external/llvm/include/llvm/IR/ |
D | Statepoint.h | 102 ->getZExtValue(); in getFlags() 108 return cast<ConstantInt>(IDVal)->getZExtValue(); in getID() 115 cast<ConstantInt>(NumPatchBytesVal)->getZExtValue(); in getNumPatchBytes() 155 return cast<ConstantInt>(NumCallArgsVal)->getZExtValue(); in getNumCallArgs() 189 return cast<ConstantInt>(NumGCTransitionArgs)->getZExtValue(); in getNumTotalGCTransitionArgs() 211 return cast<ConstantInt>(NumVMSArgs)->getZExtValue(); in getNumTotalVMSArgs() 365 return cast<ConstantInt>(getArgOperand(1))->getZExtValue(); in getBasePtrIndex() 371 return cast<ConstantInt>(getArgOperand(2))->getZExtValue(); in getDerivedPtrIndex()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 71 unsigned SecondShiftAmt = SecondShiftConst->getZExtValue(); in canEvaluateShiftedShift() 131 if (CI->getZExtValue() == NumBits) { in CanEvaluateShifted() 227 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() 252 assert(CI->getZExtValue() > NumBits); in GetShiftedValue() 254 CI->getZExtValue() - NumBits)); in GetShiftedValue() 270 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() 294 assert(CI->getZExtValue() > NumBits); in GetShiftedValue() 296 CI->getZExtValue() - NumBits)); in GetShiftedValue() 340 CanEvaluateShifted(Op0, COp1->getZExtValue(), isLeftShift, *this, &I)) { in FoldShiftByConstant() 345 I, GetShiftedValue(Op0, COp1->getZExtValue(), isLeftShift, *this, DL)); in FoldShiftByConstant() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 64 if ((Imm.getZExtValue() & 0xFFFF) == 0) in getIntImmCost() 171 (isShiftedMask_32(Imm.getZExtValue()) || in getIntImmCost() 172 isShiftedMask_32(~Imm.getZExtValue()))) in getIntImmCost() 176 (isShiftedMask_64(Imm.getZExtValue()) || in getIntImmCost() 177 isShiftedMask_64(~Imm.getZExtValue()))) in getIntImmCost() 181 if (UnsignedFree && isUInt<16>(Imm.getZExtValue())) in getIntImmCost() 184 if (ShiftedFree && (Imm.getZExtValue() & 0xFFFF) == 0) in getIntImmCost()
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUOperands.td | 14 return getI32Imm(N->getZExtValue()); 19 return CurDAG->getTargetConstant(N->getZExtValue(), MVT::i16); 24 unsigned val = N->getZExtValue(); 47 return getI32Imm((unsigned)CN->getZExtValue() & 0xffff); 52 return getI32Imm((unsigned)N->getZExtValue() >> 16); 73 return getI32Imm((unsigned)CN->getZExtValue() >> 16); 86 return (N->getZExtValue() <= 0x7f); 98 return (N->getZExtValue() <= 0xff); 135 return (uint64_t)N->getZExtValue() == (unsigned short)N->getZExtValue(); 140 return (uint64_t)N->getZExtValue() == (N->getZExtValue() & 0xffff); [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 139 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor() 144 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor() 149 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor() 154 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor() 364 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 380 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf() 382 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 464 size_t len = (size_t)Args[2].IntVal.getZExtValue(); in lle_X_memset()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 55 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction() 68 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction() 77 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 680 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 682 int64_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits in getFP16Imm() 706 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 708 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits in getFP32Imm() 734 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 736 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL; in getFP64Imm()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 139 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor() 144 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor() 149 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor() 154 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor() 374 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 390 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf() 392 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | APIntTest.cpp | 53 EXPECT_EQ(((uint64_t)-2)&((1ull<<33) -1), i33minus2.getZExtValue()); in TEST() 84 EXPECT_EQ((uint64_t)~0ull, u64max.getZExtValue()); in TEST() 94 EXPECT_EQ(0u, zero.getZExtValue()); in TEST() 104 EXPECT_EQ(1u, one.getZExtValue()); in TEST() 116 EXPECT_EQ(1u, neg_one.getZExtValue()); in TEST() 117 EXPECT_EQ(0u, zero.getZExtValue()); in TEST() 119 EXPECT_EQ(1u, one.getZExtValue()); in TEST() 120 EXPECT_EQ(0u, two.getZExtValue()); in TEST()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILISelDAGToDAG.cpp | 340 if (isInt<8>(OffsetNode->getZExtValue() >> 2)) { in SelectADDR8BitOffset() 342 Offset = CurDAG->getTargetConstant(OffsetNode->getZExtValue() >> 2, in SelectADDR8BitOffset() 362 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ() 365 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), MVT::i32); in SelectADDRVTX_READ() 369 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ() 373 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), MVT::i32); in SelectADDRVTX_READ()
|
/external/llvm/lib/IR/ |
D | ProfileSummary.cpp | 99 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal() 139 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(), in getSummaryFromMD() 140 cast<ConstantInt>(Op1->getValue())->getZExtValue(), in getSummaryFromMD() 141 cast<ConstantInt>(Op2->getValue())->getZExtValue()); in getSummaryFromMD()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 43 std::string HexStr(utohexstr(API.getZExtValue())); in printImpl() 46 OS << utohexstr(API.getZExtValue()); in printImpl()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeISelDAGToDAG.cpp | 105 Imm = (int32_t)cast<ConstantSDNode>(N)->getZExtValue(); in isIntS32Immediate() 107 return Imm == (int32_t)cast<ConstantSDNode>(N)->getZExtValue(); in isIntS32Immediate() 109 return Imm == (int64_t)cast<ConstantSDNode>(N)->getZExtValue(); in isIntS32Immediate() 166 uint32_t Imm = CN->getZExtValue(); in SelectAddrRegImm()
|
/external/llvm/unittests/ADT/ |
D | APSIntTest.cpp | 47 EXPECT_EQ(7u, APSInt::get(7).getZExtValue()); in TEST() 52 EXPECT_EQ(UINT64_C(0) - 7, APSInt::get(-7).getZExtValue()); in TEST() 58 EXPECT_EQ(7u, APSInt::getUnsigned(7).getZExtValue()); in TEST() 63 EXPECT_EQ(UINT64_C(0) - 7, APSInt::getUnsigned(-7).getZExtValue()); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/ |
D | AlphaInstrInfo.td | 46 return getI64Imm(~N->getZExtValue()); 49 return getI64Imm(~N->getZExtValue() + 1); 52 return getI64Imm(((int64_t)N->getZExtValue() << 32) >> 32); 55 return getI64Imm(((int64_t)N->getZExtValue() << 48) >> 48); 58 return getI64Imm(get_lda16(N->getZExtValue())); 61 return getI64Imm(get_ldah16(N->getZExtValue())); 65 return getI64Imm(get_zapImm(SDValue(), RHS->getZExtValue())); 68 return getI64Imm(Log2_64(getNearPower2((uint64_t)N->getZExtValue()))); 72 abs64(N->getZExtValue() - getNearPower2((uint64_t)N->getZExtValue())); 77 return (uint64_t)N->getZExtValue() == (uint8_t)N->getZExtValue(); [all …]
|