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

123

/freebsd-10.0-release/contrib/llvm/lib/Target/SystemZ/InstPrinter/
H A DSystemZInstPrinter.cpp71 assert(isInt<8>(Value) && "Invalid s8imm argument");
85 assert(isInt<16>(Value) && "Invalid s16imm argument");
99 assert(isInt<32>(Value) && "Invalid s32imm argument");
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/
H A DMips16RegisterInfo.cpp137 if (!MI.isDebugValue() && ( ((FrameReg != Mips::SP) && !isInt<16>(Offset)) ||
138 ((FrameReg == Mips::SP) && !isInt<15>(Offset)) )) {
H A DMips16InstrInfo.h92 return ((offset & 7) == 0) && isInt<11>(offset);
H A DMipsSERegisterInfo.cpp117 if (!MI.isDebugValue() && !isInt<16>(Offset)) {
H A DMipsAnalyzeImmediate.cpp96 if (!isInt<16>(ShiftedImm))
H A DMips16InstrInfo.cpp185 if (isInt<16>(-Remainder))
226 if (isInt<16>(Remainder))
299 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16>
H A DMips16FrameLowering.cpp166 return isInt<15>(MFI->getMaxCallFrameSize()) && !MFI->hasVarSizedObjects();
H A DMips16ISelDAGToDAG.cpp185 if (isInt<16>(CN->getSExtValue())) {
H A DMipsSEFrameLowering.cpp451 return isInt<16>(MFI->getMaxCallFrameSize() + getStackAlignment()) &&
506 if (isInt<16>(MaxSPOffset))
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DMathExtras.h39 /// isInt - Checks if an integer fits into the given bit width.
41 inline bool isInt(int64_t x) { function in namespace:llvm
46 inline bool isInt<8>(int64_t x) { function in namespace:llvm
50 inline bool isInt<16>(int64_t x) { function in namespace:llvm
54 inline bool isInt<32>(int64_t x) { function in namespace:llvm
62 return isInt<N+S>(x) && (x % (1<<S) == 0);
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp50 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); }
60 bool isOne() const { return isInt() && IntVal == 1; }
61 bool isTwo() const { return isInt() && IntVal == 2; }
62 bool isMinusOne() const { return isInt() && IntVal == -1; }
63 bool isMinusTwo() const { return isInt() && IntVal == -2; }
82 bool isInt() const { return !IsFp; } function in class:__anon2592::FAddendCoef
209 if (isInt()) {
220 if (!isInt())
244 if (That.isInt())
252 if (isInt()
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp251 return isInt<20>(Val);
254 return isInt<20>(Val) && isInt<20>(Val + 8);
387 if (!isInt<16>(Disp))
567 if (!SystemZ::isImmLF(Val) && !SystemZ::isImmHF(Val) && !isInt<32>(Val))
578 if (VT == MVT::i32 || isInt<32>(Value)) {
H A DSystemZInstrInfo.cpp414 if (isInt<20>(Offset) && isInt<20>(Offset2)) {
432 if (isInt<16>(Value))
440 assert(isInt<32>(Value) && "Huge values not handled yet");
/freebsd-10.0-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp134 if (isInt<10>(BranchSize)) {
/freebsd-10.0-release/contrib/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp86 if (isInt<13>(CN->getSExtValue())) {
123 if (isInt<13>(CN->getSExtValue()))
/freebsd-10.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp451 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) &&
453 assert(isInt<16>(NegFrameSize) && "Unhandled stack size and alignment!");
467 } else if (isInt<16>(NegFrameSize)) {
485 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) &&
487 assert(isInt<16>(NegFrameSize) && "Unhandled stack size and alignment!");
500 } else if (isInt<16>(NegFrameSize)) {
698 if (FI->hasFastCall() && isInt<16>(FrameSize)) {
712 } else if (isInt<16>(FrameSize) &&
722 if (FI->hasFastCall() && isInt<16>(FrameSize)) {
736 } else if (isInt<1
[all...]
H A DPPCBranchSelector.cpp149 if (isInt<16>(BranchSize)) {
H A DPPCRegisterInfo.cpp242 if (MaxAlign < TargetAlign && isInt<16>(FrameSize)) {
574 isInt<16>(Offset) && (!isIXAddr || (Offset & 3) == 0))) {
754 (isInt<16>(Offset) && (!usesIXAddr(*MI) || (Offset & 3) == 0));
H A DPPCISelDAGToDAG.cpp482 if (isInt<16>((int)Imm))
523 if (isInt<16>(Imm))
916 if (!isInt<32>(Imm)) {
921 if (isInt<32>(ImmSh)) {
940 if (isInt<16>(Imm)) {
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h176 bool isInt() const { return Kind == Int; } function in class:clang::APValue
195 assert(isInt() && "Invalid accessor");
342 assert(isInt() && "Invalid accessor");
/freebsd-10.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp575 if (!isInt<8>(InitV) || !isInt<8>(EndV))
578 if (!isInt<16>(InitV) || !isInt<16>(EndV))
1386 if (CmpImmOp->isImm() && !isInt<8>(CmpImm))
/freebsd-10.0-release/contrib/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp256 bool isS5Imm() const { return Kind == Immediate && isInt<5>(getImm()); }
261 (Kind == Immediate && isInt<16>(getImm())); }
263 (Kind == Immediate && isInt<16>(getImm()) &&
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h115 bool isInt() const { return EntryKind == E_Integer; } function in struct:llvm::DotDebugLocEntry
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp1260 if (SVal.isInt()) {
1278 if (Elt.isInt()) {
1861 if (!NewVal.isInt()) {
3822 if (Value.isInt()) {
4818 if (!Val.isInt()) {
5379 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) {
5392 RHSVal.isLValue() && LHSVal.isInt()) {
5421 if (!LHSVal.isInt() || !RHSVal.isInt())
6067 if (!Result.isInt()) retur
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/R600/
H A DAMDILISelDAGToDAG.cpp611 && isInt<16>(IMMOffset->getZExtValue())) {
618 && isInt<16>(IMMOffset->getZExtValue())) {

Completed in 362 milliseconds

123