Home
last modified time | relevance | path

Searched refs:isUInt (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCCodeEmitter.cpp188 assert(isUInt<4>(Base) && isUInt<12>(Disp)); in getBDAddr12Encoding()
198 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding()
209 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Index)); in getBDXAddr12Encoding()
220 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index)); in getBDXAddr20Encoding()
232 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Len)); in getBDLAddr12Len4Encoding()
243 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<8>(Len)); in getBDLAddr12Len8Encoding()
254 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Len)); in getBDRAddr12Encoding()
265 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<5>(Index)); in getBDVAddr12Encoding()
/external/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCCodeEmitter.cpp188 assert(isUInt<4>(Base) && isUInt<12>(Disp)); in getBDAddr12Encoding()
198 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding()
209 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Index)); in getBDXAddr12Encoding()
220 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index)); in getBDXAddr20Encoding()
232 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Len)); in getBDLAddr12Len4Encoding()
243 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<8>(Len)); in getBDLAddr12Len8Encoding()
254 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Len)); in getBDRAddr12Encoding()
265 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<5>(Index)); in getBDVAddr12Encoding()
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCCodeEmitter.cpp153 assert(isUInt<4>(Base) && isUInt<12>(Disp)); in getBDAddr12Encoding()
163 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding()
174 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Index)); in getBDXAddr12Encoding()
185 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index)); in getBDXAddr20Encoding()
197 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<8>(Len)); in getBDLAddr12Len8Encoding()
208 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<5>(Index)); in getBDVAddr12Encoding()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp54 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
105 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
113 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
116 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCost()
131 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
144 if (isUInt<32>(~Imm.getZExtValue())) in getIntImmCost()
206 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
208 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCost()
DSystemZOperands.td282 return isUInt<1>(N->getZExtValue());
286 return isUInt<2>(N->getZExtValue());
290 return isUInt<3>(N->getZExtValue());
294 return isUInt<4>(N->getZExtValue());
300 return isUInt<4>(N->getZExtValue());
304 return isUInt<6>(N->getZExtValue());
312 return isUInt<8>(N->getZExtValue());
318 return isUInt<12>(N->getZExtValue());
326 return isUInt<16>(N->getZExtValue());
405 return isUInt<8>(N->getSExtValue());
[all …]
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86AsmParserCommon.h18 (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value))); in isImmSExti16i8Value()
23 (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value))); in isImmSExti32i8Value()
35 return isUInt<8>(Value) || isInt<8>(Value); in isImmUnsignedi8Value()
39 return isUInt<4>(Value); in isImmUnsignedi4Value()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParserCommon.h18 (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value))); in isImmSExti16i8Value()
23 (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value))); in isImmSExti32i8Value()
35 return isUInt<8>(Value) || isInt<8>(Value); in isImmUnsignedi8Value()
39 return isUInt<4>(Value); in isImmUnsignedi4Value()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParserCommon.h19 (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value))); in isImmSExti16i8Value()
24 (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value))); in isImmSExti32i8Value()
36 return isUInt<8>(Value) || isInt<8>(Value); in isImmUnsignedi8Value()
/external/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp146 if (isUInt<8>(EltOffset0) && isUInt<8>(EltOffset1)) in offsetsCanBeCombined()
154 return isUInt<8>(EltOffset0 / 64) && isUInt<8>(EltOffset1 / 64); in offsetsCanBeCombined()
223 assert((isUInt<8>(NewOffset0) && isUInt<8>(NewOffset1)) && in mergeRead2Pair()
319 assert((isUInt<8>(NewOffset0) && isUInt<8>(NewOffset1)) && in mergeWrite2Pair()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.cpp65 if (isUInt<6>(AbsAmount)) in generateStackAdjustment()
139 if (isUInt<6>(VarArgsBytes)) in emitPrologue()
188 TII->get(isUInt<6>(MFI.getStackSize()) ? ARC::ADD_rru6 in emitPrologue()
256 if (isUInt<6>(StackSize)) in emitEpilogue()
284 if (isUInt<6>(MoveAmount)) in emitEpilogue()
299 if (isUInt<6>(4 * StackSlotsUsedByFunclet)) in emitEpilogue()
326 if (isUInt<6>(VarArgsBytes)) in emitEpilogue()
457 if (isUInt<6>(NumBytes)) in emitRegUpdate()
/external/llvm-project/llvm/lib/Target/ARC/
DARCFrameLowering.cpp65 if (isUInt<6>(AbsAmount)) in generateStackAdjustment()
138 if (isUInt<6>(VarArgsBytes)) in emitPrologue()
187 TII->get(isUInt<6>(MFI.getStackSize()) ? ARC::ADD_rru6 in emitPrologue()
255 if (isUInt<6>(StackSize)) in emitEpilogue()
283 if (isUInt<6>(MoveAmount)) in emitEpilogue()
298 if (isUInt<6>(4 * StackSlotsUsedByFunclet)) in emitEpilogue()
325 if (isUInt<6>(VarArgsBytes)) in emitEpilogue()
455 if (isUInt<6>(NumBytes)) in emitRegUpdate()
/external/llvm/lib/Target/Hexagon/
DHexagonOperands.td221 return isUInt<32>(v);
226 return isUInt<32>(v);
251 return isUInt<16>(v);
271 return isUInt<10>(v);
276 return isUInt<9>(v);
281 return isUInt<8>(v);
287 return isUInt<7>(Imm) && Imm > 0;
292 return isUInt<7>(v);
297 return isUInt<6>(v);
302 return isUInt<6>(v);
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp317 bool isU1Imm() const { return Kind == Immediate && isUInt<1>(getImm()); } in isU1Imm()
318 bool isU2Imm() const { return Kind == Immediate && isUInt<2>(getImm()); } in isU2Imm()
319 bool isU3Imm() const { return Kind == Immediate && isUInt<3>(getImm()); } in isU3Imm()
320 bool isU4Imm() const { return Kind == Immediate && isUInt<4>(getImm()); } in isU4Imm()
321 bool isU5Imm() const { return Kind == Immediate && isUInt<5>(getImm()); } in isU5Imm()
323 bool isU6Imm() const { return Kind == Immediate && isUInt<6>(getImm()); } in isU6Imm()
325 isUInt<6>(getImm()) && in isU6ImmX2()
327 bool isU7Imm() const { return Kind == Immediate && isUInt<7>(getImm()); } in isU7Imm()
329 isUInt<7>(getImm()) && in isU7ImmX4()
331 bool isU8Imm() const { return Kind == Immediate && isUInt<8>(getImm()); } in isU8Imm()
[all …]
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZOperands.td339 return isUInt<1>(N->getZExtValue());
343 return isUInt<2>(N->getZExtValue());
347 return isUInt<3>(N->getZExtValue());
351 return isUInt<4>(N->getZExtValue());
357 return isUInt<4>(N->getZExtValue());
361 return isUInt<6>(N->getZExtValue());
369 return isUInt<8>(N->getZExtValue());
375 return isUInt<12>(N->getZExtValue());
387 return isUInt<16>(N->getZExtValue());
480 return isUInt<8>(N->getSExtValue());
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZOperands.td339 return isUInt<1>(N->getZExtValue());
343 return isUInt<2>(N->getZExtValue());
347 return isUInt<3>(N->getZExtValue());
351 return isUInt<4>(N->getZExtValue());
357 return isUInt<4>(N->getZExtValue());
361 return isUInt<6>(N->getZExtValue());
369 return isUInt<8>(N->getZExtValue());
375 return isUInt<12>(N->getZExtValue());
387 return isUInt<16>(N->getZExtValue());
480 return isUInt<8>(N->getSExtValue());
[all …]
DSystemZTargetTransformInfo.cpp53 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
104 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
112 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
115 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCostInst()
130 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
143 if (isUInt<32>(~Imm.getZExtValue())) in getIntImmCostInst()
205 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostIntrin()
207 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCostIntrin()
979 if (isUInt<16>(CI->getZExtValue())) in isFoldableLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp310 bool isU1Imm() const { return Kind == Immediate && isUInt<1>(getImm()); } in isU1Imm()
311 bool isU2Imm() const { return Kind == Immediate && isUInt<2>(getImm()); } in isU2Imm()
312 bool isU3Imm() const { return Kind == Immediate && isUInt<3>(getImm()); } in isU3Imm()
313 bool isU4Imm() const { return Kind == Immediate && isUInt<4>(getImm()); } in isU4Imm()
314 bool isU5Imm() const { return Kind == Immediate && isUInt<5>(getImm()); } in isU5Imm()
316 bool isU6Imm() const { return Kind == Immediate && isUInt<6>(getImm()); } in isU6Imm()
318 isUInt<6>(getImm()) && in isU6ImmX2()
320 bool isU7Imm() const { return Kind == Immediate && isUInt<7>(getImm()); } in isU7Imm()
322 isUInt<7>(getImm()) && in isU7ImmX4()
324 bool isU8Imm() const { return Kind == Immediate && isUInt<8>(getImm()); } in isU8Imm()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/Disassembler/
DRISCVDisassembler.cpp172 assert(isUInt<N>(Imm) && "Invalid immediate"); in decodeUImmOperand()
190 assert(isUInt<N>(Imm) && "Invalid immediate"); in decodeSImmOperand()
210 assert(isUInt<N>(Imm) && "Invalid immediate"); in decodeSImmOperandAndLsl1()
221 assert(isUInt<6>(Imm) && "Invalid immediate"); in decodeCLUIImmOperand()
232 assert(isUInt<3>(Imm) && "Invalid immediate"); in decodeFRMArg()
/external/llvm-project/llvm/lib/Target/RISCV/Disassembler/
DRISCVDisassembler.cpp212 assert(isUInt<N>(Imm) && "Invalid immediate"); in decodeUImmOperand()
230 assert(isUInt<N>(Imm) && "Invalid immediate"); in decodeSImmOperand()
250 assert(isUInt<N>(Imm) && "Invalid immediate"); in decodeSImmOperandAndLsl1()
261 assert(isUInt<6>(Imm) && "Invalid immediate"); in decodeCLUIImmOperand()
272 assert(isUInt<3>(Imm) && "Invalid immediate"); in decodeFRMArg()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp453 bool isU1Imm() const { return Kind == Immediate && isUInt<1>(getImm()); } in isU1Imm()
454 bool isU2Imm() const { return Kind == Immediate && isUInt<2>(getImm()); } in isU2Imm()
455 bool isU3Imm() const { return Kind == Immediate && isUInt<3>(getImm()); } in isU3Imm()
456 bool isU4Imm() const { return Kind == Immediate && isUInt<4>(getImm()); } in isU4Imm()
457 bool isU5Imm() const { return Kind == Immediate && isUInt<5>(getImm()); } in isU5Imm()
459 bool isU6Imm() const { return Kind == Immediate && isUInt<6>(getImm()); } in isU6Imm()
461 isUInt<6>(getImm()) && in isU6ImmX2()
463 bool isU7Imm() const { return Kind == Immediate && isUInt<7>(getImm()); } in isU7Imm()
465 isUInt<7>(getImm()) && in isU7ImmX4()
467 bool isU8Imm() const { return Kind == Immediate && isUInt<8>(getImm()); } in isU8Imm()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64CompressJumpTables.cpp128 if (isUInt<8>(Span / 4)) { in compressJumpTable()
134 if (isUInt<16>(Span / 4)) { in compressJumpTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CompressJumpTables.cpp128 if (isUInt<8>(Span / 4)) { in compressJumpTable()
133 } else if (isUInt<16>(Span / 4)) { in compressJumpTable()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h298 isUInt(uint64_t X) {
304 isUInt(uint64_t X) {
309 template <> constexpr inline bool isUInt<8>(uint64_t x) {
312 template <> constexpr inline bool isUInt<16>(uint64_t x) {
315 template <> constexpr inline bool isUInt<32>(uint64_t x) {
328 return isUInt<N + S>(x) && (x % (UINT64_C(1) << S) == 0);
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp783 return 0 <= Id && isUInt<ID_WIDTH_>(Id); in isValidHwreg()
787 return 0 <= Offset && isUInt<OFFSET_WIDTH_>(Offset); in isValidHwregOffset()
791 return 0 <= (Width - 1) && isUInt<WIDTH_M1_WIDTH_>(Width - 1); in isValidHwregWidth()
935 return 0 <= MsgId && isUInt<ID_WIDTH_>(MsgId); in isValidMsgId()
958 return 0 <= OpId && isUInt<OP_WIDTH_>(OpId); in isValidMsgOp()
981 return 0 <= StreamId && isUInt<STREAM_ID_WIDTH_>(StreamId); in isValidMsgStream()
1396 if (isInt<16>(Literal) || isUInt<16>(Literal)) { in isInlinableLiteralV216()
1410 if (isInt<16>(Literal) || isUInt<16>(Literal)) in isInlinableIntLiteralV216()
1423 if (isInt<16>(Literal) || isUInt<16>(Literal)) in isFoldableLiteralV216()
1469 return hasSMEMByteOffset(ST) ? isUInt<20>(EncodedOffset) in isLegalSMRDEncodedUnsignedOffset()
[all …]
/external/openscreen/util/json/
Djson_helpers.h56 if (!value.isUInt()) { in ParseUint()
113 if (!value.isUInt()) { in ParseAndValidateUint()

12345678910>>...13