Home
last modified time | relevance | path

Searched full:known (Results 1 – 25 of 10912) sorted by relevance

12345678910>>...437

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp21 #define DEBUG_TYPE "gisel-known-bits"
51 void GISelKnownBits::computeKnownBitsForFrameIndex(Register R, KnownBits &Known, in computeKnownBitsForFrameIndex() argument
55 computeKnownBitsForAlignment(Known, inferPtrAlignment(MI)); in computeKnownBitsForFrameIndex()
58 void GISelKnownBits::computeKnownBitsForAlignment(KnownBits &Known, in computeKnownBitsForAlignment() argument
61 // The low bits are known zero if the pointer is aligned. in computeKnownBitsForAlignment()
62 Known.Zero.setLowBits(Log2(Alignment)); in computeKnownBitsForAlignment()
70 KnownBits Known; in getKnownBits() local
74 computeKnownBitsImpl(R, Known, DemandedElts); in getKnownBits()
75 return Known; in getKnownBits()
90 void GISelKnownBits::computeKnownBitsImpl(Register R, KnownBits &Known, in computeKnownBitsImpl() argument
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp22 #define DEBUG_TYPE "gisel-known-bits"
73 KnownBits Known; in getKnownBits() local
74 computeKnownBitsImpl(R, Known, DemandedElts); in getKnownBits()
76 return Known; in getKnownBits()
92 dumpResult(const MachineInstr &MI, const KnownBits &Known, unsigned Depth) { in dumpResult() argument
93 dbgs() << "[" << Depth << "] Compute known bits: " << MI << "[" << Depth in dumpResult()
94 << "] Computed for: " << MI << "[" << Depth << "] Known: 0x" in dumpResult()
95 << toString(Known.Zero | Known.One, 16, false) << "\n" in dumpResult()
96 << "[" << Depth << "] Zero: 0x" << toString(Known.Zero, 16, false) in dumpResult()
98 << "[" << Depth << "] One: 0x" << toString(Known.One, 16, false) in dumpResult()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/
DKnownBits.h1 //===- llvm/Support/KnownBits.h - Stores known zeros/ones -------*- C++ -*-===//
9 // This file contains a class for representing known zeros and ones used by
22 // Struct for tracking the known zeros and ones of a value.
36 /// Create a known bits object of BitWidth bits initialized to unknown.
55 /// Returns the value when all bits have a known value. This just returns One
58 assert(isConstant() && "Can only get value when all bits are known"); in getConstant()
65 /// Resets the known state of all bits.
83 /// Make all bits known to be zero and discard any previous information.
89 /// Make all bits known to be one and discard any previous information.
95 /// Returns true if this value is known to be negative.
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/
DKnownBits.cpp1 //===-- KnownBits.cpp - Stores known zeros/ones ---------------------------===//
9 // This file contains a class for representing known zeros and ones used by
30 // Compute known bits of the carry. in computeForAddCarry()
34 // Compute set of known bits (where all three relevant bits are known). in computeForAddCarry()
38 APInt Known = std::move(LHSKnownUnion) & RHSKnownUnion & CarryKnownUnion; in computeForAddCarry() local
40 assert((PossibleSumZero & Known) == (PossibleSumOne & Known) && in computeForAddCarry()
41 "known bits of sum differ"); in computeForAddCarry()
43 // Compute known bits of the result. in computeForAddCarry()
45 KnownOut.Zero = ~std::move(PossibleSumZero) & Known; in computeForAddCarry()
46 KnownOut.One = std::move(PossibleSumOne) & Known; in computeForAddCarry()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp68 KnownBits Known(BitWidth); in SimplifyDemandedInstructionBits() local
71 Value *V = SimplifyDemandedUseBits(&Inst, DemandedMask, Known, in SimplifyDemandedInstructionBits()
84 KnownBits &Known, in SimplifyDemandedBits() argument
87 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits()
96 /// demanded bits. When this function is called, it is known that only the bits
101 /// analyzing the expression and setting KnownOne and known to be one in the
102 /// expression. Known.Zero contains all the bits that are known to be zero in
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
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp57 KnownBits Known(BitWidth); in SimplifyDemandedInstructionBits() local
60 Value *V = SimplifyDemandedUseBits(&Inst, DemandedMask, Known, in SimplifyDemandedInstructionBits()
73 KnownBits &Known, unsigned Depth) { in SimplifyDemandedBits() argument
75 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits()
86 /// demanded bits. When this function is called, it is known that only the bits
91 /// analyzing the expression and setting KnownOne and known to be one in the
92 /// expression. Known.Zero contains all the bits that are known to be zero in
96 /// Known.One and Known.Zero always follow the invariant that:
97 /// Known.One & Known.Zero == 0.
98 /// That is, a bit can't be both 1 and 0. Note that the bits in Known.One and
[all …]
/external/licenseclassifier/stringclassifier/
Dclassifier.go15 // Package stringclassifier finds the nearest match between a string and a set of known values. It
30 // for _, known := range knownTexts {
31 // if err := sc.AddValue(known.Name, known.Text); err != nil {
75 // A Classifier matches a string to a set of known values.
83 // allowed to consider a known value a possible match. This is used as
92 // Setting this to 0 will consider all known values as possible
119 // AddValue adds a known value to be matched against. If a value already exists
136 // AddPrecomputedValue adds a known value to be matched against. The value has
225 // NearestMatch returns the name of the known value that most closely matches
230 // If the string is equidistant from multiple known values, it is undefined
[all …]
/external/pigweed/pw_toolchain_bazel/cc_toolchain/private/
Dutils.bzl40 def _ensure_fulfillable(any_of, known, label, fail = fail):
46 if entry.label not in known:
56 def _to_untyped_flag_set(flag_set, known, fail = fail):
60 known = known,
97 def _to_untyped_flag_sets(flag_sets, known, fail):
100 out = [_to_untyped_flag_set(flag_set, known, fail) for flag_set in flag_sets]
120 def _to_untyped_implies(provider, known, fail = fail):
123 if feature.label not in known:
127 if action_config.label not in known:
132 def _to_untyped_feature(feature, known, fail = fail):
[all …]
/external/clang/test/Misc/
Ddiag-template-diffing.cpp6 // PR9548 - "no known conversion from 'vector<string>' to 'vector<string>'"
27 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<std::basic_s…
29 // CHECK-NOELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<std::basic…
31 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to param…
35 // CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to par…
46 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'I1<[5 * ...], 2, [2…
48 // CHECK-NOELIDE-NOTREE: candidate function not viable: no known conversion from 'I1<1, 2, 3, 4, 2,…
50 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to param…
57 // CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to par…
76 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'I2<double, [...], i…
[all …]
/external/rust/crates/zerocopy/tests/ui-msrv/
Dtransmute-ref-src-dst-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
5 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
15 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
19 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
29 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
33 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
43 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
47 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
50 = note: all local variables must have a statically known size
54 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[all …]
Dtransmute-mut-src-dst-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
5 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
15 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
19 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
29 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
33 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
43 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
47 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
57 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
61 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
[all …]
Dtransmute-ref-src-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
5 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
15 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
19 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
29 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
33 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
36 = note: all local variables must have a statically known size
40 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
44 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
54 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[all …]
Dtransmute-mut-src-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
5 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
15 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
19 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
29 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
33 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
43 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
47 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
57 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
61 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h1 //===- llvm/Support/KnownBits.h - Stores known zeros/ones -------*- C++ -*-===//
9 // This file contains a class for representing known zeros and ones used by
21 // Struct for tracking the known zeros and ones of a value.
35 /// Create a known bits object of BitWidth bits initialized to unknown.
54 /// Returns the value when all bits have a known value. This just returns One
57 assert(isConstant() && "Can only get value when all bits are known"); in getConstant()
64 /// Resets the known state of all bits.
82 /// Make all bits known to be zero and discard any previous information.
88 /// Make all bits known to be one and discard any previous information.
94 /// Returns true if this value is known to be negative.
[all …]
/external/rust/crates/zerocopy/tests/ui-stable/
Dtransmute-ref-src-dst-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
38 | doesn't have a size known at compile-time
49 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
53 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
56 = note: all local variables must have a statically known size
60 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[all …]
Dtransmute-mut-src-dst-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
38 | doesn't have a size known at compile-time
49 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
53 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
63 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
69 | doesn't have a size known at compile-time
[all …]
Dtransmute-mut-src-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
38 | doesn't have a size known at compile-time
49 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
53 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
63 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
67 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
[all …]
Dtransmute-ref-src-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
36 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
39 = note: all local variables must have a statically known size
43 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
47 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
60 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[all …]
/external/rust/crates/zerocopy/tests/ui-nightly/
Dtransmute-ref-src-dst-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
38 | doesn't have a size known at compile-time
49 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
53 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-t…
56 = note: all local variables must have a statically known size
60 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[all …]
Dtransmute-mut-src-dst-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
38 | doesn't have a size known at compile-time
49 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
53 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at c…
63 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
69 | doesn't have a size known at compile-time
[all …]
Dtransmute-mut-src-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
38 | doesn't have a size known at compile-time
49 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
53 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
63 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
67 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at co…
[all …]
Dtransmute-ref-src-unsized.stderr1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
7 | doesn't have a size known at compile-time
18 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
22 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
32 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
36 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
39 = note: all local variables must have a statically known size
43 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
47 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-ti…
60 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[all …]
/external/rust/crates/ash/src/vk/
Dconst_debugs.rs37 const KNOWN: &[(Flags, &str)] = &[ in fmt() constant
51 debug_flags(f, KNOWN, self.0) in fmt()
71 const KNOWN: &[(Flags, &str)] = &[]; in fmt() constant
72 debug_flags(f, KNOWN, self.0) in fmt()
77 const KNOWN: &[(Flags, &str)] = &[]; in fmt() constant
78 debug_flags(f, KNOWN, self.0) in fmt()
113 const KNOWN: &[(Flags, &str)] = &[ in fmt() constant
198 debug_flags(f, KNOWN, self.0) in fmt()
203 const KNOWN: &[(Flags64, &str)] = &[ in fmt() constant
331 debug_flags(f, KNOWN, self.0) in fmt()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp166 static void computeKnownBits(const Value *V, KnownBits &Known,
169 void llvm::computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() argument
174 ::computeKnownBits(V, Known, Depth, in computeKnownBits()
251 KnownBits Known = in isKnownNonNegative() local
253 return Known.isNonNegative(); in isKnownNonNegative()
271 KnownBits Known = in isKnownNegative() local
273 return Known.isNegative(); in isKnownNegative()
325 KnownBits &Known, KnownBits &Known2, in computeKnownBitsMul() argument
327 unsigned BitWidth = Known.getBitWidth(); in computeKnownBitsMul()
328 computeKnownBits(Op1, Known, Depth + 1, Q); in computeKnownBitsMul()
[all …]
/external/clang/test/SemaCXX/
Dcalling-conv-compat.cpp14 // expected-note@+4 {{candidate function not viable: no known conversion from 'void () __attribute_…
15 // expected-note@+3 {{candidate function not viable: no known conversion from 'void () __attribute_…
16 // expected-note@+2 {{candidate function not viable: no known conversion from 'void (*)() __attribu…
17 // expected-note@+1 {{candidate function not viable: no known conversion from 'void (*)() __attribu…
19 // expected-note@+4 {{candidate function not viable: no known conversion from 'void () __attribute_…
20 // expected-note@+3 {{candidate function not viable: no known conversion from 'void () __attribute_…
21 // expected-note@+2 {{candidate function not viable: no known conversion from 'void (*)() __attribu…
22 // expected-note@+1 {{candidate function not viable: no known conversion from 'void (*)() __attribu…
24 // expected-note@+3 {{candidate function not viable: no known conversion from 'void ()' to 'fptr_st…
25 // expected-note@+2 {{candidate function not viable: no known conversion from 'void () __attribute_…
[all …]

12345678910>>...437