/third_party/skia/third_party/externals/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();
|
D | HexagonOptimizeSZextends.cpp | 112 if (!(C && C->getSExtValue() == 16)) in runOnFunction() 123 if (!(C && C->getSExtValue() == 16)) in runOnFunction()
|
D | HexagonISelDAGToDAG.cpp | 71 int32_t Inc = cast<ConstantSDNode>(Offset.getNode())->getSExtValue(); in SelectIndexedLoad() 207 SDValue I = CurDAG->getTargetConstant(Inc->getSExtValue(), dl, MVT::i32); in LoadInstrForLoadIntrinsic() 392 SDValue I = CurDAG->getTargetConstant(Inc->getSExtValue(), DL, MVT::i32); in SelectNewCircIntrinsic() 427 SDValue I = CurDAG->getTargetConstant(Inc->getSExtValue(), DL, MVT::i32); in SelectNewCircIntrinsic() 470 int32_t Inc = cast<ConstantSDNode>(Offset.getNode())->getSExtValue(); in SelectIndexedStore() 580 int32_t ShlConst = cast<ConstantSDNode>(Shl_1)->getSExtValue(); in SelectSHL() 587 int32_t ValConst = C->getSExtValue() << ShlConst; in SelectSHL() 603 if (C1->getSExtValue() != 0 || Sub_1.getOpcode() != ISD::SHL) in SelectSHL() 608 int32_t ValConst = 1 << (ShlConst + C2->getSExtValue()); in SelectSHL() 723 unsigned Opc = (cast<ConstantSDNode>(N)->getSExtValue() != 0) in SelectConstant() [all …]
|
D | HexagonIntrinsics.td | 112 int64_t V = N->getSExtValue(); 150 int32_t V = N->getSExtValue(); 155 int32_t V = N->getSExtValue(); 243 int64_t v = (int64_t)(64 - N->getSExtValue()); 248 int64_t v = (int64_t)(128 - N->getSExtValue()); 253 int32_t Imm = N->getSExtValue(); 258 int32_t Imm = N->getSExtValue();
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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());
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 50 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 94 if (isInt<16>(Imm.getSExtValue())) in getIntImmCostInst() 101 if (isInt<32>(Imm.getSExtValue())) in getIntImmCostInst() 115 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCostInst() 122 if (isInt<32>(Imm.getSExtValue())) in getIntImmCostInst() 207 if (isUInt<32>(-Imm.getSExtValue())) in getIntImmCostIntrin() 215 if (isInt<32>(Imm.getSExtValue())) in getIntImmCostIntrin() 220 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCostIntrin() 225 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCostIntrin()
|
D | SystemZOperands.td | 365 return isInt<8>(N->getSExtValue()); 379 return isInt<16>(N->getSExtValue()); 383 return isInt<16>(-N->getSExtValue()); 400 return isInt<32>(-N->getSExtValue()); 476 return isInt<8>(N->getSExtValue()); 480 return isUInt<8>(N->getSExtValue()); 484 return isInt<16>(N->getSExtValue()); 488 return isInt<16>(-N->getSExtValue()); 496 return isInt<32>(N->getSExtValue()); 500 return isInt<32>(-N->getSExtValue()); [all …]
|
D | SystemZISelDAGToDAG.cpp | 476 cast<ConstantSDNode>(Op0)->getSExtValue()); in expandAddress() 479 cast<ConstantSDNode>(Op1)->getSExtValue()); in expandAddress() 578 cast<ConstantSDNode>(Addr)->getSExtValue())) in selectAddress() 1552 isInt<16>(cast<ConstantSDNode>(Op1)->getSExtValue()) && in Select() 1554 isInt<16>(cast<ConstantSDNode>(Op0)->getSExtValue())))) { in Select() 1834 if (TrueOp->getSExtValue() != 1 && TrueOp->getSExtValue() != -1) in expandSelectBoolean() 1859 unsigned ShiftOp = TrueOp->getSExtValue() == 1 ? ISD::SRL : ISD::SRA; in expandSelectBoolean() 1866 if (TrueOp->getSExtValue() == 1) { in expandSelectBoolean()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeSymbolEnumerator.cpp | 82 int64_t N = Record.Value.getSExtValue(); in getValue() 121 return Variant{Record.Value.getSExtValue()}; in getValue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelDAGToDAG.cpp | 99 && (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) { in SelectADDRspii() 102 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr), in SelectADDRspii()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 655 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() 681 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() 709 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023 in getFP64Imm()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 72 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 75 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost() 105 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue())) in getIntImmCostIntrin() 109 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCostIntrin() 114 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCostIntrin() 180 if (isInt<16>(Imm.getSExtValue())) in getIntImmCostInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 116 if (isInt<16>(CN->getSExtValue())) { in SelectAddr() 125 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectAddr() 145 if (isInt<16>(CN->getSExtValue())) { in SelectFIAddr() 153 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectFIAddr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRISelLowering.cpp | 461 switch (C->getSExtValue()) { in getAVRCmp() 480 RHS = DAG.getConstant(C->getSExtValue() + 1, DL, VT); in getAVRCmp() 494 switch (C->getSExtValue()) { in getAVRCmp() 524 RHS = DAG.getConstant(C->getSExtValue() + 1, DL, VT); in getAVRCmp() 807 int RHSC = RHS->getSExtValue(); in getPreIndexedAddressParts() 858 int RHSC = RHS->getSExtValue(); in getPostIndexedAddressParts() 1787 if ((C->getSExtValue() >= -63) && (C->getSExtValue() <= 0)) { in getSingleConstraintMatchWeight() 1815 if (C->getSExtValue() == -1) { in getSingleConstraintMatchWeight() 1837 if ((C->getSExtValue() >= -6) && (C->getSExtValue() <= 5)) { in getSingleConstraintMatchWeight() 1933 int64_t CVal64 = C->getSExtValue(); in LowerAsmOperandForConstraint()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelDAGToDAG.cpp | 122 int64_t Imm = ConstNode->getSExtValue(); in Select() 258 Const->getSExtValue(), SDLoc(ImmOperand), ImmOperand.getValueType()); in doPeepholeLoadStoreADDI()
|
D | RISCVTargetTransformInfo.cpp | 75 getTLI()->isLegalAddImmediate(Imm.getSExtValue())) { in getIntImmCostInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CSEMIRBuilder.cpp | 162 return buildConstant(DstOps[0], Cst->getSExtValue()); in buildInstr() 173 return buildConstant(Dst, MaybeCst->getSExtValue()); in buildInstr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/Utils/ |
D | RISCVMatInt.cpp | 87 generateInstSeq(Chunk.getSExtValue(), IsRV64, MatSeq); in getIntMatCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopDataPrefetch.cpp | 153 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue()); in isStrideLargeEnough() 291 int64_t PD = std::abs(ConstPtrDiff->getValue()->getSExtValue()); in runOnLoop()
|