/third_party/node/deps/v8/src/base/ |
H A D | safe_conversions.h | 40 template <typename Dst, typename Src> 43 static constexpr Dst Do(Src) { in Do() 45 return CheckOnFailure::template HandleFailure<Dst>(); in Do() 53 template <typename Dst, typename Src, typename Enable = void> 63 template <typename Dst, typename Src> 65 Dst, Src, 67 std::is_integral<Dst>::value && std::is_integral<Src>::value && 68 std::is_signed<Dst>::value && std::is_signed<Src>::value && 69 !IsTypeInRangeForNumericType<Dst, Src>::value>::type> { 75 return value == static_cast<Dst>(valu in Do() [all...] |
H A D | safe_conversions_arm_impl.h | 26 template <typename Dst, typename Src> 29 std::is_signed<Src>::value && std::is_integral<Dst>::value && 32 IntegerBitsPlusSign<Dst>::value <= IntegerBitsPlusSign<int32_t>::value && 33 !IsTypeInRangeForNumericType<Dst, Src>::value; 35 __attribute__((always_inline)) static Dst Do(Src value) { in Do() 37 typename std::conditional<std::is_signed<Dst>::value, int32_t, in Do() 39 if (std::is_signed<Dst>::value) { in Do() 42 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value <= 32 in Do() 43 ? IntegerBitsPlusSign<Dst>::value in Do() 48 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst> in Do() [all...] |
H A D | safe_conversions_impl.h | 139 // A range for a given nunmeric Src type is contained for a given numeric Dst 140 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 141 // numeric_limits<Src>::lowest() >= numeric_limits<Dst>::lowest() are true. 152 template <typename Dst, typename Src, 153 IntegerRepresentation DstSign = std::is_signed<Dst>::value 161 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 163 template <typename Dst, typename Src, IntegerRepresentation Sign> 164 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> { 166 MaxExponent<Dst>::value >= MaxExponent<Src>::value 171 // Unsigned to signed: Dst i [all...] |
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_conversions.h | 35 template <typename Dst, typename Src> 39 static constexpr Dst Do(Src) in Do() 42 return CheckOnFailure::template HandleFailure<Dst>(); in Do() 50 template <typename Dst, typename Src, typename Enable = void> 62 template <typename Dst, typename Src> 64 Dst, 66 typename std::enable_if<std::is_integral<Dst>::value && std::is_integral<Src>::value && 67 std::is_signed<Dst>::value && std::is_signed<Src>::value && 68 !IsTypeInRangeForNumericType<Dst, Src>::value>::type> 76 return value == static_cast<Dst>(valu in Do() [all...] |
H A D | safe_conversions_arm_impl.h | 22 template <typename Dst, typename Src> 26 std::is_signed<Src>::value && std::is_integral<Dst>::value && 29 IntegerBitsPlusSign<Dst>::value <= IntegerBitsPlusSign<int32_t>::value && 30 !IsTypeInRangeForNumericType<Dst, Src>::value; 32 __attribute__((always_inline)) static Dst Do(Src value) in Do() 35 typename std::conditional<std::is_signed<Dst>::value, int32_t, uint32_t>::type result; in Do() 36 if (std::is_signed<Dst>::value) in Do() 40 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value <= 32 in Do() 41 ? IntegerBitsPlusSign<Dst>::value in Do() 48 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst> in Do() [all...] |
H A D | safe_conversions_impl.h | 148 // A range for a given nunmeric Src type is contained for a given numeric Dst 149 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 150 // numeric_limits<Src>::lowest() >= numeric_limits<Dst>::lowest() are true. 163 typename Dst, 165 IntegerRepresentation DstSign = std::is_signed<Dst>::value ? INTEGER_REPRESENTATION_SIGNED 171 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 173 template <typename Dst, typename Src, IntegerRepresentation Sign> 174 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> 177 MaxExponent<Dst>::value >= MaxExponent<Src>::value ? NUMERIC_RANGE_CONTAINED 181 // Unsigned to signed: Dst i [all...] |
H A D | checked_math.h | 58 // A range checked destination type can be supplied using the Dst template 60 template <typename Dst = T> 63 return state_.is_valid() && IsValueInRangeForNumericType<Dst>(state_.value()); in IsValid() 66 // AssignIfValid(Dst) - Assigns the underlying value if it is currently valid 69 template <typename Dst> 76 AssignIfValid(Dst *result) const in AssignIfValid() 78 return BASE_NUMERICS_LIKELY(IsValid<Dst>()) in AssignIfValid() 79 ? ((*result = static_cast<Dst>(state_.value())), true) in AssignIfValid() 85 // A range checked destination type can be supplied using the Dst template 91 template <typename Dst [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
H A D | XmmArith.cpp | 17 #define TestArithSSXmmXmm(FloatSize, Src, Value0, Dst, Value1, Inst, Op) \ in TEST_F() 22 "(" #FloatSize ", " #Src ", " #Value0 ", " #Dst ", " #Value1 \ in TEST_F() 31 __ movss(IceType_f##FloatSize, Encoded_Xmm_##Dst(), dwordAddress(T0)); \ in TEST_F() 33 __ Inst(IceType_f##FloatSize, Encoded_Xmm_##Dst(), Encoded_Xmm_##Src()); \ in TEST_F() 46 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \ in TEST_F() 50 #define TestArithSSXmmAddr(FloatSize, Value0, Dst, Value1, Inst, Op) \ in TEST_F() 55 "(" #FloatSize ", Addr, " #Value0 ", " #Dst ", " #Value1 ", " #Inst \ in TEST_F() 64 __ movss(IceType_f##FloatSize, Encoded_Xmm_##Dst(), dwordAddress(T0)); \ in TEST_F() 65 __ Inst(IceType_f##FloatSize, Encoded_Xmm_##Dst(), dwordAddress(T1)); \ in TEST_F() 78 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Typ in TEST_F() [all...] |
H A D | DataMov.cpp | 156 #define TestRegReg(Dst, Src, Suffix, Size) \ in TEST_F() 159 "(" #Dst ", " #Src ", " #Suffix ", " #Size ")"; \ in TEST_F() 166 __ mov(IceType_i64, Encoded_GPR_##Dst(), dwordAddress(T1)); \ in TEST_F() 167 __ mov(IceType_i##Size, Encoded_GPR_##Dst(), Encoded_GPR_##Src()); \ in TEST_F() 174 ASSERT_EQ((Marker & ~MaskResult##Size) | Value, test.Dst()) << TestString; \ in TEST_F() 175 ASSERT_EQ(Value, test.Dst##Suffix()) << TestString; \ in TEST_F() 179 #define TestImpl(Dst, Src) \ in TEST_F() 181 TestRegReg(Dst, Src, l, 8); \ in TEST_F() 182 TestRegReg(Dst, Src, w, 16); \ in TEST_F() 183 TestRegReg(Dst, Sr in TEST_F() [all...] |
H A D | ControlFlow.cpp | 39 #define TestImpl(Dst, Src0, Src1) \ in TEST_F() 41 TestJ(o, Near, Dst, Src0, 0x80000000ul, Src1, 0x1ul); \ in TEST_F() 42 TestJ(o, Far, Dst, Src0, 0x80000000ul, Src1, 0x1ul); \ in TEST_F() 43 TestJ(no, Near, Dst, Src0, 0x1ul, Src1, 0x1ul); \ in TEST_F() 44 TestJ(no, Far, Dst, Src0, 0x1ul, Src1, 0x1ul); \ in TEST_F() 45 TestJ(b, Near, Dst, Src0, 0x1ul, Src1, 0x80000000ul); \ in TEST_F() 46 TestJ(b, Far, Dst, Src0, 0x1ul, Src1, 0x80000000ul); \ in TEST_F() 47 TestJ(ae, Near, Dst, Src0, 0x80000000ul, Src1, 0x1ul); \ in TEST_F() 48 TestJ(ae, Far, Dst, Src0, 0x80000000ul, Src1, 0x1ul); \ in TEST_F() 49 TestJ(e, Near, Dst, Src in TEST_F() [all...] |
H A D | GPRArith.cpp | 112 #define TestLeaBaseDisp(Base, BaseValue, Disp, Dst) \ in TEST_F() 115 "(" #Base ", " #BaseValue ", " #Dst ")"; \ in TEST_F() 120 __ lea(IceType_i32, Encoded_GPR_##Dst(), \ in TEST_F() 124 ASSERT_EQ(test.Base##d() + (Disp), test.Dst##d()) \ in TEST_F() 327 #define TestLeaAbsolute(Dst, Value) \ in TEST_F() 329 static constexpr char TestString[] = "(" #Dst ", " #Value ")"; \ in TEST_F() 330 __ lea(IceType_i32, GPRRegister::Encoded_Reg_##Dst, \ in TEST_F() 336 /*mod*/ 0x00 | /*reg*/ (GPRRegister::Encoded_Reg_##Dst << 3) | \ in TEST_F() 362 #define TestImplRegReg(Dst, Value0, Src, Value1, Size) \ in TEST_F() 366 "(" #Dst ", " #Value in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
H A D | XmmArith.cpp | 17 #define TestArithSSXmmXmm(FloatSize, Src, Value0, Dst, Value1, Inst, Op) \ in TEST_F() 22 "(" #FloatSize ", " #Src ", " #Value0 ", " #Dst ", " #Value1 \ in TEST_F() 31 __ movss(IceType_f##FloatSize, XmmRegister::Encoded_Reg_##Dst, \ in TEST_F() 35 __ Inst(IceType_f##FloatSize, XmmRegister::Encoded_Reg_##Dst, \ in TEST_F() 49 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \ in TEST_F() 53 #define TestArithSSXmmAddr(FloatSize, Value0, Dst, Value1, Inst, Op) \ in TEST_F() 58 "(" #FloatSize ", Addr, " #Value0 ", " #Dst ", " #Value1 ", " #Inst \ in TEST_F() 67 __ movss(IceType_f##FloatSize, XmmRegister::Encoded_Reg_##Dst, \ in TEST_F() 69 __ Inst(IceType_f##FloatSize, XmmRegister::Encoded_Reg_##Dst, \ in TEST_F() 83 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Typ in TEST_F() [all...] |
H A D | DataMov.cpp | 177 #define TestMovzx8bitWithRegDest(Src, Dst, Imm) \ in TEST_F() 181 __ movzx(IceType_i8, GPRRegister::Encoded_Reg_##Dst, \ in TEST_F() 185 ASSERT_EQ(Imm, test.Dst()) << "(" #Src ", " #Dst ", " #Imm ")"; \ in TEST_F() 189 #define TestMovzx16bitWithRegDest(Src, Dst, Imm) \ in TEST_F() 193 __ movzx(IceType_i16, GPRRegister::Encoded_Reg_##Dst, \ in TEST_F() 197 ASSERT_EQ(Imm, test.Dst()) << "(" #Src ", " #Dst ", " #Imm ")"; \ in TEST_F() 201 #define TestMovzx8bitWithAddrSrc(Dst, Imm) \ in TEST_F() 206 __ movzx(IceType_i8, GPRRegister::Encoded_Reg_##Dst, dwordAddres in TEST_F() [all...] |
H A D | GPRArith.cpp | 124 #define TestLeaBaseDisp(Base, BaseValue, Disp, Dst) \ in TEST_F() 127 "(" #Base ", " #BaseValue ", " #Dst ")"; \ in TEST_F() 133 __ lea(IceType_i32, GPRRegister::Encoded_Reg_##Dst, \ in TEST_F() 138 ASSERT_EQ(test.Base() + (Disp), test.Dst()) \ in TEST_F() 294 #define TestLeaAbsolute(Dst, Value) \ in TEST_F() 296 static constexpr char TestString[] = "(" #Dst ", " #Value ")"; \ in TEST_F() 297 __ lea(IceType_i32, GPRRegister::Encoded_Reg_##Dst, \ in TEST_F() 303 /*mod=*/0x00 | /*reg*/ (GPRRegister::Encoded_Reg_##Dst << 3) | \ in TEST_F() 326 #define TestImplRegReg(Dst, Value0, Src, Value1, Size) \ in TEST_F() 330 "(" #Dst ", " #Value in TEST_F() [all...] |
/third_party/gn/src/base/numerics/ |
H A D | safe_conversions.h | 22 template <typename Dst, typename Src> 25 static constexpr Dst Do(Src) { in Do() 27 return CheckOnFailure::template HandleFailure<Dst>(); in Do() 35 template <typename Dst, typename Src, typename Enable = void> 45 template <typename Dst, typename Src> 47 Dst, 50 std::is_integral<Dst>::value && std::is_integral<Src>::value && 51 std::is_signed<Dst>::value && std::is_signed<Src>::value && 52 !IsTypeInRangeForNumericType<Dst, Src>::value>::type> { 58 return value == static_cast<Dst>(valu in Do() [all...] |
H A D | safe_conversions_impl.h | 134 // A range for a given nunmeric Src type is contained for a given numeric Dst 135 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 136 // numeric_limits<Src>::lowest() >= numeric_limits<Dst>::lowest() are true. 147 template <typename Dst, 149 IntegerRepresentation DstSign = std::is_signed<Dst>::value 157 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 159 template <typename Dst, typename Src, IntegerRepresentation Sign> 160 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> { 162 MaxExponent<Dst>::value >= MaxExponent<Src>::value 167 // Unsigned to signed: Dst i [all...] |
H A D | checked_math.h | 52 // A range checked destination type can be supplied using the Dst template 54 template <typename Dst = T> 57 IsValueInRangeForNumericType<Dst>(state_.value()); in IsValid() 60 // AssignIfValid(Dst) - Assigns the underlying value if it is currently valid 63 template <typename Dst> 70 AssignIfValid(Dst* result) const { in AssignIfValid() 71 return BASE_NUMERICS_LIKELY(IsValid<Dst>()) in AssignIfValid() 72 ? ((*result = static_cast<Dst>(state_.value())), true) in AssignIfValid() 78 // A range checked destination type can be supplied using the Dst template 84 template <typename Dst [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.h | 226 void validateTruncExt(const LLT &Dst, const LLT &Src, bool IsExtend); 529 MachineInstrBuilder buildPtrToInt(const DstOp &Dst, const SrcOp &Src) { in buildPtrToInt() argument 530 return buildInstr(TargetOpcode::G_PTRTOINT, {Dst}, {Src}); in buildPtrToInt() 534 MachineInstrBuilder buildIntToPtr(const DstOp &Dst, const SrcOp &Src) { in buildIntToPtr() argument 535 return buildInstr(TargetOpcode::G_INTTOPTR, {Dst}, {Src}); in buildIntToPtr() 538 /// Build and insert \p Dst = G_BITCAST \p Src 539 MachineInstrBuilder buildBitcast(const DstOp &Dst, const SrcOp &Src) { in buildBitcast() argument 540 return buildInstr(TargetOpcode::G_BITCAST, {Dst}, {Src}); in buildBitcast() 543 /// Build and insert \p Dst = G_ADDRSPACE_CAST \p Src 544 MachineInstrBuilder buildAddrSpaceCast(const DstOp &Dst, cons argument 1226 buildAdd(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildAdd() argument 1243 buildSub(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildSub() argument 1259 buildMul(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildMul() argument 1265 buildUMulH(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildUMulH() argument 1271 buildSMulH(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildSMulH() argument 1277 buildFMul(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildFMul() argument 1283 buildShl(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildShl() argument 1289 buildLShr(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildLShr() argument 1295 buildAShr(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildAShr() argument 1312 buildAnd(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildAnd() argument 1327 buildOr(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildOr() argument 1333 buildXor(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildXor() argument 1341 buildNot(const DstOp &Dst, const SrcOp &Src0) buildNot() argument 1347 buildCTPOP(const DstOp &Dst, const SrcOp &Src0) buildCTPOP() argument 1352 buildCTLZ(const DstOp &Dst, const SrcOp &Src0) buildCTLZ() argument 1357 buildCTLZ_ZERO_UNDEF(const DstOp &Dst, const SrcOp &Src0) buildCTLZ_ZERO_UNDEF() argument 1362 buildCTTZ(const DstOp &Dst, const SrcOp &Src0) buildCTTZ() argument 1367 buildCTTZ_ZERO_UNDEF(const DstOp &Dst, const SrcOp &Src0) buildCTTZ_ZERO_UNDEF() argument 1372 buildFAdd(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, Optional<unsigned> Flags = None) buildFAdd() argument 1379 buildFSub(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildFSub() argument 1385 buildFMA(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, const SrcOp &Src2, Optional<unsigned> Flags = None) buildFMA() argument 1392 buildFMAD(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1, const SrcOp &Src2, Optional<unsigned> Flags = None) buildFMAD() argument 1399 buildFNeg(const DstOp &Dst, const SrcOp &Src0, Optional<unsigned> Flags = None) buildFNeg() argument 1405 buildFAbs(const DstOp &Dst, const SrcOp &Src0, Optional<unsigned> Flags = None) buildFAbs() argument 1411 buildFCanonicalize(const DstOp &Dst, const SrcOp &Src0, Optional<unsigned> Flags = None) buildFCanonicalize() argument 1417 buildIntrinsicTrunc(const DstOp &Dst, const SrcOp &Src0, Optional<unsigned> Flags = None) buildIntrinsicTrunc() argument 1423 buildFCopysign(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildFCopysign() argument 1429 buildUITOFP(const DstOp &Dst, const SrcOp &Src0) buildUITOFP() argument 1434 buildSITOFP(const DstOp &Dst, const SrcOp &Src0) buildSITOFP() argument 1439 buildFPTOUI(const DstOp &Dst, const SrcOp &Src0) buildFPTOUI() argument 1444 buildFPTOSI(const DstOp &Dst, const SrcOp &Src0) buildFPTOSI() argument 1449 buildSMin(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildSMin() argument 1455 buildSMax(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildSMax() argument 1461 buildUMin(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildUMin() argument 1467 buildUMax(const DstOp &Dst, const SrcOp &Src0, const SrcOp &Src1) buildUMax() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_fpc_optimize.c | 243 copy_dst_reg(&o->Dst[0].Register, &i->Dst[0].Register); in copy_instruction() 314 dst_reg = ¤t->FullInstruction.Dst[0]; in liveness_analysis() 407 ¤t->FullInstruction.Dst[0]) && in i915_fpc_optimize_mov_before_tex() 409 unused_from(ctx, ¤t->FullInstruction.Dst[0], index)) { in i915_fpc_optimize_mov_before_tex() 438 same_dst_reg(&next->FullInstruction.Dst[0], in i915_fpc_optimize_mov_after_mov() 439 ¤t->FullInstruction.Dst[0]) && in i915_fpc_optimize_mov_after_mov() 443 ¤t->FullInstruction.Dst[0])) { in i915_fpc_optimize_mov_after_mov() 445 dst_reg1 = ¤t->FullInstruction.Dst[0]; in i915_fpc_optimize_mov_after_mov() 447 dst_reg2 = &next->FullInstruction.Dst[ in i915_fpc_optimize_mov_after_mov() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | MachineBranchProbabilityInfo.cpp | 52 MachineBasicBlock::const_succ_iterator Dst) const { in getEdgeProbability() 53 return Src->getSuccProbability(Dst); in getEdgeProbability() 57 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in getEdgeProbability() 60 return getEdgeProbability(Src, find(Src->successors(), Dst)); in getEdgeProbability() 64 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in isEdgeHot() 66 return getEdgeProbability(Src, Dst) > HotProb; in isEdgeHot() 91 const MachineBasicBlock *Dst) const { in printEdgeProbability() 93 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability() 94 OS << "edge " << printMBBReference(*Src) << " -> " << printMBBReference(*Dst) in printEdgeProbability() 96 << (isEdgeHot(Src, Dst) in printEdgeProbability() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonSubtarget.cpp | 319 void HexagonSubtarget::adjustSchedDependency(SUnit *Src, SUnit *Dst, in adjustSchedDependency() argument 322 MachineInstr *DstInst = Dst->getInstr(); in adjustSchedDependency() 323 if (!Src->isInstr() || !Dst->isInstr()) in adjustSchedDependency() 332 isBestZeroLatency(Src, Dst, QII, ExclSrc, ExclDst)) { in adjustSchedDependency() 346 if ((DstInst->isRegSequence() || DstInst->isCopy()) && Dst->NumSuccs == 1) { in adjustSchedDependency() 348 MachineInstr *DDst = Dst->Succs[0].getSUnit()->getInstr(); in adjustSchedDependency() 367 isBestZeroLatency(Src, Dst, QII, ExclSrc, ExclDst)) { in adjustSchedDependency() 418 void HexagonSubtarget::restoreLatency(SUnit *Src, SUnit *Dst) const { in restoreLatency() 421 if (!I.isAssignedRegDep() || I.getSUnit() != Dst) in restoreLatency() 431 MachineInstr *DstI = Dst in restoreLatency() 457 changeLatency(SUnit *Src, SUnit *Dst, unsigned Lat) const changeLatency() argument 486 isBestZeroLatency(SUnit *Src, SUnit *Dst, const HexagonInstrInfo *TII, SmallSet<SUnit*, 4> &ExclSrc, SmallSet<SUnit*, 4> &ExclDst) const isBestZeroLatency() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | DependenceGraphBuilder.cpp | 162 auto createEdgeOfKind = [this](NodeType &Src, NodeType &Dst, in createPiBlocks() 166 createDefUseEdge(Src, Dst); in createPiBlocks() 169 createMemoryEdge(Src, Dst); in createPiBlocks() 172 createRootedEdge(Src, Dst); in createPiBlocks() 179 auto reconnectEdges = [&](NodeType *Src, NodeType *Dst, NodeType *New, in createPiBlocks() 181 if (!Src->hasEdgeTo(*Dst)) in createPiBlocks() 186 << ":\nSrc:" << *Src << "\nDst:" << *Dst in createPiBlocks() 192 Src->findEdgesTo(*Dst, EL); in createPiBlocks() 200 createEdgeOfKind(*New, *Dst, Kind); in createPiBlocks() 201 LLVM_DEBUG(dbgs() << "created edge from New to Dst in createPiBlocks() [all...] |
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_tgsi.c | 238 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY, in virgl_tgsi_transform_prolog() 239 inst.Dst[0].Register.Index = vtctx->input_temp[INPUT_TEMP_BLOCK_ID].temp; in virgl_tgsi_transform_prolog() 240 inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZ; in virgl_tgsi_transform_prolog() 286 if (inst->Dst[i].Register.File == TGSI_FILE_TEMPORARY) { in virgl_tgsi_transform_instruction() 287 uint32_t index = inst->Dst[i].Register.Index / 8; in virgl_tgsi_transform_instruction() 288 uint32_t bits = inst->Dst[i].Register.WriteMask << (inst->Dst[i].Register.Index % 8); in virgl_tgsi_transform_instruction() 308 uint32_t bits = read_mask << (inst->Dst[i].Register.Index % 8); in virgl_tgsi_transform_instruction() 342 if (inst->Dst[i].Register.File == TGSI_FILE_OUTPUT) { in virgl_tgsi_transform_instruction() 344 if (inst->Dst[ in virgl_tgsi_transform_instruction() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 26 unsigned Loop, SDValue Chain, SDValue Dst, in emitMemMem() 41 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 44 return DAG.getNode(Sequence, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 49 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() 57 Chain, Dst, Src, CSize->getZExtValue()); in EmitTargetCodeForMemcpy() 62 // Chain, Dst, ByteVal and Size. These cases are expected to use 65 SDValue Dst, uint64_t ByteVal, uint64_t Size, in memsetStore() 72 Dst, DstPtrInfo, Align); in memsetStore() 76 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, in EmitTargetCodeForMemset() 79 EVT PtrVT = Dst in EmitTargetCodeForMemset() 25 emitMemMem(SelectionDAG &DAG, const SDLoc &DL, unsigned Sequence, unsigned Loop, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size) emitMemMem() argument 48 EmitTargetCodeForMemcpy( SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool IsVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const EmitTargetCodeForMemcpy() argument 64 memsetStore(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, uint64_t ByteVal, uint64_t Size, unsigned Align, MachinePointerInfo DstPtrInfo) memsetStore() argument 75 EmitTargetCodeForMemset( SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Byte, SDValue Size, unsigned Align, bool IsVolatile, MachinePointerInfo DstPtrInfo) const EmitTargetCodeForMemset() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | DependenceAnalysis.h | 79 Dst(Destination), in Dependence() 112 Instruction *getDst() const { return Dst; } in getDst() 201 Instruction *Src, *Dst; member in llvm::Dependence 216 FullDependence(Instruction *Src, Instruction *Dst, bool LoopIndependent, 281 /// depends - Tests for a dependence between the Src and Dst instructions. 285 /// if it appears that control flow can reach from Src to Dst 288 Instruction *Dst, 346 const SCEV *Dst; member 458 /// establishNestingLevels - Examines the loop nesting of the Src and Dst 475 /// ... - loops containing Src but not Dst [all...] |