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

1 2 3 4 5

  /external/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 51 if (isInt<32>(Imm.getSExtValue()))
95 if (isInt<16>(Imm.getSExtValue()))
102 if (isInt<32>(Imm.getSExtValue()))
116 if (isUInt<32>(-Imm.getSExtValue()))
123 if (isInt<32>(Imm.getSExtValue()))
208 if (isUInt<32>(-Imm.getSExtValue()))
216 if (isInt<32>(Imm.getSExtValue()))
221 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
226 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
  /external/llvm/lib/Target/BPF/
BPFISelDAGToDAG.cpp 74 if (isInt<32>(CN->getSExtValue())) {
83 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64);
102 if (isInt<32>(CN->getSExtValue())) {
111 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64);
  /external/llvm/lib/Transforms/Utils/
LowerSwitch.cpp 222 UpperBound->getSExtValue() - LowerBound->getSExtValue();
253 int64_t GapLow = LHS.back().High->getSExtValue() + 1;
254 int64_t GapHigh = NewLowerBound->getSExtValue() - 1;
262 dbgs() << LowerBound->getSExtValue();
266 dbgs() << " - " << NewUpperBound->getSExtValue() << "\n";
268 dbgs() << NewLowerBound->getSExtValue() << " - ";
270 dbgs() << UpperBound->getSExtValue() << "\n";
346 uint64_t Range = Leaf.High->getSExtValue() -
347 Leaf.Low->getSExtValue();
    [all...]
LoopUtils.cpp 630 return StepValue->getSExtValue();
703 int64_t CVSize = CV->getSExtValue();
  /external/llvm/lib/Target/PowerPC/
PPCTargetTransformInfo.cpp 52 if (isInt<16>(Imm.getSExtValue()))
55 if (isInt<32>(Imm.getSExtValue())) {
85 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue()))
89 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
94 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
159 if (isInt<16>(Imm.getSExtValue()))
PPCLoopDataPrefetch.cpp 195 int64_t PD = std::abs(ConstPtrDiff->getValue()->getSExtValue());
  /external/llvm/lib/Target/Hexagon/
HexagonOptimizeSZextends.cpp 114 if (!(C && C->getSExtValue() == 16))
125 if (!(C && C->getSExtValue() == 16))
HexagonISelDAGToDAG.cpp 262 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
315 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
374 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
512 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue();
703 cast<ConstantSDNode>(Shl_1.getNode())->getSExtValue();
705 cast<ConstantSDNode>(Mul_1.getNode())->getSExtValue();
710 if (isInt<9>(CN->getSExtValue())) {
724 cast<ConstantSDNode>(Sub_0.getNode())->getSExtValue();
731 cast<ConstantSDNode>(Shl_1.getNode())->getSExtValue();
733 cast<ConstantSDNode>(Shl2_1.getNode())->getSExtValue();
    [all...]
  /external/llvm/unittests/ADT/
APSIntTest.cpp 48 EXPECT_EQ(7, APSInt::get(7).getSExtValue());
51 EXPECT_EQ(-7, APSInt::get(-7).getSExtValue());
59 EXPECT_EQ(7, APSInt::getUnsigned(7).getSExtValue());
62 EXPECT_EQ(-7, APSInt::getUnsigned(-7).getSExtValue());
APIntTest.cpp 38 EXPECT_EQ(-3, Minus3.getSExtValue());
47 EXPECT_EQ(-1, Minus1.getSExtValue());
60 EXPECT_EQ(-2, i33minus2.getSExtValue());
109 EXPECT_EQ(0u, zero.getSExtValue());
119 EXPECT_EQ(1, one.getSExtValue());
130 EXPECT_EQ(0, neg_two.getSExtValue());
131 EXPECT_EQ(-1, neg_one.getSExtValue());
134 EXPECT_EQ(-1, one.getSExtValue());
137 EXPECT_EQ(0, two.getSExtValue());
239 auto sv1 = arg1.getSExtValue();
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 100 && (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) {
103 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr),
  /external/clang/lib/StaticAnalyzer/Checkers/
CastSizeChecker.cpp 121 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue());
  /external/llvm/lib/Transforms/Scalar/
StraightLineStrengthReduce.cpp 256 BaseOffset += ConstIdx->getSExtValue() * ElementSize;
281 Index->getSExtValue());
472 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true);
573 if (R.getSExtValue() == 0)
581 if (IndexOffset.getSExtValue() == 1)
584 if (IndexOffset.getSExtValue() == -1)
AlignmentFromAssumptions.cpp 118 int64_t DiffUnits = ConstDUSCEV->getValue()->getSExtValue();
125 cast<SCEVConstant>(AlignSCEV)->getValue()->getSExtValue();
  /external/llvm/unittests/IR/
ConstantsTest.cpp 107 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue());
108 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue());
109 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue());
110 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue());
111 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue());
115 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue());
  /external/llvm/lib/Target/AArch64/
AArch64TargetTransformInfo.cpp 57 int64_t Val = Tmp.getSExtValue();
158 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
163 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64AddressingModes.h 372 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15
398 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127
426 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMAddressingModes.h 658 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127
686 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023
  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 186 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
223 uint64_t Offset = CN->getSExtValue();
  /external/llvm/lib/Target/Sparc/
SparcISelDAGToDAG.cpp 92 if (isInt<13>(CN->getSExtValue())) {
131 if (isInt<13>(CN->getSExtValue()))
  /external/clang/lib/CodeGen/
CGLoopInfo.cpp 127 ValueInt = ValueAPS.getSExtValue();
  /external/clang/lib/StaticAnalyzer/Core/
SVals.cpp 265 os << C.getValue().getSExtValue();
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 484 Indices.push_back(CI->getSExtValue());
528 Operands.push_back(C->getSExtValue());
688 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue());
    [all...]
  /frameworks/compile/slang/
slang_rs_reflection_cpp.cpp 933 if (!Val.isInt() || Val.getInt().getSExtValue() != 0)
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUISelDAGToDAG.cpp 793 if (isDSOffsetLegal(N0, C1->getSExtValue(), 16)) {
802 int64_t ByteOffset = C->getSExtValue();
    [all...]

Completed in 635 milliseconds

1 2 3 4 5