HomeSort by relevance Sort by last modified time
    Searched refs:getSExtValue (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/llvm/unittests/VMCore/
ConstantsTest.cpp 101 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue());
102 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue());
103 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue());
104 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue());
105 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue());
109 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue());
  /external/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 102 && (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) {
105 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
123 && (CN->getSExtValue() % 4 == 0)) {
126 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
144 && (CN->getSExtValue() % 4 == 0)) {
147 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
  /external/llvm/lib/Target/Blackfin/
BlackfinISelDAGToDAG.cpp 109 (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) {
112 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
  /external/llvm/unittests/ADT/
APIntTest.cpp 30 EXPECT_EQ(-3, Minus3.getSExtValue());
39 EXPECT_EQ(-1, Minus1.getSExtValue());
52 EXPECT_EQ(-2, i33minus2.getSExtValue());
93 EXPECT_EQ(0u, zero.getSExtValue());
103 EXPECT_EQ(1, one.getSExtValue());
114 EXPECT_EQ(0, neg_two.getSExtValue());
115 EXPECT_EQ(-1, neg_one.getSExtValue());
118 EXPECT_EQ(-1, one.getSExtValue());
121 EXPECT_EQ(0, two.getSExtValue());
  /external/clang/lib/StaticAnalyzer/Checkers/
CastSizeChecker.cpp 62 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue());
  /external/llvm/lib/Transforms/Utils/
LowerSwitch.cpp 221 uint64_t Range = cast<ConstantInt>(Leaf.High)->getSExtValue() -
222 cast<ConstantInt>(Leaf.Low)->getSExtValue();
249 int64_t nextValue = cast<ConstantInt>(J->Low)->getSExtValue();
250 int64_t currentValue = cast<ConstantInt>(I->High)->getSExtValue();
AddrModeMatcher.cpp 104 TestAddrMode.BaseOffs += CI->getSExtValue()*TestAddrMode.Scale;
209 int64_t Scale = RHS->getSExtValue();
233 ConstantOffset += CI->getSExtValue()*TypeSize;
313 AddrMode.BaseOffs += CI->getSExtValue();
316 AddrMode.BaseOffs -= CI->getSExtValue();
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
BasicValueFactory.h 105 return getValue(From.getSExtValue(), To.getBitWidth(), To.isUnsigned());
117 return getValue(From.getSExtValue(), bitwidth, isUnsigned);
  /external/llvm/lib/Target/Sparc/
SparcISelDAGToDAG.cpp 86 if (isInt<13>(CN->getSExtValue())) {
122 if (isInt<13>(CN->getSExtValue()))
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMAddressingModes.h 612 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127
640 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023
  /external/llvm/lib/Target/CellSPU/
SPUISelDAGToDAG.cpp 45 return isInt<10>(CN->getSExtValue());
52 return isUInt<10>(CN->getSExtValue());
59 return isInt<10>(CN->getSExtValue());
327 val = dyn_cast<ConstantSDNode>(N.getNode())->getSExtValue();
432 int32_t offset = int32_t(CN->getSExtValue());
453 int32_t offset = int32_t(CN->getSExtValue());
489 offset = int32_t(CN->getSExtValue());
493 offset = int32_t(CN->getSExtValue());
875 Op1 = CurDAG->getTargetConstant(CN->getSExtValue(), VT);
876 if (isInt<10>(CN->getSExtValue())) {
    [all...]
  /external/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp 176 return isInt<8>(cast<ConstantSDNode>(N)->getSExtValue());
595 if (C->getSExtValue() == 0 && AM.Segment.getNode() == 0 &&
749 if (!FoldOffsetIntoAddress(Cst->getSExtValue(), AM))
757 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
806 uint64_t Disp = AddVal->getSExtValue() << Val;
845 uint64_t Disp = AddVal->getSExtValue() * CN->getZExtValue();
    [all...]
X86FastISel.cpp 298 if ((int)CI->getSExtValue() == CI->getSExtValue())
306 .addImm(Signed ? (uint64_t) CI->getSExtValue() :
394 uint64_t Disp = (int32_t)AM.Disp + (uint64_t)CI->getSExtValue();
429 Disp += CI->getSExtValue() * S;
441 Disp += CI->getSExtValue() * S;
869 if ((int)RHSC->getSExtValue() == RHSC->getSExtValue())
891 .addImm(Op1C->getSExtValue());
    [all...]
  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 190 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
227 uint64_t Offset = CN->getSExtValue();
  /external/clang/lib/Sema/
TargetAttributesSema.cpp 50 << "interrupt" << (int)NumParams.getSExtValue()
  /external/llvm/lib/ExecutionEngine/
ExecutionEngineBindings.cpp 62 return GenVal->IntVal.getSExtValue();
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 360 Indices.push_back(CI->getSExtValue());
406 Operands.push_back(C->getSExtValue());
563 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue());
    [all...]
  /frameworks/compile/slang/
slang_rs_pragma_handler.cpp 281 this->handleInt(static_cast<int>(Val.getSExtValue()));
  /external/llvm/include/llvm/
Constants.h 78 /// either getSExtValue() or getZExtValue() will yield a correctly sized and
121 inline int64_t getSExtValue() const {
122 return Val.getSExtValue();
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
SVals.cpp 296 os << C.getValue().getSExtValue();
MemRegion.cpp 798 if (CI->getValue().getSExtValue() == 0) {
835 int64_t i = CI->getValue().getSExtValue();
887 int64_t i = CI->getValue().getSExtValue();
BasicConstraintManager.cpp 363 Out << (*J)->getSExtValue(); // Hack: should print to raw_ostream.
  /external/llvm/lib/Target/Mips/
MipsISelDAGToDAG.cpp 145 if (isInt<16>(CN->getSExtValue())) {
  /external/llvm/lib/Analysis/
BasicAliasAnalysis.cpp 333 BaseOffs += TD->getTypeAllocSize(*GTI)*CIdx->getSExtValue();
353 BaseOffs += IndexOffset.getSExtValue()*Scale;
354 Scale *= IndexScale.getSExtValue();
    [all...]
  /external/clang/lib/CodeGen/
ItaniumCXXABI.cpp 434 int64_t Src = CI->getSExtValue();
440 int64_t OffsetV = cast<llvm::ConstantInt>(Offset)->getSExtValue();
462 int64_t OffsetV = cast<llvm::ConstantInt>(Offset)->getSExtValue();
    [all...]

Completed in 944 milliseconds

1 2 3