/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 24 APInt One; member 28 KnownBits(APInt Zero, APInt One) in KnownBits() 29 : Zero(std::move(Zero)), One(std::move(One)) {} in KnownBits() 32 // Default construct Zero and One. 36 KnownBits(unsigned BitWidth) : Zero(BitWidth, 0), One(BitWidth, 0) {} in KnownBits() 40 assert(Zero.getBitWidth() == One.getBitWidth() && in getBitWidth() 41 "Zero and One should have the same width!"); in getBitWidth() 46 bool hasConflict() const { return Zero.intersects(One); } in hasConflict() 51 return Zero.countPopulation() + One in isConstant() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | nonExportedElementsOfMergedModules.js | 2 module One { 9 module One { 20 var One;
variable 21 (function (One) {
29 })(One || (One = {}));
30 (function (One) {
40 })(One || (One = {}));
|
H A D | augmentedTypesEnum.js | 3 enum e1111 { One } // error 7 enum e2 { One } // error 10 enum e3 { One } // error 14 enum e4 { One } // error 18 enum e5 { One } 21 enum e5a { One } // error 22 enum e5a { One } // error 25 enum e6 { One } 28 enum e6a { One } 31 enum e6b { One } [all...] |
H A D | returnTypeTypeArguments.js | 2 class One<T>{ 15 function A1(): One { return null; } 24 A1(): One { return null; } 80 var One = /** @class */ (function () {
81 function One() {
83 return One;
|
H A D | augmentedTypesModules4.js | 8 enum m4a { One } 11 enum m4b { One } 14 enum m4c { One } 17 enum m4d { One } 34 m4a[m4a["One"] = 0] = "One";
41 m4b[m4b["One"] = 0] = "One";
45 m4c[m4c["One"] = 0] = "One";
[all...] |
H A D | simplifyingConditionalWithInteriorConditionalIsRelated.js | 26 type One = T extends string ? string : string; 27 type A = T extends number ? One : never; 28 const x: One = null as any as A;
|
H A D | objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.js | 6 class One { foo: string } 16 foo<T extends U, U extends One>(x: T, y: U): string { return null; } 39 var a: { foo<T extends U, U extends One>(x: T, y: U): string } 130 var One = /** @class */ (function () {
131 function One() {
133 return One;
|
H A D | importsNotUsedAsValues_error.js | 7 export const enum C { One, Two } 33 C.One; 57 const enum K { One, Two } 62 K.One; 112 0 /* C.One */;
144 0 /* K.One */;
|
H A D | objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.js | 6 class One { foo: string } 35 var a: { new<T extends U, U extends One>(x: T, y: U): string } 102 var One = /** @class */ (function () {
103 function One() {
105 return One;
|
H A D | exhaustiveSwitchStatements1.js | 126 One, 133 case Level.One: 137 next = Level.One; 379 Level[Level["One"] = 0] = "One";
385 case Level.One:
389 next = Level.One;
515 One = 0,
|
H A D | augmentedTypesModules.js | 79 enum m4a { One } 82 enum m4b { One } 85 enum m4c { One } 88 enum m4d { One } 216 m4a[m4a["One"] = 0] = "One";
223 m4b[m4b["One"] = 0] = "One";
227 m4c[m4c["One"] = 0] = "One";
[all...] |
H A D | augmentedTypesEnum2.js | 3 enum e1 { One } // error 12 enum e2 { One }; // error 26 e1[e1["One"] = 0] = "One";
32 e2[e2["One"] = 0] = "One";
|
H A D | importElisionConstEnumMerge1.js | 5 One = 1, 17 Enum.One; 31 1 /* Enum.One */;
|
H A D | controlFlowManyConsecutiveConditionsNoTimeout.js | 3 One, 7 const choice: Choice = Choice.One; 8 const choiceOne = Choice.One; 141 Choice[Choice["One"] = 0] = "One";
144 var choice = Choice.One;
145 var choiceOne = Choice.One;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 88 APInt GISelKnownBits::getKnownOnes(Register R) { return getKnownBits(R).One; } in getKnownOnes() 146 Known.One = *CstVal; in computeKnownBitsImpl() 147 Known.Zero = ~Known.One; in computeKnownBitsImpl() 176 APInt KnownZeroOut = (Known.Zero & Known2.Zero) | (Known.One & Known2.One); in computeKnownBitsImpl() 178 Known.One = (Known.Zero & Known2.One) | (Known.One & Known2.Zero); in computeKnownBitsImpl() 218 Known.One &= Known2.One; in computeKnownBitsImpl() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | KnownBits.cpp | 29 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One; in computeForAddCarry() 32 APInt LHSKnownUnion = LHS.Zero | LHS.One; in computeForAddCarry() 33 APInt RHSKnownUnion = RHS.Zero | RHS.One; in computeForAddCarry() 43 KnownOut.One = std::move(PossibleSumOne) & Known; in computeForAddCarry() 51 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry() 63 std::swap(RHS.Zero, RHS.One); in computeForAddSub()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 106 /// Known.One and Known.Zero always follow the invariant that: 107 /// Known.One & Known.Zero == 0. 108 /// That is, a bit can't be both 1 and 0. Note that the bits in Known.One and 110 /// also that the bitwidth of V, DemandedMask, Known.Zero and Known.One must all 179 APInt IKnownOne = RHSKnown.One & LHSKnown.One; in SimplifyDemandedUseBits() 188 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyDemandedUseBits() 190 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyDemandedUseBits() 198 Known.One = std::move(IKnownOne); in SimplifyDemandedUseBits() 202 // If either the LHS or the RHS are One, th in SimplifyDemandedUseBits() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 405 APInt Bottom0 = Known.One; in computeKnownBitsMul() 406 APInt Bottom1 = Known2.One; in computeKnownBitsMul() 410 unsigned TrailBitsKnown0 = (Known.Zero | Known.One).countTrailingOnes(); in computeKnownBitsMul() 411 unsigned TrailBitsKnown1 = (Known2.Zero | Known2.One).countTrailingOnes(); in computeKnownBitsMul() 427 Known.One |= BottomKnown.getLoBits(ResultBitsKnown); in computeKnownBitsMul() 447 Known.One.setAllBits(); in computeKnownBitsFromRangeMetadata() 461 Known.One &= Range.getUnsignedMax() & Mask; in computeKnownBitsFromRangeMetadata() 711 Known.One |= RHSKnown.One; in computeKnownBitsFromAssume() 723 Known.Zero |= RHSKnown.Zero & MaskKnown.One; in computeKnownBitsFromAssume() [all...] |
/third_party/rust/crates/regex/regex-syntax/src/ |
H A D | utf8.rs | 14 whether a particular byte sequence was a Cyrillic character. One possible 101 /// One byte range. 102 One(Utf8Range), 142 One(ref r) => slice::from_ref(r), in as_slice() 174 Utf8Sequence::One(_) => {} in reverse() 209 One(ref r) => write!(f, "{:?}", r), 363 return Some(Utf8Sequence::One(ascii_range)); in fmt() 513 One(rutf8(0x0, 0x7F)), in bmp() 543 let mut s = One(rutf8(0xA, 0xB)); in reverse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 161 ConstantInt *One; in generateUnsignedDivisionCode() local 167 One = Builder.getInt64(1); in generateUnsignedDivisionCode() 173 One = Builder.getInt32(1); in generateUnsignedDivisionCode() 271 Value *SR_1 = Builder.CreateAdd(SR, One); in generateUnsignedDivisionCode() 309 Value *Tmp5 = Builder.CreateShl(R_1, One); in generateUnsignedDivisionCode() 312 Value *Tmp8 = Builder.CreateShl(Q_2, One); in generateUnsignedDivisionCode() 316 Value *Carry = Builder.CreateAnd(Tmp10, One); in generateUnsignedDivisionCode() 332 Value *Tmp13 = Builder.CreateShl(Q_3, One); in generateUnsignedDivisionCode()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | ColorStateTests.cpp | 147 blendComponent.srcFactor = wgpu::BlendFactor::One; in CheckBlendOperation() 148 blendComponent.dstFactor = wgpu::BlendFactor::One; in CheckBlendOperation() 202 CheckBlendFactor(base, colorFactor, wgpu::BlendFactor::One, alphaFactor, in CheckSrcBlendFactor() 203 wgpu::BlendFactor::One, tests); in CheckSrcBlendFactor() 210 CheckBlendFactor(base, wgpu::BlendFactor::One, colorFactor, wgpu::BlendFactor::One, in CheckDstBlendFactor() 305 blendComponent.srcFactor = wgpu::BlendFactor::One; in TEST_P() 378 CheckSrcBlendFactor(base, wgpu::BlendFactor::One, wgpu::BlendFactor::One, tests); in TEST_P() 539 CheckDstBlendFactor(base, wgpu::BlendFactor::One, wgp in TEST_P() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.h | 151 // possible bit values. One extension here is the "Ref" type, which 158 One, // Bit = 1. enumerator 194 BitValue(bool B) : Type(B ? One : Zero) {} in BitValue() 211 : (T == 1 ? Type == One : false); in is() 257 return Type == Zero || Type == One; in num() 261 assert(Type == Zero || Type == One); in operator bool() 262 return Type == One; in operator bool()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 409 APInt One(Idx->getBitWidth(), 1); in allocateCandidatesAndFindBasisForAdd() 410 Idx = ConstantInt::get(Idx->getContext(), One << Idx->getValue()); in allocateCandidatesAndFindBasisForAdd() 414 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd() local 415 allocateCandidatesAndFindBasis(Candidate::Add, SE->getSCEV(LHS), One, RHS, in allocateCandidatesAndFindBasisForAdd() 493 // One alternative is matching the SCEV of ArrayIdx instead of ArrayIdx in factorArrayIndex() 511 APInt One(RHS->getBitWidth(), 1); in factorArrayIndex() 513 ConstantInt::get(RHS->getContext(), One << RHS->getValue()); in factorArrayIndex()
|
/third_party/rust/crates/regex/src/ |
H A D | compile.rs | 755 Hole::One(pc) => { in fill() 779 Hole::One(pc) => match (goto1, goto2) { in fill_split() 786 Hole::One(pc) in fill_split() 790 Hole::One(pc) in fill_split() 820 Hole::One(hole) in push_hole() 826 Hole::One(hole) in push_split_hole() 850 One(InstPtr), 857 Hole::One(pc) => (Hole::One(pc), Hole::One(p in dup_one() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 2275 return Mask.isSubsetOf(computeKnownBits(V, Depth).One); 2511 Known.One = C->getAPIntValue(); 2512 Known.Zero = ~Known.One; 2517 Known.One = C->getValueAPF().bitcastToAPInt(); 2518 Known.Zero = ~Known.One; 2538 Known.Zero.setAllBits(); Known.One.setAllBits(); 2554 Known.One &= Known2.One; 2566 Known.Zero.setAllBits(); Known.One.setAllBits(); 2592 Known.One [all...] |