Home
last modified time | relevance | path

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

123

/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) {
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp355 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) && in emitPrologue()
357 assert(isInt<16>(NegFrameSize) && "Unhandled stack size and alignment!"); in emitPrologue()
371 } else if (isInt<16>(NegFrameSize)) { in emitPrologue()
389 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) && in emitPrologue()
391 assert(isInt<16>(NegFrameSize) && "Unhandled stack size and alignment!"); in emitPrologue()
404 } else if (isInt<16>(NegFrameSize)) { in emitPrologue()
585 if (FI->hasFastCall() && isInt<16>(FrameSize)) { in emitEpilogue()
599 } else if (isInt<16>(FrameSize) && in emitEpilogue()
609 if (FI->hasFastCall() && isInt<16>(FrameSize)) { in emitEpilogue()
623 } else if (isInt<16>(FrameSize) && TargetAlign >= MaxAlign && in emitEpilogue()
[all …]
DPPCBranchSelector.cpp134 if (isInt<16>(BranchSize)) { in runOnMachineFunction()
DPPCISelDAGToDAG.cpp460 if (isInt<16>((int)Imm)) in SelectCC()
501 if (isInt<16>(Imm)) in SelectCC()
754 if (!isInt<32>(Imm)) { in Select()
759 if (isInt<32>(ImmSh)) { in Select()
778 if (isInt<16>(Imm)) { in Select()
DPPCRegisterInfo.cpp340 if (isInt<16>(CalleeAmt)) { in eliminateCallFramePseudoInstr()
424 if (MaxAlign < TargetAlign && isInt<16>(FrameSize)) { in lowerDynamicAlloc()
627 if (isInt<16>(Offset) && (!isIXAddr || (Offset & 3) == 0)) { in eliminateFrameIndex()
/external/clang/include/clang/AST/
DAPValue.h100 bool isInt() const { return Kind == Int; } in isInt() function
111 assert(isInt() && "Invalid accessor"); in getInt()
175 assert(isInt() && "Invalid accessor"); in setInt()
/external/llvm/lib/Target/Blackfin/
DBlackfinRegisterInfo.cpp96 if (isInt<7>(delta)) { in adjustRegister()
127 if (isInt<7>(value)) { in loadConstant()
137 if (isInt<16>(value)) { in loadConstant()
238 if (isInt<18>(Offset)) { in eliminateFrameIndex()
DBlackfinInstrInfo.td67 def imm3 : PatLeaf<(imm), [{return isInt<3>(N->getSExtValue());}]>;
82 def imm7 : PatLeaf<(imm), [{return isInt<7>(N->getSExtValue());}]>;
83 def imm16 : PatLeaf<(imm), [{return isInt<16>(N->getSExtValue());}]>;
93 return value % 2 == 0 && isInt<17>(value);
98 return value % 4 == 0 && isInt<18>(value);
/external/clang/lib/AST/
DAPValue.cpp35 if (RHS.isInt()) in operator =()
48 if (isInt()) in operator =()
DExprConstant.cpp720 if (Value.isInt()) { in VisitCastExpr()
1094 if (!EvaluateIntegerOrLValue(E, Val, Info) || !Val.isInt()) in EvaluateInteger()
1133 if (V->isInt()) in CheckReferencedDecl()
1145 EResult.Val.isInt()) { in CheckReferencedDecl()
1510 if (E->isAdditiveOp() && Result.isLValue() && RHSVal.isInt()) { in VisitBinaryOperator()
1524 RHSVal.isLValue() && Result.isInt()) { in VisitBinaryOperator()
1532 if (!Result.isInt() || !RHSVal.isInt()) in VisitBinaryOperator()
1771 if (!Result.isInt()) return false; in VisitUnaryOperator()
1774 if (!Result.isInt()) return false; in VisitUnaryOperator()
1846 if (!Result.isInt()) { in VisitCastExpr()
[all …]
/external/clang/test/PCH/
Dcxx-templates.h88 bool isInt(int x);
90 template<> bool isInt<8>(int x) {
/external/llvm/lib/Target/CellSPU/
DSPUFrameLowering.cpp126 if (isInt<10>(FrameSize)) { in emitPrologue()
133 } else if (isInt<16>(FrameSize)) { in emitPrologue()
216 if (isInt<10>(FrameSize + LinkSlotOffset)) { in emitEpilogue()
DSPURegisterInfo.cpp296 if ((MI.getOpcode() == SPU::AIr32 && !isInt<10>(Offset)) in eliminateFrameIndex()
297 || !isInt<14>(Offset)) { in eliminateFrameIndex()
DSPUISelDAGToDAG.cpp45 return isInt<10>(CN->getSExtValue()); in isI32IntS10Immediate()
59 return isInt<10>(CN->getSExtValue()); in isI16IntS10Immediate()
876 if (isInt<10>(CN->getSExtValue())) { in Select()
/external/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp86 if (isInt<13>(CN->getSExtValue())) { in SelectADDRri()
122 if (isInt<13>(CN->getSExtValue())) in SelectADDRrr()
/external/collada/src/modules/LIBXMLPlugin/
DdaeLIBXMLPlugin.cpp478 bool isInt = false; in writeRawSource() local
489 isInt = true; in writeRawSource()
521 if ( isInt ) in writeRawSource()
/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/MSP430/
DMSP430BranchSelector.cpp134 if (isInt<10>(BranchSize)) { in runOnMachineFunction()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp470 if (isInt<8>(Imm)) in getSUBriOpcode()
474 if (isInt<8>(Imm)) in getSUBriOpcode()
482 if (isInt<8>(Imm)) in getADDriOpcode()
486 if (isInt<8>(Imm)) in getADDriOpcode()
613 assert((!Is64Bit || isInt<32>((long long)FIOffset + Imm)) && in eliminateFrameIndex()
DX86FrameLowering.cpp59 if (isInt<8>(Imm)) in getSUBriOpcode()
63 if (isInt<8>(Imm)) in getSUBriOpcode()
71 if (isInt<8>(Imm)) in getADDriOpcode()
75 if (isInt<8>(Imm)) in getADDriOpcode()
DX86ISelDAGToDAG.cpp176 return isInt<8>(cast<ConstantSDNode>(N)->getSExtValue()); in immSext8()
558 return isInt<31>(Val); in isDispSafeForFrameIndex()
1789 if (!isInt<8>(Val) && isInt<8>(Val >> ShlVal)) in Select()
1791 else if (!isInt<32>(Val) && isInt<32>(Val >> ShlVal)) in Select()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.h113 bool isInt() const { return EntryKind == E_Integer; } in isInt() function
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp365 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in HandleFloatingPointIV()

123