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

1 2 3 4 5

  /external/llvm/lib/Transforms/Utils/
LowerSwitch.cpp 190 dbgs() << cast<ConstantInt>(LowerBound)->getSExtValue();
194 dbgs() << " - " << NewUpperBound->getSExtValue() << "\n";
196 dbgs() << NewLowerBound->getSExtValue() << " - ";
198 dbgs() << cast<ConstantInt>(UpperBound)->getSExtValue() << "\n";
274 uint64_t Range = cast<ConstantInt>(Leaf.High)->getSExtValue() -
275 cast<ConstantInt>(Leaf.Low)->getSExtValue();
303 int64_t nextValue = cast<ConstantInt>(J->Low)->getSExtValue();
304 int64_t currentValue = cast<ConstantInt>(I->High)->getSExtValue();
  /external/llvm/unittests/IR/
ConstantsTest.cpp 104 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue());
105 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue());
106 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue());
107 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue());
108 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue());
112 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue());
  /external/llvm/lib/Target/PowerPC/
PPCTargetTransformInfo.cpp 152 if (isInt<16>(Imm.getSExtValue()))
155 if (isInt<32>(Imm.getSExtValue())) {
184 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue()))
248 if (isInt<16>(Imm.getSExtValue()))
  /external/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 102 && (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) {
105 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
  /external/clang/lib/StaticAnalyzer/Checkers/
CastSizeChecker.cpp 121 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue());
  /external/llvm/unittests/ADT/
APIntTest.cpp 30 EXPECT_EQ(-3, Minus3.getSExtValue());
39 EXPECT_EQ(-1, Minus1.getSExtValue());
52 EXPECT_EQ(-2, i33minus2.getSExtValue());
101 EXPECT_EQ(0u, zero.getSExtValue());
111 EXPECT_EQ(1, one.getSExtValue());
122 EXPECT_EQ(0, neg_two.getSExtValue());
123 EXPECT_EQ(-1, neg_one.getSExtValue());
126 EXPECT_EQ(-1, one.getSExtValue());
129 EXPECT_EQ(0, two.getSExtValue());
  /external/llvm/lib/Target/Hexagon/
HexagonISelDAGToDAG.cpp 204 int64_t v = (int64_t)N->getSExtValue();
214 int64_t v = (int64_t)N->getSExtValue();
224 int64_t v = (int64_t)N->getSExtValue();
234 int64_t v = (int64_t)N->getSExtValue();
244 int64_t v = (int64_t)N->getSExtValue();
254 int64_t v = (int64_t)N->getSExtValue();
264 int64_t v = (int64_t)N->getSExtValue();
442 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
509 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
586 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcISelDAGToDAG.cpp 89 if (isInt<13>(CN->getSExtValue())) {
127 if (isInt<13>(CN->getSExtValue()))
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMAddressingModes.h 613 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
  /external/llvm/lib/Target/AArch64/
AArch64TargetTransformInfo.cpp 175 int64_t Val = Tmp.getSExtValue();
274 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
279 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
AArch64AddressTypePromotion.cpp 324 Cst->getSExtValue()));
  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 191 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
228 uint64_t Offset = CN->getSExtValue();
  /external/clang/lib/Sema/
SemaStmtAttr.cpp 96 (ValueInt = ValueAPS.getSExtValue()) < 1) {
  /external/clang/lib/StaticAnalyzer/Core/
SVals.cpp 265 os << C.getValue().getSExtValue();
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 366 Indices.push_back(CI->getSExtValue());
411 Operands.push_back(C->getSExtValue());
573 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue());
    [all...]
  /frameworks/compile/slang/
slang_rs_reflection_cpp.cpp 882 if (!Val.isInt() || Val.getInt().getSExtValue() != 0)
966 mOut << ((api.getSExtValue() == 0) ? "false" : "true");
969 mOut << api.getSExtValue();
    [all...]
slang_rs_pragma_handler.cpp 323 this->handleInt(PP, PragmaToken, static_cast<int>(Val.getSExtValue()));
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64AddressingModes.h 376 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127
404 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023
  /external/llvm/lib/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp 569 return ConstantOffset.getSExtValue();
578 .getSExtValue();
    [all...]
  /external/llvm/lib/Target/Mips/
Mips16ISelDAGToDAG.cpp 189 if (isInt<16>(CN->getSExtValue())) {
  /external/llvm/lib/Target/X86/
X86TargetTransformInfo.cpp     [all...]
X86ISelDAGToDAG.cpp 179 return isInt<8>(cast<ConstantSDNode>(N)->getSExtValue());
623 if (C->getSExtValue() == 0 && AM.Segment.getNode() == nullptr &&
    [all...]
  /external/clang/tools/libclang/
CXType.cpp 279 return TD->getInitVal().getSExtValue();
641 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue();
687 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue();
  /external/llvm/lib/Target/SystemZ/
SystemZISelLowering.cpp 463 if (isInt<16>(C->getSExtValue()))
469 if (isInt<20>(C->getSExtValue()))
582 if (isInt<16>(C->getSExtValue()))
583 Ops.push_back(DAG.getTargetConstant(C->getSExtValue(),
589 if (isInt<20>(C->getSExtValue()))
590 Ops.push_back(DAG.getTargetConstant(C->getSExtValue(),
    [all...]
  /external/llvm/lib/CodeGen/
CodeGenPrepare.cpp     [all...]

Completed in 644 milliseconds

1 2 3 4 5