Searched refs:isInt (Results 1 - 25 of 91) sorted by relevance

1234

/external/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp51 if (isInt<32>(Imm.getSExtValue()))
95 if (isInt<16>(Imm.getSExtValue()))
102 if (isInt<32>(Imm.getSExtValue()))
123 if (isInt<32>(Imm.getSExtValue()))
216 if (isInt<32>(Imm.getSExtValue()))
221 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
226 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
H A DSystemZInstrInfo.cpp759 isInt<8>(MI->getOperand(2).getImm()) &&
780 isInt<8>(MI->getOperand(2).getImm())) {
1137 if (isInt<20>(Offset) && isInt<20>(Offset2)) {
1221 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CIJ : 0;
1223 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CGIJ : 0;
1242 if (isInt<16>(Value))
1250 assert(isInt<32>(Value) && "Huge values not handled yet");
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp52 if (isInt<16>(Imm.getSExtValue()))
55 if (isInt<32>(Imm.getSExtValue())) {
85 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue()))
89 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
94 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
159 if (isInt<16>(Imm.getSExtValue()))
H A DPPCBranchSelector.cpp179 if (isInt<16>(BranchSize)) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp53 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); }
63 bool isOne() const { return isInt() && IntVal == 1; }
64 bool isTwo() const { return isInt() && IntVal == 2; }
65 bool isMinusOne() const { return isInt() && IntVal == -1; }
66 bool isMinusTwo() const { return isInt() && IntVal == -2; }
85 bool isInt() const { return !IsFp; } function in class:__anon10981::FAddendCoef
212 if (isInt()) {
223 if (!isInt())
247 if (That.isInt())
255 if (isInt()
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp163 if (OffsetBitSize < 16 && isInt<16>(Offset) &&
183 } else if (!isInt<16>(Offset)) {
H A DMips16InstrInfo.cpp218 if (isInt<16>(-Remainder))
244 if (isInt<16>(Remainder))
299 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16>
470 return isInt<16>(Amount);
473 return isInt<16>(Amount);
474 return isInt<15>(Amount);
H A DMips16InstrInfo.h94 return ((offset & 7) == 0) && isInt<11>(offset);
H A DMips16FrameLowering.cpp151 return isInt<15>(MFI->getMaxCallFrameSize()) && !MFI->hasVarSizedObjects();
H A DMipsAnalyzeImmediate.cpp97 if (!isInt<16>(ShiftedImm))
/external/llvm/lib/Target/BPF/
H A DBPFRegisterInfo.cpp79 if (!isInt<32>(Offset))
H A DBPFISelDAGToDAG.cpp72 if (isInt<32>(CN->getSExtValue())) {
/external/llvm/lib/Target/SystemZ/InstPrinter/
H A DSystemZInstPrinter.cpp73 assert(isInt<8>(Value) && "Invalid s8imm argument");
87 assert(isInt<16>(Value) && "Invalid s16imm argument");
101 assert(isInt<32>(Value) && "Invalid s32imm argument");
/external/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp136 if (isInt<10>(BranchSize)) {
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp87 if (isInt<13>(CN->getSExtValue())) {
125 if (isInt<13>(CN->getSExtValue()))
/external/llvm/include/llvm/Support/
H A DMathExtras.h257 /// isInt - Checks if an integer fits into the given bit width.
259 inline bool isInt(int64_t x) { function in namespace:llvm
264 inline bool isInt<8>(int64_t x) { function in namespace:llvm
268 inline bool isInt<16>(int64_t x) { function in namespace:llvm
272 inline bool isInt<32>(int64_t x) { function in namespace:llvm
280 return isInt<N+S>(x) && (x % (1<<S) == 0);
/external/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp142 bool NotExt = Op1.isImm() && isInt<8>(Op1.getImm());
171 !isInt<8>(I->getOperand(1).getImm());
578 if (!isInt<8>(HiOperand.getImm())) {
579 assert(isInt<8>(LoOperand.getImm()));
587 assert(isInt<8>(HiOperand.getImm()));
/external/clang/include/clang/AST/
H A DAPValue.h182 bool isInt() const { return Kind == Int; } function in class:clang::APValue
201 assert(isInt() && "Invalid accessor");
348 assert(isInt() && "Invalid accessor");
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILISelDAGToDAG.cpp340 if (isInt<8>(OffsetNode->getZExtValue() >> 2)) {
362 && isInt<16>(IMMOffset->getZExtValue())) {
369 && isInt<16>(IMMOffset->getZExtValue())) {
/external/clang/test/PCH/
H A Dcxx-templates.h88 bool isInt(int x);
90 template<> bool isInt<8>(int x) { function
/external/deqp/framework/opengl/
H A DgluTextureUtil.cpp51 bool isInt = false; local
62 isInt = true;
66 isInt = false;
75 case TextureFormat::R: format = isInt ? GL_RED_INTEGER : GL_RED; break;
76 case TextureFormat::RG: format = isInt ? GL_RG_INTEGER : GL_RG; break;
77 case TextureFormat::RGB: format = isInt ? GL_RGB_INTEGER : GL_RGB; break;
78 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break;
88 DE_ASSERT(!isInt);
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCCodeEmitter.cpp158 assert(isUInt<4>(Base) && isInt<20>(Disp));
180 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index));
/external/deqp/modules/gles3/functional/
H A Des3fFragmentOutputTests.cpp629 bool isInt = glu::isDataTypeIntOrIVec(output.type); local
679 else if (isInt)
780 bool isInt = glu::isDataTypeIntOrIVec(output.type); local
784 isInt ? GL_INT :
843 const bool isInt = glu::isDataTypeIntOrIVec(output.type); local
860 if (isInt || isUint)
1074 bool isInt = glu::isDataTypeIntOrIVec(outType);
1080 else if (isInt)
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOAArch64.h170 assert(isInt<28>(Addend) && "Branch target is out of range.");
184 assert(isInt<33>(Addend) && "Invalid page reloc value.");
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h70 bool isInt() const { return EntryKind == E_Integer; } function in struct:llvm::DebugLocEntry::Value

Completed in 416 milliseconds

1234