Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Support/
DMathExtras.h37 inline bool isInt(int64_t x) { in isInt() function
42 inline bool isInt<8>(int64_t x) {
46 inline bool isInt<16>(int64_t x) {
50 inline bool isInt<32>(int64_t x) {
58 return isInt<N+S>(x) && (x % (1<<S) == 0); in isShiftedInt()
/external/llvm/lib/Target/Hexagon/
DHexagonImmediates.td227 return isInt<32>(v);
248 return isInt<16>(v);
256 return isInt<13>(v);
264 return isInt<12>(v);
271 return isInt<11>(v);
303 return isInt<10>(v);
311 return isInt<9>(v);
319 return isInt<8>(v);
327 return isInt<8>(v);
335 return isInt<6>(v);
[all …]
DHexagonISelDAGToDAG.cpp117 return isInt<11>(v); in IsS11_0_Offset()
287 if (MemType == MVT::i8 && isInt<11>(Offset)) { in OffsetFitsS11()
1016 if (isInt<9>(CN->getSExtValue())) { in SelectSHL()
1044 if (isInt<9>(CN->getSExtValue())) { in SelectSHL()
1452 if (isInt<13>(CN->getSExtValue())) in SelectADDRrr()
/external/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp42 if (isInt<16>(-StackSize)) in emitPrologue()
59 if (isInt<16>(StackSize)) in emitEpilogue()
DMipsSERegisterInfo.cpp120 if (!MI.isDebugValue() && !isInt<16>(Offset)) { in eliminateFI()
DMipsAnalyzeImmediate.cpp96 if (!isInt<16>(ShiftedImm)) in ReplaceADDiuSLLWithLUi()
DMipsSEFrameLowering.cpp193 return isInt<16>(MFI->getMaxCallFrameSize()) && !MFI->hasVarSizedObjects(); in hasReservedCallFrame()
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp359 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) && in emitPrologue()
361 assert(isInt<16>(NegFrameSize) && "Unhandled stack size and alignment!"); in emitPrologue()
375 } else if (isInt<16>(NegFrameSize)) { in emitPrologue()
393 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) && in emitPrologue()
395 assert(isInt<16>(NegFrameSize) && "Unhandled stack size and alignment!"); in emitPrologue()
408 } else if (isInt<16>(NegFrameSize)) { in emitPrologue()
587 if (FI->hasFastCall() && isInt<16>(FrameSize)) { in emitEpilogue()
601 } else if (isInt<16>(FrameSize) && in emitEpilogue()
611 if (FI->hasFastCall() && isInt<16>(FrameSize)) { in emitEpilogue()
625 } else if (isInt<16>(FrameSize) && TargetAlign >= MaxAlign && in emitEpilogue()
[all …]
DPPCBranchSelector.cpp134 if (isInt<16>(BranchSize)) { in runOnMachineFunction()
DPPCRegisterInfo.cpp238 if (isInt<16>(CalleeAmt)) { in eliminateCallFramePseudoInstr()
322 if (MaxAlign < TargetAlign && isInt<16>(FrameSize)) { in lowerDynamicAlloc()
579 (isInt<16>(Offset) && (!isIXAddr || (Offset & 3) == 0))) { in eliminateFrameIndex()
DPPCISelDAGToDAG.cpp476 if (isInt<16>((int)Imm)) in SelectCC()
517 if (isInt<16>(Imm)) in SelectCC()
769 if (!isInt<32>(Imm)) { in Select()
774 if (isInt<32>(ImmSh)) { in Select()
793 if (isInt<16>(Imm)) { in Select()
/external/llvm/lib/Target/CellSPU/
DSPUFrameLowering.cpp127 if (isInt<10>(FrameSize)) { in emitPrologue()
134 } else if (isInt<16>(FrameSize)) { in emitPrologue()
205 if (isInt<10>(FrameSize + LinkSlotOffset)) { in emitEpilogue()
DSPURegisterInfo.cpp297 if ((MI.getOpcode() == SPU::AIr32 && !isInt<10>(Offset)) in eliminateFrameIndex()
298 || !isInt<14>(Offset)) { in eliminateFrameIndex()
DSPUISelDAGToDAG.cpp44 return isInt<10>(CN->getSExtValue()); in isI32IntS10Immediate()
58 return isInt<10>(CN->getSExtValue()); in isI16IntS10Immediate()
865 if (isInt<10>(CN->getSExtValue())) { in Select()
/external/clang/test/PCH/
Dcxx-templates.h88 bool isInt(int x);
90 template<> bool isInt<8>(int x) {
/external/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp86 if (isInt<13>(CN->getSExtValue())) { in SelectADDRri()
122 if (isInt<13>(CN->getSExtValue())) in SelectADDRrr()
/external/clang/include/clang/AST/
DAPValue.h176 bool isInt() const { return Kind == Int; } in isInt() function
195 assert(isInt() && "Invalid accessor"); in getInt()
342 assert(isInt() && "Invalid accessor"); in setInt()
/external/webkit/Source/WebCore/css/
DCSSParserValues.h46 bool isInt; member
DCSSParserValues.cpp71 else if (unit == CSSPrimitiveValue::CSS_NUMBER && isInt) in createCSSValue()
DCSSGrammar.y641 …PERCENTAGE { $$.id = 0; $$.isInt = false; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_NUMBER;…
643 $$.id = 0; $$.isInt = false; $$.unit = CSSPrimitiveValue::CSS_NUMBER;
1434 …INTEGER maybe_space { $$.id = 0; $$.isInt = true; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS…
1435 …| FLOATTOKEN maybe_space { $$.id = 0; $$.isInt = false; $$.fValue = $1; $$.unit = CSSPrimitiveValu…
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp424 if (isInt<8>(Imm)) in getSUBriOpcode()
428 if (isInt<8>(Imm)) in getSUBriOpcode()
436 if (isInt<8>(Imm)) in getADDriOpcode()
440 if (isInt<8>(Imm)) in getADDriOpcode()
569 assert((!Is64Bit || isInt<32>((long long)FIOffset + Imm)) && in eliminateFrameIndex()
DX86FrameLowering.cpp60 if (isInt<8>(Imm)) in getSUBriOpcode()
64 if (isInt<8>(Imm)) in getSUBriOpcode()
72 if (isInt<8>(Imm)) in getADDriOpcode()
76 if (isInt<8>(Imm)) in getADDriOpcode()
/external/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp134 if (isInt<10>(BranchSize)) { in runOnMachineFunction()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.h114 bool isInt() const { return EntryKind == E_Integer; } in isInt() function
/external/clang/lib/AST/
DExprConstant.cpp1223 if (SVal.isInt()) { in EvalAndBitcastToAPInt()
1241 if (Elt.isInt()) { in EvalAndBitcastToAPInt()
3123 if (Value.isInt()) { in VisitCastExpr()
4082 if (!Val.isInt()) { in EvaluateInteger()
4627 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()
4640 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp()
4669 if (!LHSVal.isInt() || !RHSVal.isInt()) in VisitBinOp()
5301 if (!Result.isInt()) return Error(E); in VisitUnaryOperator()
5311 if (!Result.isInt()) return Error(E); in VisitUnaryOperator()
5396 if (!Result.isInt()) { in VisitCastExpr()
[all …]

12