/third_party/typescript/tests/baselines/reference/ |
D | recursiveMappedTypes.js | 87 export type ThemeValue<K extends keyof ThemeType, ThemeType, TVal = any> = 88 ThemeType[K] extends TVal[] ? number : 89 ThemeType[K] extends Record<infer E, TVal> ? E : 125 … keyof ThemeType, ThemeType, TVal = any> = ThemeType[K] extends TVal[] ? number : ThemeType[K] ext…
|
D | recursiveMappedTypes.types | 144 export type ThemeValue<K extends keyof ThemeType, ThemeType, TVal = any> = 145 >ThemeValue : ThemeValue<K, ThemeType, TVal> 147 ThemeType[K] extends TVal[] ? number : 148 ThemeType[K] extends Record<infer E, TVal> ? E :
|
D | recursiveMappedTypes.symbols | 248 export type ThemeValue<K extends keyof ThemeType, ThemeType, TVal = any> = 253 >TVal : Symbol(TVal, Decl(recursiveMappedTypes.ts, 85, 60)) 255 ThemeType[K] extends TVal[] ? number : 258 >TVal : Symbol(TVal, Decl(recursiveMappedTypes.ts, 85, 60)) 260 ThemeType[K] extends Record<infer E, TVal> ? E : 265 >TVal : Symbol(TVal, Decl(recursiveMappedTypes.ts, 85, 60))
|
D | recursiveMappedTypes.errors.txt | 117 export type ThemeValue<K extends keyof ThemeType, ThemeType, TVal = any> = 118 ThemeType[K] extends TVal[] ? number : 119 ThemeType[K] extends Record<infer E, TVal> ? E :
|
/third_party/typescript/tests/cases/conformance/types/mapped/ |
D | recursiveMappedTypes.ts | 88 export type ThemeValue<K extends keyof ThemeType, ThemeType, TVal = any> = 89 ThemeType[K] extends TVal[] ? number : 90 ThemeType[K] extends Record<infer E, TVal> ? E :
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 502 Value *TVal, Value *FVal, in foldSelectICmpAndAnd() argument 511 if (!match(TVal, m_OneUse(m_And(m_Value(B), m_One())))) in foldSelectICmpAndAnd() 735 static Value *canonicalizeSaturatedAdd(ICmpInst *Cmp, Value *TVal, Value *FVal, in canonicalizeSaturatedAdd() argument 747 match(TVal, m_Add(m_Value(X), m_APInt(C))) && X == Cmp0 && in canonicalizeSaturatedAdd() 760 std::swap(TVal, FVal); in canonicalizeSaturatedAdd() 763 if (!match(TVal, m_AllOnes())) in canonicalizeSaturatedAdd() 1057 Value *TVal = Sel.getTrueValue(); in canonicalizeAbsNabs() local 1059 assert(isKnownNegation(TVal, FVal) && in canonicalizeAbsNabs() 1064 bool CmpUsesNegatedOp = match(Cmp.getOperand(0), m_Neg(m_Specific(TVal))) || in canonicalizeAbsNabs() 1093 if (TVal == LHS) { in canonicalizeAbsNabs() [all …]
|
D | InstCombineCasts.cpp | 2164 Value *Cond, *TVal, *FVal; in foldBitCastSelect() local 2166 m_OneUse(m_Select(m_Value(Cond), m_Value(TVal), m_Value(FVal))))) in foldBitCastSelect() 2183 if (DestTy->isVectorTy() != TVal->getType()->isVectorTy()) in foldBitCastSelect() 2188 if (match(TVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect() 2198 Value *CastedVal = Builder.CreateBitCast(TVal, DestTy); in foldBitCastSelect()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCISelLowering.cpp | 167 SDValue TVal = Op.getOperand(2); in LowerSELECT_CC() local 173 return DAG.getNode(ARCISD::CMOV, dl, TVal.getValueType(), TVal, FVal, in LowerSELECT_CC()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2360 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerXOR() local 2366 return DAG.getNode(AArch64ISD::CSEL, dl, Op.getValueType(), TVal, FVal, in LowerXOR() 2385 SDValue TVal = Sel.getOperand(2); in LowerXOR() local 2393 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TVal); in LowerXOR() 2402 std::swap(TVal, FVal); in LowerXOR() 2413 TVal = DAG.getNode(ISD::XOR, dl, Other.getValueType(), Other, in LowerXOR() 2416 return DAG.getNode(AArch64ISD::CSEL, dl, Sel.getValueType(), FVal, TVal, in LowerXOR() 2471 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerXALUO() local 2478 Overflow = DAG.getNode(AArch64ISD::CSEL, dl, MVT::i32, FVal, TVal, in LowerXALUO() 5231 SDValue TVal = DAG.getConstant(1, dl, VT); in LowerSETCC() local [all …]
|
D | AArch64ISelLowering.h | 714 SDValue TVal, SDValue FVal, const SDLoc &dl,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 961 LatticeVal TVal = getValueState(I.getTrueValue()); in visitSelectInst() local 965 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 966 TVal.getConstant() == FVal.getConstant()) in visitSelectInst() 969 if (TVal.isUnknown()) // select ?, undef, X -> X. in visitSelectInst() 972 return (void)mergeInValue(&I, TVal); in visitSelectInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DebugInfo.cpp | 191 } else if (auto *TVal = dyn_cast<DITemplateValueParameter>(Element)) { in processSubprogram() local 192 processType(TVal->getType()); in processSubprogram()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 6030 Value *Cond, *TVal, *FVal; in optimizeShiftInst() local 6032 m_OneUse(m_Select(m_Value(Cond), m_Value(TVal), m_Value(FVal))))) in optimizeShiftInst() 6034 if (!isSplatValue(TVal) || !isSplatValue(FVal)) in optimizeShiftInst() 6039 Value *NewTVal = Builder.CreateBinOp(Opcode, Shift->getOperand(0), TVal); in optimizeShiftInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4477 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerSignedALUO() local 4481 SDValue Overflow = DAG.getNode(ARMISD::CMOV, dl, VT, TVal, FVal, in LowerSignedALUO() 4963 unsigned TVal = CTVal->getZExtValue(); in LowerSELECT_CC() local 4967 if (TVal == ~FVal) { in LowerSELECT_CC() 4969 } else if (TVal == ~FVal + 1) { in LowerSELECT_CC() 4971 } else if (TVal + 1 == FVal) { in LowerSELECT_CC() 4973 } else if (TVal == FVal + 1) { in LowerSELECT_CC() 4976 std::swap(TVal, FVal); in LowerSELECT_CC() 4984 HasLowerConstantMaterializationCost(FVal, TVal, Subtarget)) { in LowerSELECT_CC() 4986 std::swap(TVal, FVal); in LowerSELECT_CC() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1032 SDValue simplifySelect(SDValue Cond, SDValue TVal, SDValue FVal);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 4752 Value *TVal, Value *FVal, in matchMinMaxOfMinMax() argument 4758 SelectPatternResult L = matchSelectPattern(TVal, A, B, nullptr, Depth + 1); in matchMinMaxOfMinMax()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 37642 SDValue TVal = N->getOperand(1); in narrowVectorSelect() local 37645 if (!TVal.hasOneUse() || !FVal.hasOneUse() || in narrowVectorSelect() 37646 !collectConcatOps(TVal.getNode(), CatOpsT) || in narrowVectorSelect() 37654 return SplitOpsAndApply(DAG, Subtarget, SDLoc(N), VT, { Cond, TVal, FVal }, in narrowVectorSelect() 38516 ConstantSDNode *TVal = dyn_cast<ConstantSDNode>(SetCC.getOperand(1)); in checkBoolTestSetCCCombine() local 38518 if (!TVal) in checkBoolTestSetCCCombine() 38543 if (FValIsFalse && TVal->getZExtValue() != 1) in checkBoolTestSetCCCombine() 38545 if (!FValIsFalse && TVal->getZExtValue() != 0) in checkBoolTestSetCCCombine()
|