Home
last modified time | relevance | path

Searched refs:isInt (Results 1 – 25 of 213) sorted by relevance

123456789

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParserCommon.h17 return isInt<8>(Value) || in isImmSExti16i8Value()
18 (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value))); in isImmSExti16i8Value()
22 return isInt<8>(Value) || in isImmSExti32i8Value()
23 (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value))); in isImmSExti32i8Value()
27 return isInt<8>(Value); in isImmSExti64i8Value()
31 return isInt<32>(Value); in isImmSExti64i32Value()
35 return isUInt<8>(Value) || isInt<8>(Value); in isImmUnsignedi8Value()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceRegistersARM32.h31 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ argument
45 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ argument
56 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ argument
67 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ argument
78 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ argument
118 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ in getNumGPRegs() argument
133 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ in getNumGPRs() argument
168 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ in getNumSRegs() argument
188 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) \ in getNumDRegs() argument
DIceInstARM32.def19 // NOTE: PC and SP are not considered isInt, to avoid register allocating.
23 // TODO(jpp): Allow r9 to be isInt when sandboxing is turned off (native mode).
25 // IP is not considered isInt to reserve it as a scratch register. A scratch
28 // LR is not considered isInt to avoid being allocated as a register. It is
38 // isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
46 isGPR, isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init */ \
53 // isGPR, isInt, isFP32, isFP64, isVec128, alias_init)
DIceInstMIPS32.def17 // NOTE: PC and SP are not considered isInt, to avoid register allocating.
41 isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init */ \
113 isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init */ \
180 // isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
188 isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init */ \
216 // isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
220 isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init */ \
259 /* val, encode, name, scratch, preserved, stackptr, frameptr, isInt, \
267 // isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
DIceRegistersMIPS32.h30 #define X(val, encode, name, scratch, preserved, stackptr, frameptr, isInt, \ argument
44 #define X(val, encode, name, scratch, preserved, stackptr, frameptr, isInt, \ argument
56 #define X(val, encode, name, scratch, preserved, stackptr, frameptr, isInt, \ argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsAsmBackend.cpp81 if (!isInt<16>(Value)) { in adjustFixupValue()
91 if (!isInt<19>(Value)) { in adjustFixupValue()
130 if (!isInt<7>(Value)) { in adjustFixupValue()
140 if (!isInt<10>(Value)) { in adjustFixupValue()
150 if (!isInt<16>(Value)) { in adjustFixupValue()
159 if (!isInt<18>(Value)) { in adjustFixupValue()
172 if (!isInt<18>(Value)) { in adjustFixupValue()
181 if (!isInt<21>(Value)) { in adjustFixupValue()
190 if (!isInt<26>(Value)) { in adjustFixupValue()
199 if (!isInt<26>(Value)) { in adjustFixupValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp305 return isInt<18>(BrOffset); in isBranchOffsetInRange()
321 return isInt<17>(BrOffset); in isBranchOffsetInRange()
325 return isInt<11>(BrOffset); in isBranchOffsetInRange()
329 return isInt<8>(BrOffset); in isBranchOffsetInRange()
334 return isInt<28>(BrOffset); in isBranchOffsetInRange()
358 return isInt<18>(BrOffset); in isBranchOffsetInRange()
362 return isInt<23>(BrOffset); in isBranchOffsetInRange()
366 return isInt<11>(BrOffset); in isBranchOffsetInRange()
370 return isInt<8>(BrOffset); in isBranchOffsetInRange()
374 return isInt<27>(BrOffset); in isBranchOffsetInRange()
[all …]
DMips16InstrInfo.cpp232 if (isInt<16>(-Remainder)) in makeFrame()
258 if (isInt<16>(Remainder)) in restoreFrame()
312 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr()
485 return isInt<16>(Amount); in validImmediate()
488 return isInt<16>(Amount); in validImmediate()
489 return isInt<15>(Amount); in validImmediate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetTransformInfo.h56 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost()
58 if (isInt<21>(Imm.getZExtValue())) in getIntImmCost()
60 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost()
DLanaiISelDAGToDAG.cpp96 return isInt<21>(CN.getSExtValue()) && ((CN.getSExtValue() & 0x3) == 0); in canBeRepresentedAsSls()
129 if (isInt<16>(CN->getSExtValue())) { in selectAddrRiSpls()
142 if (isInt<10>(CN->getSExtValue())) { in selectAddrRiSpls()
173 if ((RiMode && isInt<16>(CN->getSExtValue())) || in selectAddrRiSpls()
174 (!RiMode && isInt<10>(CN->getSExtValue()))) { in selectAddrRiSpls()
228 if (isInt<16>(CN->getSExtValue())) in selectAddrRr()
DLanaiRegisterInfo.cpp170 if ((isSPLSOpcode(MI.getOpcode()) && !isInt<10>(Offset)) || in eliminateFrameIndex()
171 !isInt<16>(Offset)) { in eliminateFrameIndex()
186 if (!isInt<16>(Offset)) { in eliminateFrameIndex()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dformat_map_desktop.cpp109 if (!internalFormatInfo.isInt()) in ValidDesktopFormatCombination()
114 if (internalFormatInfo.isInt()) in ValidDesktopFormatCombination()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dformat_map_desktop.cpp109 if (!internalFormatInfo.isInt()) in ValidDesktopFormatCombination()
114 if (internalFormatInfo.isInt()) in ValidDesktopFormatCombination()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp123 if (!isInt<32>(Offset)) { in eliminateFrameIndex()
131 if (!isInt<12>(Offset)) { in eliminateFrameIndex()
132 assert(isInt<32>(Offset) && "Int32 expected"); in eliminateFrameIndex()
DRISCVFrameLowering.cpp80 if (isInt<12>(Val)) { in adjustReg()
217 if (isInt<12>(-(int)MaxAlignment)) { in emitPrologue()
409 if (!isInt<11>(MFI.estimateStackSize(MF))) { in processFunctionBeforeFrameFinalized()
476 if (!isInt<12>(StackSize) && (CSI.size() > 0)) { in getFirstSPAdjustAmount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonOperands.td13 def s8_0Imm64Pred : PatLeaf<(i64 imm), [{ return isInt<8>(N->getSExtValue()); }]>;
20 return isInt<32>(v);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsScanHelpers.cpp158 const bool isInt = subgroups::isFormatSigned(format); in getIdentity() local
175 else if (isInt) in getIdentity()
224 else if (isInt) in getIdentity()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.cpp67 else if (isInt<12>(AbsAmount)) in generateStackAdjustment()
141 else if (isInt<12>(VarArgsBytes)) in emitPrologue()
286 else if (isInt<12>(MoveAmount)) in emitEpilogue()
301 else if (isInt<12>(4 * StackSlotsUsedByFunclet)) in emitEpilogue()
328 else if (isInt<12>(VarArgsBytes)) in emitEpilogue()
459 else if (isInt<12>(NumBytes)) in emitRegUpdate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp73 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } in isZero()
76 bool isOne() const { return isInt() && IntVal == 1; } in isOne()
77 bool isTwo() const { return isInt() && IntVal == 2; } in isTwo()
78 bool isMinusOne() const { return isInt() && IntVal == -1; } in isMinusOne()
79 bool isMinusTwo() const { return isInt() && IntVal == -2; } in isMinusTwo()
100 bool isInt() const { return !IsFp; } in isInt() function in __anonc91bc6320111::FAddendCoef
231 if (isInt()) { in set()
242 if (!isInt()) in convertToFpType()
266 if (That.isInt()) in operator =()
274 if (isInt() == That.isInt()) { in operator +=()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h61 constexpr bool isInt() const { return isSint() || isUint(); } in isInt() function
63 constexpr bool isPureInt() const { return isInt() && !isScaled; } in isPureInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFAArch64.h307 assert(isInt<28>(PCRelVal) && "Branch target is out of range."); in resolveRelocation()
316 assert(isInt<21>(PCRelVal) && "Branch target is out of range."); in resolveRelocation()
325 assert(isInt<16>(PCRelVal) && "Branch target is out of range."); in resolveRelocation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h264 template <unsigned N> constexpr inline bool isInt(int64_t x) {
268 template <> constexpr inline bool isInt<8>(int64_t x) {
271 template <> constexpr inline bool isInt<16>(int64_t x) {
274 template <> constexpr inline bool isInt<32>(int64_t x) {
285 return isInt<N + S>(x) && (x % (UINT64_C(1) << S) == 0);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZOperands.td365 return isInt<8>(N->getSExtValue());
379 return isInt<16>(N->getSExtValue());
383 return isInt<16>(-N->getSExtValue());
400 return isInt<32>(-N->getSExtValue());
476 return isInt<8>(N->getSExtValue());
484 return isInt<16>(N->getSExtValue());
488 return isInt<16>(-N->getSExtValue());
496 return isInt<32>(N->getSExtValue());
500 return isInt<32>(-N->getSExtValue());
/third_party/vk-gl-cts/framework/opengl/
DgluTextureUtil.cpp52 bool isInt = false; in getTransferFormat() local
63 isInt = true; in getTransferFormat()
67 isInt = false; in getTransferFormat()
76 case TextureFormat::R: format = isInt ? GL_RED_INTEGER : GL_RED; break; in getTransferFormat()
77 case TextureFormat::RG: format = isInt ? GL_RG_INTEGER : GL_RG; break; in getTransferFormat()
78 case TextureFormat::RGB: format = isInt ? GL_RGB_INTEGER : GL_RGB; break; in getTransferFormat()
79 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break; in getTransferFormat()
89 DE_ASSERT(!isInt); in getTransferFormat()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h65 constexpr bool isInt() const { return isSint() || isUint(); } in isInt() function
67 constexpr bool isPureInt() const { return isInt() && !isScaled; } in isPureInt()

123456789