/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParserCommon.h | 16 return isInt<8>(Value) || in isImmSExti16i8Value() 17 (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value))); in isImmSExti16i8Value() 21 return isInt<8>(Value) || in isImmSExti32i8Value() 22 (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value))); in isImmSExti32i8Value() 26 return isInt<8>(Value); in isImmSExti64i8Value() 30 return isInt<32>(Value); in isImmSExti64i32Value() 34 return isUInt<8>(Value) || isInt<8>(Value); in isImmUnsignedi8Value()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 51 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 95 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 102 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 123 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 216 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 221 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 226 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost()
|
D | SystemZInstrInfo.cpp | 764 isInt<8>(MI->getOperand(2).getImm()) && in foldMemoryOperandImpl() 787 isInt<8>(MI->getOperand(2).getImm())) { in foldMemoryOperandImpl() 1170 if (isInt<20>(Offset) && isInt<20>(Offset2)) { in getOpcodeForOffset() 1261 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CIJ : 0; in getCompareAndBranch() 1263 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CGIJ : 0; in getCompareAndBranch() 1282 if (isInt<16>(Value)) in loadImmediate() 1290 assert(isInt<32>(Value) && "Huge values not handled yet"); in loadImmediate()
|
D | SystemZOperands.td | 308 return isInt<8>(N->getSExtValue()); 322 return isInt<16>(N->getSExtValue()); 401 return isInt<8>(N->getSExtValue()); 409 return isInt<16>(N->getSExtValue()); 417 return isInt<32>(N->getSExtValue());
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsAsmBackend.cpp | 66 if (!isInt<16>(Value) && Ctx) { in adjustFixupValue() 75 if (!isInt<19>(Value) && Ctx) { in adjustFixupValue() 111 if (!isInt<7>(Value) && Ctx) { in adjustFixupValue() 121 if (!isInt<10>(Value) && Ctx) { in adjustFixupValue() 131 if (!isInt<16>(Value) && Ctx) { in adjustFixupValue() 140 if (!isInt<18>(Value) && Ctx) { in adjustFixupValue() 149 if (!isInt<21>(Value) && Ctx) { in adjustFixupValue() 158 if (!isInt<26>(Value) && Ctx) { in adjustFixupValue()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 52 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 55 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost() 85 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue())) in getIntImmCost() 89 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 94 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 159 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 54 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } in isZero() 64 bool isOne() const { return isInt() && IntVal == 1; } in isOne() 65 bool isTwo() const { return isInt() && IntVal == 2; } in isTwo() 66 bool isMinusOne() const { return isInt() && IntVal == -1; } in isMinusOne() 67 bool isMinusTwo() const { return isInt() && IntVal == -2; } in isMinusTwo() 86 bool isInt() const { return !IsFp; } in isInt() function in __anon7d5df7c90111::FAddendCoef 213 if (isInt()) { in set() 224 if (!isInt()) in convertToFpType() 248 if (That.isInt()) in operator =() 256 if (isInt() == That.isInt()) { in operator +=() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | Mips16InstrInfo.cpp | 218 if (isInt<16>(-Remainder)) in makeFrame() 244 if (isInt<16>(Remainder)) in restoreFrame() 299 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr() 470 return isInt<16>(Amount); in validImmediate() 473 return isInt<16>(Amount); in validImmediate() 474 return isInt<15>(Amount); in validImmediate()
|
D | MipsSERegisterInfo.cpp | 175 if (OffsetBitSize < 16 && isInt<16>(Offset) && in eliminateFI() 196 } else if (!isInt<16>(Offset)) { in eliminateFI()
|
D | Mips16InstrInfo.h | 94 return ((offset & 7) == 0) && isInt<11>(offset); in validSpImm8()
|
D | MipsAnalyzeImmediate.cpp | 97 if (!isInt<16>(ShiftedImm)) in ReplaceADDiuSLLWithLUi()
|
/external/llvm/lib/Target/X86/ |
D | X86OptimizeLEAs.cpp | 140 if (!isInt<32>(AddrDispShiftTemp)) in chooseBestLEA() 162 if (LEA != nullptr && !isInt<8>(AddrDispShiftTemp) && in chooseBestLEA() 163 isInt<8>(AddrDispShift)) in chooseBestLEA()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 263 inline bool isInt(int64_t x) { 268 inline bool isInt<8>(int64_t x) { 272 inline bool isInt<16>(int64_t x) { 276 inline bool isInt<32>(int64_t x) { 284 return isInt<N+S>(x) && (x % (1<<S) == 0);
|
/external/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 74 if (isInt<32>(CN->getSExtValue())) { in SelectAddr() 102 if (isInt<32>(CN->getSExtValue())) { in SelectFIAddr()
|
D | BPFRegisterInfo.cpp | 78 if (!isInt<32>(Offset)) in eliminateFrameIndex()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonOperands.td | 124 return isInt<32>(v); 129 return isInt<32>(v); 149 return isInt<16>(v); 154 return isInt<11>(v); 174 return isInt<10>(v); 179 return isInt<8>(v); 184 return isInt<8>(v); 189 return isInt<6>(v); 194 return isInt<4>(v);
|
D | HexagonCopyToCombine.cpp | 145 bool NotExt = Op1.isImm() && isInt<8>(Op1.getImm()); in isCombinableInstType() 162 return !Op.isImm() || !isInt<N>(Op.getImm()); in isGreaterThanNBitTFRI() 614 if (isInt<8>(LoOperand.getImm())) { in emitCombineII() 622 if (isInt<8>(HiOperand.getImm())) { in emitCombineII()
|
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 52 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()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILISelDAGToDAG.cpp | 340 if (isInt<8>(OffsetNode->getZExtValue() >> 2)) { in SelectADDR8BitOffset() 362 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ() 369 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
|
/external/clang/include/clang/AST/ |
D | APValue.h | 182 bool isInt() const { return Kind == Int; } in isInt() function 201 assert(isInt() && "Invalid accessor"); in getInt() 348 assert(isInt() && "Invalid accessor"); in setInt()
|
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
D | SystemZMCCodeEmitter.cpp | 163 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding() 185 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index)); in getBDXAddr20Encoding()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOAArch64.h | 170 assert(isInt<28>(Addend) && "Branch target is out of range."); in encodeAddend() 184 assert(isInt<33>(Addend) && "Invalid page reloc value."); in encodeAddend()
|
/external/clang/test/PCH/ |
D | cxx-templates.h | 88 bool isInt(int x); 90 template<> bool isInt<8>(int x) {
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430BranchSelector.cpp | 136 if (isInt<10>(BranchSize)) { in runOnMachineFunction()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 629 bool isInt = glu::isDataTypeIntOrIVec(output.type); in iterate() local 679 else if (isInt) in iterate() 780 bool isInt = glu::isDataTypeIntOrIVec(output.type); in iterate() local 784 isInt ? GL_INT : in iterate() 843 const bool isInt = glu::isDataTypeIntOrIVec(output.type); in iterate() local 860 if (isInt || isUint) in iterate() 1074 bool isInt = glu::isDataTypeIntOrIVec(outType); in createRandomCase() local 1080 else if (isInt) in createRandomCase()
|