/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonDepOperands.td | 18 defm s4_0ImmPred : ImmOpPred<[{ return isShiftedInt<4, 0>(N->getSExtValue());}]>; 21 defm s29_3ImmPred : ImmOpPred<[{ return isShiftedInt<32, 3>(N->getSExtValue());}]>; 24 defm u6_0ImmPred : ImmOpPred<[{ return isShiftedUInt<6, 0>(N->getSExtValue());}]>; 27 defm a30_2ImmPred : ImmOpPred<[{ return isShiftedInt<32, 2>(N->getSExtValue());}]>; 30 defm u29_3ImmPred : ImmOpPred<[{ return isShiftedUInt<32, 3>(N->getSExtValue());}]>; 33 defm s8_0ImmPred : ImmOpPred<[{ return isShiftedInt<8, 0>(N->getSExtValue());}]>; 36 defm u32_0ImmPred : ImmOpPred<[{ return isShiftedUInt<32, 0>(N->getSExtValue());}]>; 39 defm u4_2ImmPred : ImmOpPred<[{ return isShiftedUInt<4, 2>(N->getSExtValue());}]>; 42 defm u3_0ImmPred : ImmOpPred<[{ return isShiftedUInt<3, 0>(N->getSExtValue());}]>; 45 defm b15_2ImmPred : ImmOpPred<[{ return isShiftedInt<15, 2>(N->getSExtValue());}]>; [all …]
|
D | HexagonOperands.td | 13 def s8_0Imm64Pred : PatLeaf<(i64 imm), [{ return isInt<8>(N->getSExtValue()); }]>; 19 int64_t v = (int64_t)N->getSExtValue(); 23 int64_t v = (int64_t)N->getSExtValue();
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonDepOperands.td | 18 defm s32_0ImmPred : ImmOpPred<[{ return isShiftedInt<32, 0>(N->getSExtValue());}]>; 21 defm s8_0ImmPred : ImmOpPred<[{ return isShiftedInt<8, 0>(N->getSExtValue());}]>; 24 defm u16_0ImmPred : ImmOpPred<[{ return isShiftedUInt<16, 0>(N->getSExtValue());}]>; 27 defm u5_0ImmPred : ImmOpPred<[{ return isShiftedUInt<5, 0>(N->getSExtValue());}]>; 30 defm u8_0ImmPred : ImmOpPred<[{ return isShiftedUInt<8, 0>(N->getSExtValue());}]>; 33 defm u32_0ImmPred : ImmOpPred<[{ return isShiftedUInt<32, 0>(N->getSExtValue());}]>; 36 defm u26_6ImmPred : ImmOpPred<[{ return isShiftedUInt<26, 6>(N->getSExtValue());}]>; 39 defm u7_0ImmPred : ImmOpPred<[{ return isShiftedUInt<7, 0>(N->getSExtValue());}]>; 42 defm u6_0ImmPred : ImmOpPred<[{ return isShiftedUInt<6, 0>(N->getSExtValue());}]>; 45 defm u10_0ImmPred : ImmOpPred<[{ return isShiftedUInt<10, 0>(N->getSExtValue());}]>; [all …]
|
D | HexagonOperands.td | 13 def s8_0Imm64Pred : PatLeaf<(i64 imm), [{ return isInt<8>(N->getSExtValue()); }]>; 19 int64_t v = (int64_t)N->getSExtValue(); 23 int64_t v = (int64_t)N->getSExtValue();
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonOperands.td | 125 int64_t v = (int64_t)N->getSExtValue(); 130 int64_t v = (int64_t)N->getSExtValue(); 135 int64_t v = (int64_t)N->getSExtValue(); 140 int64_t v = (int64_t)N->getSExtValue(); 145 int64_t v = (int64_t)N->getSExtValue(); 150 int64_t v = (int64_t)N->getSExtValue(); 155 int64_t v = (int64_t)N->getSExtValue(); 160 int64_t v = (int64_t)N->getSExtValue(); 165 int64_t v = (int64_t)N->getSExtValue(); 170 int64_t v = (int64_t)N->getSExtValue(); [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 51 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 95 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 102 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 116 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCost() 123 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 208 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCost() 216 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 221 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 226 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 97 return isInt<21>(CN.getSExtValue()) && ((CN.getSExtValue() & 0x3) == 0); in canBeRepresentedAsSls() 109 int32_t Imm = CN->getSExtValue(); in selectAddrSls() 130 if (isInt<16>(CN->getSExtValue())) { in selectAddrRiSpls() 131 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() 143 if (isInt<10>(CN->getSExtValue())) { in selectAddrRiSpls() 144 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() 174 if ((RiMode && isInt<16>(CN->getSExtValue())) || in selectAddrRiSpls() 175 (!RiMode && isInt<10>(CN->getSExtValue()))) { in selectAddrRiSpls() 186 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i32); in selectAddrRiSpls() 229 if (isInt<16>(CN->getSExtValue())) in selectAddrRr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 96 return isInt<21>(CN.getSExtValue()) && ((CN.getSExtValue() & 0x3) == 0); in canBeRepresentedAsSls() 108 int32_t Imm = CN->getSExtValue(); in selectAddrSls() 129 if (isInt<16>(CN->getSExtValue())) { in selectAddrRiSpls() 130 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() 142 if (isInt<10>(CN->getSExtValue())) { in selectAddrRiSpls() 143 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() 173 if ((RiMode && isInt<16>(CN->getSExtValue())) || in selectAddrRiSpls() 174 (!RiMode && isInt<10>(CN->getSExtValue()))) { in selectAddrRiSpls() 185 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i32); in selectAddrRiSpls() 228 if (isInt<16>(CN->getSExtValue())) in selectAddrRr()
|
D | LanaiTargetTransformInfo.h | 56 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 60 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost() 61 if ((Imm.getSExtValue() & 0xFFFF) == 0) in getIntImmCost()
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 96 return isInt<21>(CN.getSExtValue()) && ((CN.getSExtValue() & 0x3) == 0); in canBeRepresentedAsSls() 108 int32_t Imm = CN->getSExtValue(); in selectAddrSls() 129 if (isInt<16>(CN->getSExtValue())) { in selectAddrRiSpls() 130 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() 142 if (isInt<10>(CN->getSExtValue())) { in selectAddrRiSpls() 143 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() 173 if ((RiMode && isInt<16>(CN->getSExtValue())) || in selectAddrRiSpls() 174 (!RiMode && isInt<10>(CN->getSExtValue()))) { in selectAddrRiSpls() 185 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i32); in selectAddrRiSpls() 228 if (isInt<16>(CN->getSExtValue())) in selectAddrRr()
|
D | LanaiTargetTransformInfo.h | 56 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 60 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost() 61 if ((Imm.getSExtValue() & 0xFFFF) == 0) in getIntImmCost()
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 216 UpperBound->getSExtValue() - LowerBound->getSExtValue(); in switchConvert() 247 int64_t GapLow = LHS.back().High->getSExtValue() + 1; in switchConvert() 248 int64_t GapHigh = NewLowerBound->getSExtValue() - 1; in switchConvert() 256 dbgs() << LowerBound->getSExtValue(); in switchConvert() 260 dbgs() << " - " << NewUpperBound->getSExtValue() << "\n"; in switchConvert() 262 dbgs() << NewLowerBound->getSExtValue() << " - "; in switchConvert() 264 dbgs() << UpperBound->getSExtValue() << "\n"; in switchConvert() 340 uint64_t Range = Leaf.High->getSExtValue() - in newLeafBlock() 341 Leaf.Low->getSExtValue(); in newLeafBlock() 369 int64_t nextValue = J->Low->getSExtValue(); in Clusterify() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 264 NumMergedCases = UpperBound->getSExtValue() - LowerBound->getSExtValue(); in switchConvert() 295 int64_t GapLow = LHS.back().High->getSExtValue() + 1; in switchConvert() 296 int64_t GapHigh = NewLowerBound->getSExtValue() - 1; in switchConvert() 302 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getSExtValue() << ", " in switchConvert() 303 << NewUpperBound->getSExtValue() << "]\n" in switchConvert() 304 << "RHS Bounds ==> [" << NewLowerBound->getSExtValue() in switchConvert() 305 << ", " << UpperBound->getSExtValue() << "]\n"); in switchConvert() 383 uint64_t Range = Leaf.High->getSExtValue() - in newLeafBlock() 384 Leaf.Low->getSExtValue(); in newLeafBlock() 418 int64_t nextValue = J->Low->getSExtValue(); in Clusterify() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 203 uint64_t Range = Leaf.High->getSExtValue() - Leaf.Low->getSExtValue(); in NewLeafBlock() 236 NumMergedCases = UpperBound->getSExtValue() - LowerBound->getSExtValue(); in SwitchConvert() 267 int64_t GapLow = LHS.back().High->getSExtValue() + 1; in SwitchConvert() 268 int64_t GapHigh = NewLowerBound->getSExtValue() - 1; in SwitchConvert() 274 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getSExtValue() << ", " in SwitchConvert() 275 << NewUpperBound->getSExtValue() << "]\n" in SwitchConvert() 276 << "RHS Bounds ==> [" << NewLowerBound->getSExtValue() in SwitchConvert() 277 << ", " << UpperBound->getSExtValue() << "]\n"); in SwitchConvert() 322 int64_t nextValue = J->Low->getSExtValue(); in Clusterify() 323 int64_t currentValue = I->High->getSExtValue(); in Clusterify() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | attribute_exporter.cc | 31 input.input_batch_dimension().getValue().getSExtValue()); in ConvertConvDimensionNumbers() 33 input.input_feature_dimension().getValue().getSExtValue()); in ConvertConvDimensionNumbers() 40 input.kernel_input_feature_dimension().getValue().getSExtValue()); in ConvertConvDimensionNumbers() 42 input.kernel_output_feature_dimension().getValue().getSExtValue()); in ConvertConvDimensionNumbers() 49 input.output_batch_dimension().getValue().getSExtValue()); in ConvertConvDimensionNumbers() 51 input.output_feature_dimension().getValue().getSExtValue()); in ConvertConvDimensionNumbers()
|
/external/llvm-project/llvm/lib/Target/ARC/ |
D | ARCISelDAGToDAG.cpp | 106 int32_t RHSC = RHS->getSExtValue(); in SelectAddrModeS9() 135 int32_t RHSC = RHS->getSExtValue(); in SelectAddrModeFar() 158 (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) { in SelectFrameADDR_ri() 162 CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr), MVT::i32); in SelectFrameADDR_ri()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCISelDAGToDAG.cpp | 106 int32_t RHSC = RHS->getSExtValue(); in SelectAddrModeS9() 135 int32_t RHSC = RHS->getSExtValue(); in SelectAddrModeFar() 158 (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) { in SelectFrameADDR_ri() 162 CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr), MVT::i32); in SelectFrameADDR_ri()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGAddressAnalysis.cpp | 180 Offset += C->getSExtValue(); in matchLSNode() 185 Offset -= C->getSExtValue(); in matchLSNode() 197 Offset += C->getSExtValue(); in matchLSNode() 204 Offset += C->getSExtValue(); in matchLSNode() 215 auto Off = C->getSExtValue(); in matchLSNode() 258 Offset += cast<ConstantSDNode>(Index->getOperand(1))->getSExtValue(); in matchLSNode()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGAddressAnalysis.cpp | 191 Offset += C->getSExtValue(); in matchLSNode() 196 Offset -= C->getSExtValue(); in matchLSNode() 208 Offset += C->getSExtValue(); in matchLSNode() 215 Offset += C->getSExtValue(); in matchLSNode() 226 auto Off = C->getSExtValue(); in matchLSNode() 269 Offset += cast<ConstantSDNode>(Index->getOperand(1))->getSExtValue(); in matchLSNode()
|
/external/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 74 if (isInt<32>(CN->getSExtValue())) { in SelectAddr() 83 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectAddr() 102 if (isInt<32>(CN->getSExtValue())) { in SelectFIAddr() 111 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectFIAddr()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 59 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 62 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost() 92 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue())) in getIntImmCost() 96 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 101 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 166 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | legalize_gather_to_torch_index_select.cc | 51 if (dimension_numbers.index_vector_dim().getValue().getSExtValue() != in matchAndRewrite() 91 if (it.value().getSExtValue() != 1) { in matchAndRewrite() 98 if (it.value().getSExtValue() != operand_ty.getDimSize(it.index())) { in matchAndRewrite()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | ConstraintElimination.cpp | 50 return {{CI->getSExtValue(), nullptr}}; in decompose() 56 ->getSExtValue(), in decompose() 66 {std::pow(int64_t(2), CI->getSExtValue()), Op0}}; in decompose() 71 {std::pow(int64_t(2), CI->getSExtValue()), Op0}}; in decompose() 82 return {{CI->getSExtValue(), nullptr}, {1, Op0}}; in decompose() 87 return {{-1 * CI->getSExtValue(), nullptr}, {1, Op0}}; in decompose()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | ConstantFoldingMIRBuilder.h | 54 return buildConstant(Dst, MaybeCst->getSExtValue()); 65 return buildConstant(Dst, MaybeCst->getSExtValue());
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | ConstantFoldingMIRBuilder.h | 54 return buildConstant(Dst, MaybeCst->getSExtValue()); 65 return buildConstant(Dst, MaybeCst->getSExtValue());
|