Searched refs:getSExtValue (Results 1 - 25 of 75) sorted by relevance

123

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp62 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue());
/freebsd-10.0-release/contrib/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp101 && (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) {
104 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
/freebsd-10.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp205 int64_t v = (int64_t)N->getSExtValue();
215 int64_t v = (int64_t)N->getSExtValue();
225 int64_t v = (int64_t)N->getSExtValue();
235 int64_t v = (int64_t)N->getSExtValue();
245 int64_t v = (int64_t)N->getSExtValue();
255 int64_t v = (int64_t)N->getSExtValue();
265 int64_t v = (int64_t)N->getSExtValue();
443 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
507 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
581 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
[all...]
/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/ARM/MCTargetDesc/
H A DARMAddressingModes.h613 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127
641 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp209 uint64_t Range = cast<ConstantInt>(Leaf.High)->getSExtValue() -
210 cast<ConstantInt>(Leaf.Low)->getSExtValue();
H A DSimplifyLibCalls.cpp480 size_t I = CharC->getSExtValue() == 0 ?
481 Str.size() : Str.find(CharC->getSExtValue());
516 size_t I = CharC->getSExtValue() == 0 ?
517 Str.size() : Str.rfind(CharC->getSExtValue());
/freebsd-10.0-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp190 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
227 uint64_t Offset = CN->getSExtValue();
H A DMSP430ISelLowering.cpp727 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
740 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
753 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
766 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp358 Indices.push_back(CI->getSExtValue());
404 Operands.push_back(C->getSExtValue());
566 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue());
842 Operands.push_back(cast<ConstantInt>(*II)->getSExtValue());
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp265 os << C.getValue().getSExtValue();
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp265 if (isInt<16>(CN->getSExtValue())) {
371 int64_t Imm = CN->getSExtValue();
H A DMips16ISelDAGToDAG.cpp185 if (isInt<16>(CN->getSExtValue())) {
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp304 if (isInt<32>(CI->getSExtValue()))
312 .addImm(Signed ? (uint64_t) CI->getSExtValue() :
399 uint64_t Disp = (int32_t)AM.Disp + (uint64_t)CI->getSExtValue();
434 Disp += CI->getSExtValue() * S;
446 Disp += CI->getSExtValue() * S;
891 if ((int)RHSC->getSExtValue() == RHSC->getSExtValue())
913 .addImm(Op1C->getSExtValue());
H A DX86ISelDAGToDAG.cpp174 return isInt<8>(cast<ConstantSDNode>(N)->getSExtValue());
612 if (C->getSExtValue() == 0 && AM.Segment.getNode() == 0 &&
982 if (!FoldOffsetIntoAddress(Cst->getSExtValue(), AM))
990 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
1039 uint64_t Disp = (uint64_t)AddVal->getSExtValue() << Val;
1105 uint64_t Disp = AddVal->getSExtValue() * CN->getZExtValue();
1226 !FoldOffsetIntoAddress(CN->getSExtValue(), AM))
1644 int64_t CNVal = CN->getSExtValue();
1969 const SDValue Ops[] = { VSrc, Base, getI8Imm(Scale->getSExtValue()), VIdx,
2111 int64_t Val = Cst->getSExtValue();
[all...]
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp84 return GenVal->IntVal.getSExtValue();
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DTargetAttributesSema.cpp50 << "interrupt" << (int)NumParams.getSExtValue()
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DCodeGenPrepare.cpp977 TestAddrMode.BaseOffs += CI->getSExtValue()*TestAddrMode.Scale;
1081 int64_t Scale = RHS->getSExtValue();
1105 ConstantOffset += CI->getSExtValue()*TypeSize;
1185 AddrMode.BaseOffs += CI->getSExtValue();
1188 AddrMode.BaseOffs -= CI->getSExtValue();
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp337 BaseOffs += TD->getTypeAllocSize(*GTI)*CIdx->getSExtValue();
357 BaseOffs += IndexOffset.getSExtValue()*Scale;
358 Scale *= IndexScale.getSExtValue();
/freebsd-10.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp333 if (isInt<16>(C->getSExtValue()))
339 if (isInt<20>(C->getSExtValue()))
407 if (isInt<16>(C->getSExtValue()))
408 Ops.push_back(DAG.getTargetConstant(C->getSExtValue(),
414 if (isInt<20>(C->getSExtValue()))
415 Ops.push_back(DAG.getTargetConstant(C->getSExtValue(),
842 int64_t SignedValue = Constant->getSExtValue();
904 uint64_t Value = cast<ConstantSDNode>(CmpOp1)->getSExtValue();
1378 Src2 = DAG.getConstant(-Const->getSExtValue(), Src2.getValueType());
H A DSystemZISelDAGToDAG.cpp299 int64_t TestDisp = AM.Disp + Op1->getSExtValue();
/freebsd-10.0-release/contrib/llvm/tools/bugpoint/
H A DExtractFunction.cpp246 int Priority = CI ? CI->getSExtValue() : 0;
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DConstants.h83 /// either getSExtValue() or getZExtValue() will yield a correctly sized and
126 inline int64_t getSExtValue() const { function in class:llvm::ConstantInt
127 return Val.getSExtValue();
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DDataLayout.cpp660 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp286 int64_t SignedVal = cast<ConstantSDNode>(Node)->getSExtValue();

Completed in 404 milliseconds

123