Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp51 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()
DSystemZInstrInfo.cpp759 isInt<8>(MI->getOperand(2).getImm()) && in foldMemoryOperandImpl()
780 isInt<8>(MI->getOperand(2).getImm())) { in foldMemoryOperandImpl()
1137 if (isInt<20>(Offset) && isInt<20>(Offset2)) { in getOpcodeForOffset()
1221 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CIJ : 0; in getCompareAndBranch()
1223 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CGIJ : 0; in getCompareAndBranch()
1242 if (isInt<16>(Value)) in loadImmediate()
1250 assert(isInt<32>(Value) && "Huge values not handled yet"); in loadImmediate()
DSystemZOperands.td252 return isInt<8>(N->getSExtValue());
262 return isInt<16>(N->getSExtValue());
341 return isInt<8>(N->getSExtValue());
349 return isInt<16>(N->getSExtValue());
357 return isInt<32>(N->getSExtValue());
DSystemZISelDAGToDAG.cpp355 return isInt<20>(Val); in selectDisp()
358 return isInt<20>(Val) && isInt<20>(Val + 8); in selectDisp()
501 if (!isInt<16>(Disp)) in shouldUseLA()
1095 if (!SystemZ::isImmLF(Val) && !SystemZ::isImmHF(Val) && !isInt<32>(Val)) in Select()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp52 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/Target/Hexagon/
DHexagonOperands.td70 return isInt<32>(v);
75 return isInt<32>(v);
115 return isInt<16>(v);
120 return isInt<13>(v);
125 return isInt<12>(v);
130 return isInt<11>(v);
150 return isInt<10>(v);
155 return isInt<9>(v);
160 return isInt<9>(v) && (v != -256);
165 return isInt<8>(v);
[all …]
DHexagonCopyToCombine.cpp142 bool NotExt = Op1.isImm() && isInt<8>(Op1.getImm()); in isCombinableInstType()
171 !isInt<8>(I->getOperand(1).getImm()); in isGreaterThan8BitTFRI()
578 if (!isInt<8>(HiOperand.getImm())) { in emitCombineII()
579 assert(isInt<8>(LoOperand.getImm())); in emitCombineII()
587 assert(isInt<8>(HiOperand.getImm())); in emitCombineII()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp53 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } in isZero()
63 bool isOne() const { return isInt() && IntVal == 1; } in isOne()
64 bool isTwo() const { return isInt() && IntVal == 2; } in isTwo()
65 bool isMinusOne() const { return isInt() && IntVal == -1; } in isMinusOne()
66 bool isMinusTwo() const { return isInt() && IntVal == -2; } in isMinusTwo()
85 bool isInt() const { return !IsFp; } in isInt() function in __anone66ade280111::FAddendCoef
212 if (isInt()) { in set()
223 if (!isInt()) in convertToFpType()
247 if (That.isInt()) in operator =()
255 if (isInt() == That.isInt()) { in operator +=()
[all …]
/external/llvm/lib/Target/SystemZ/InstPrinter/
DSystemZInstPrinter.cpp73 assert(isInt<8>(Value) && "Invalid s8imm argument"); in printS8ImmOperand()
87 assert(isInt<16>(Value) && "Invalid s16imm argument"); in printS16ImmOperand()
101 assert(isInt<32>(Value) && "Invalid s32imm argument"); in printS32ImmOperand()
/external/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp218 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()
DMipsSERegisterInfo.cpp163 if (OffsetBitSize < 16 && isInt<16>(Offset) && in eliminateFI()
183 } else if (!isInt<16>(Offset)) { in eliminateFI()
DMips16InstrInfo.h94 return ((offset & 7) == 0) && isInt<11>(offset); in validSpImm8()
DMipsAnalyzeImmediate.cpp97 if (!isInt<16>(ShiftedImm)) in ReplaceADDiuSLLWithLUi()
/external/llvm/include/llvm/Support/
DMathExtras.h259 inline bool isInt(int64_t x) {
264 inline bool isInt<8>(int64_t x) {
268 inline bool isInt<16>(int64_t x) {
272 inline bool isInt<32>(int64_t x) {
280 return isInt<N+S>(x) && (x % (1<<S) == 0);
/external/deqp/framework/opengl/
DgluTextureUtil.cpp51 bool isInt = false; in getTransferFormat() local
62 isInt = true; in getTransferFormat()
66 isInt = false; in getTransferFormat()
75 case TextureFormat::R: format = isInt ? GL_RED_INTEGER : GL_RED; break; in getTransferFormat()
76 case TextureFormat::RG: format = isInt ? GL_RG_INTEGER : GL_RG; break; in getTransferFormat()
77 case TextureFormat::RGB: format = isInt ? GL_RGB_INTEGER : GL_RGB; break; in getTransferFormat()
78 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break; in getTransferFormat()
88 DE_ASSERT(!isInt); in getTransferFormat()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelDAGToDAG.cpp340 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/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp87 if (isInt<13>(CN->getSExtValue())) { in SelectADDRri()
125 if (isInt<13>(CN->getSExtValue())) in SelectADDRrr()
/external/clang/include/clang/AST/
DAPValue.h182 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/BPF/
DBPFRegisterInfo.cpp79 if (!isInt<32>(Offset)) in eliminateFrameIndex()
DBPFISelDAGToDAG.cpp72 if (isInt<32>(CN->getSExtValue())) { in SelectAddr()
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCCodeEmitter.cpp158 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding()
180 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index)); in getBDXAddr20Encoding()
/external/clang/test/PCH/
Dcxx-templates.h88 bool isInt(int x);
90 template<> bool isInt<8>(int x) {
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOAArch64.h170 assert(isInt<28>(Addend) && "Branch target is out of range."); in encodeAddend()
184 assert(isInt<33>(Addend) && "Invalid page reloc value."); in encodeAddend()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp629 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()
/external/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp136 if (isInt<10>(BranchSize)) { in runOnMachineFunction()

12345