Home
last modified time | relevance | path

Searched refs:Val (Results 1 - 25 of 630) sorted by relevance

12345678910>>...26

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DCasting.h37 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
47 static RetType getSimplifiedValue(const From& Val) { in getSimplifiedValue()
48 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); in getSimplifiedValue()
57 static inline bool doit(const From &Val) { in doit()
58 return To::classof(&Val); in doit()
70 static inline bool doit(const From &Val) { in doit()
71 return isa_impl<To, From>::doit(Val); in doit()
76 static inline bool doit(const From &Val) { in doit()
77 return isa_impl<To, From>::doit(Val); in doit()
141 isa(const Y &Val) isa() argument
150 isa_and_nonnull(const Y &Val) isa_and_nonnull() argument
249 cast(const Y &Val) cast() argument
256 cast(Y &Val) cast() argument
263 cast(Y *Val) cast() argument
271 cast(std::unique_ptr<Y> &&Val) cast() argument
286 cast_or_null(const Y &Val) cast_or_null() argument
297 cast_or_null(Y &Val) cast_or_null() argument
306 cast_or_null(Y *Val) cast_or_null() argument
314 cast_or_null(std::unique_ptr<Y> &&Val) cast_or_null() argument
332 dyn_cast(const Y &Val) dyn_cast() argument
337 dyn_cast(Y &Val) dyn_cast() argument
342 dyn_cast(Y *Val) dyn_cast() argument
353 dyn_cast_or_null(const Y &Val) dyn_cast_or_null() argument
361 dyn_cast_or_null(Y &Val) dyn_cast_or_null() argument
367 dyn_cast_or_null(Y *Val) dyn_cast_or_null() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DITypVectorTests.cpp23 using Val = TypedInteger<struct ValT, uint32_t>;
25 using Vector = ityp::vector<Key, Val>;
42 ASSERT_EQ(vec[i], Val(0)); in TEST_F()
48 Vector vec(Key(10), Val(7)); in TEST_F()
52 ASSERT_EQ(vec[i], Val(7)); in TEST_F()
58 Vector vec = {Val(2), Val(8), Val(1)}; in TEST_F()
60 ASSERT_EQ(vec[Key(0)], Val(2)); in TEST_F()
61 ASSERT_EQ(vec[Key(1)], Val( in TEST_F()
[all...]
H A DITypArrayTests.cpp23 using Val = TypedInteger<struct ValT, uint32_t>;
24 using Array = ityp::array<Key, Val, 10>;
28 static constexpr Array kArr = {Val(0), Val(1), Val(2), Val(3), Val(4),
29 Val(5), Val(6), Val(
[all...]
H A DITypSpanTests.cpp25 using Val = TypedInteger<struct ValT, uint32_t>;
26 using Span = ityp::span<Key, Val>;
31 std::array<Val, 10> arr; in TEST_F()
34 span[Key(2)] = Val(5); in TEST_F()
35 span[Key(1)] = Val(9); in TEST_F()
36 span[Key(9)] = Val(2); in TEST_F()
38 ASSERT_EQ(span[Key(2)], Val(5)); in TEST_F()
39 ASSERT_EQ(span[Key(1)], Val(9)); in TEST_F()
40 ASSERT_EQ(span[Key(9)], Val(2)); in TEST_F()
46 std::array<Val, 1 in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DTinyPtrVector.h41 PtrUnion Val; member in llvm::TinyPtrVector
47 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in ~TinyPtrVector()
51 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { in TinyPtrVector()
52 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in TinyPtrVector()
53 Val = new VecTy(*V); in TinyPtrVector()
66 if (Val.template is<EltTy>()) { in operator =()
68 Val = RHS.front(); in operator =()
70 Val = new VecTy(*RHS.Val in operator =()
[all...]
H A DDenseMapInfo.h32 //static unsigned getHashValue(const T &Val);
40 uintptr_t Val = static_cast<uintptr_t>(-1); in getEmptyKey() local
41 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; in getEmptyKey()
42 return reinterpret_cast<T*>(Val); in getEmptyKey()
46 uintptr_t Val = static_cast<uintptr_t>(-2); in getTombstoneKey() local
47 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; in getTombstoneKey()
48 return reinterpret_cast<T*>(Val); in getTombstoneKey()
63 static unsigned getHashValue(const char& Val) { return Val * 37U; } in getHashValue()
74 static unsigned getHashValue(const unsigned char &Val) { retur in getTombstoneKey()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.h61 MCOperand createRegOperand(unsigned RegClassID, unsigned Val) const;
62 MCOperand createSRegOperand(unsigned SRegClassID, unsigned Val) const;
73 MCOperand decodeOperand_VGPR_32(unsigned Val) const;
74 MCOperand decodeOperand_VRegOrLds_32(unsigned Val) const;
76 MCOperand decodeOperand_VS_32(unsigned Val) const;
77 MCOperand decodeOperand_VS_64(unsigned Val) const;
78 MCOperand decodeOperand_VS_128(unsigned Val) const;
79 MCOperand decodeOperand_VSrc16(unsigned Val) const;
80 MCOperand decodeOperand_VSrcV216(unsigned Val) const;
82 MCOperand decodeOperand_VReg_64(unsigned Val) cons
[all...]
H A DAMDGPUDisassembler.cpp104 static DecodeStatus decodeBoolReg(MCInst &Inst, unsigned Val, in decodeBoolReg() argument
107 return addOperand(Inst, DAsm->decodeBoolReg(Val)); in decodeBoolReg()
615 unsigned Val) const { in createRegOperand()
617 if (Val >= RegCl.getNumRegs()) in createRegOperand()
618 return errOperand(Val, Twine(getRegClassName(RegClassID)) + in createRegOperand()
619 ": unknown register " + Twine(Val)); in createRegOperand()
620 return createRegOperand(RegCl.getRegister(Val)); in createRegOperand()
625 unsigned Val) const { in createSRegOperand()
655 if (Val % (1 << shift)) { in createSRegOperand()
657 << ": scalar reg isn't aligned " << Val; in createSRegOperand()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DCasting.h36 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
45 static RetType getSimplifiedValue(const From& Val) { in getSimplifiedValue()
46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); in getSimplifiedValue()
55 static inline bool doit(const From &Val) { in doit()
56 return To::classof(&Val); in doit()
68 static inline bool doit(const From &Val) { in doit()
69 return isa_impl<To, From>::doit(Val); in doit()
74 static inline bool doit(const From &Val) { in doit()
75 return isa_impl<To, From>::doit(Val); in doit()
131 isa(const Y &Val) isa() argument
221 cast(const Y &Val) cast() argument
228 cast(Y &Val) cast() argument
235 cast(Y *Val) cast() argument
248 cast_or_null(const Y &Val) cast_or_null() argument
259 cast_or_null(Y &Val) cast_or_null() argument
268 cast_or_null(Y *Val) cast_or_null() argument
287 dyn_cast(const Y &Val) dyn_cast() argument
292 dyn_cast(Y &Val) dyn_cast() argument
297 dyn_cast(Y *Val) dyn_cast() argument
308 dyn_cast_or_null(const Y &Val) dyn_cast_or_null() argument
316 dyn_cast_or_null(Y &Val) dyn_cast_or_null() argument
322 dyn_cast_or_null(Y *Val) dyn_cast_or_null() argument
[all...]
H A DMathExtras.h46 static std::size_t count(T Val, ZeroBehavior) { in count()
47 if (!Val) in count()
49 if (Val & 0x1) in count()
57 if ((Val & Mask) == 0) { in count()
58 Val >>= Shift; in count()
70 static std::size_t count(T Val, ZeroBehavior ZB) { in count()
71 if (ZB != ZB_Undefined && Val == 0) in count()
75 return __builtin_ctz(Val); in count()
78 _BitScanForward(&Index, Val); in count()
86 static std::size_t count(T Val, ZeroBehavio
111 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) countTrailingZeros() argument
180 countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) countLeadingZeros() argument
194 findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) findFirstSet() argument
208 findLastSet(T Val, ZeroBehavior ZB = ZB_Max) findLastSet() argument
233 reverseBits(T Val) reverseBits() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_cast_main.cpp97 void testValue(FromType Val, size_t &TotalTests, size_t &Passes, in testValue() argument
99 COMPARE(cast, FromType, bool, Val, FromTypeString); in testValue()
100 COMPARE(cast, FromType, uint8_t, Val, FromTypeString); in testValue()
101 COMPARE(cast, FromType, myint8_t, Val, FromTypeString); in testValue()
102 COMPARE(cast, FromType, uint16_t, Val, FromTypeString); in testValue()
103 COMPARE(cast, FromType, int16_t, Val, FromTypeString); in testValue()
104 COMPARE(cast, FromType, uint32_t, Val, FromTypeString); in testValue()
105 COMPARE(cast, FromType, int32_t, Val, FromTypeString); in testValue()
106 COMPARE(cast, FromType, uint64, Val, FromTypeString); in testValue()
107 COMPARE(cast, FromType, int64, Val, FromTypeStrin in testValue()
253 bool Val = ValsUi1[i]; main() local
257 uint8_t Val = ValsUi8[i]; main() local
261 myint8_t Val = ValsSi8[i]; main() local
265 uint16_t Val = ValsUi16[i]; main() local
269 int16_t Val = ValsSi16[i]; main() local
273 uint32_t Val = ValsUi32[i]; main() local
279 int32_t Val = ValsSi32[i]; main() local
283 uint64 Val = ValsUi64[i]; main() local
289 int64 Val = ValsSi64[i]; main() local
294 float Val = ValsF32[i]; main() local
304 double Val = ValsF64[i]; main() local
[all...]
/third_party/node/deps/v8/third_party/wasm-api/
H A Dwasm.hh119 // TODO: This can't be used for e.g. vec<Val>
408 class Val {
418 Val(ValKind kind, impl impl) : kind_(kind), impl_(impl) {}
421 Val() : kind_(ANYREF) { impl_.ref = nullptr; }
422 Val(int32_t i) : kind_(I32) { impl_.i32 = i; }
423 Val(int64_t i) : kind_(I64) { impl_.i64 = i; }
424 Val(float32_t z) : kind_(F32) { impl_.f32 = z; }
425 Val(float64_t z) : kind_(F64) { impl_.f64 = z; }
426 Val(own<Ref>&& r) : kind_(ANYREF) { impl_.ref = r.release(); }
428 Val(Va
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DPointerUnion.h93 ValTy Val;
107 : Val(const_cast<void *>(
110 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)),
118 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
129 return static_cast<int>(Val.getInt()) == TyNo;
137 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer());
157 assert(is<PT1>() && "Val is not the first pointer"); in getAddrOfPtr1()
159 get<PT1>() == Val.getPointer() && in getAddrOfPtr1()
161 return (PT1 *)Val.getAddrOfPointer(); in getAddrOfPtr1()
166 Val in operator =()
235 ValTy Val; global() member in llvm::PointerUnion3
238 ValTy Val; global() member
250 ValTy Val; global() member
358 ValTy Val; global() member in llvm::PointerUnion4
[all...]
H A DDenseMapInfo.h29 //static unsigned getHashValue(const T &Val);
37 uintptr_t Val = static_cast<uintptr_t>(-1); in getEmptyKey() local
38 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; in getEmptyKey()
39 return reinterpret_cast<T*>(Val); in getEmptyKey()
42 uintptr_t Val = static_cast<uintptr_t>(-2); in getTombstoneKey() local
43 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; in getTombstoneKey()
44 return reinterpret_cast<T*>(Val); in getTombstoneKey()
57 static unsigned getHashValue(const char& Val) { return Val * 37U; } in getHashValue()
67 static unsigned getHashValue(const unsigned& Val) { retur in getTombstoneKey()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DMCSymbolELF.cpp43 unsigned Val; in setBinding() local
48 Val = 0; in setBinding()
51 Val = 1; in setBinding()
54 Val = 2; in setBinding()
57 Val = 3; in setBinding()
61 setFlags(OtherFlags | (Val << ELF_STB_Shift)); in setBinding()
66 uint32_t Val = (Flags >> ELF_STB_Shift) & 3; in getBinding() local
67 switch (Val) { in getBinding()
93 unsigned Val; in setType() local
98 Val in setType()
124 uint32_t Val = (Flags >> ELF_STT_Shift) & 7; getType() local
[all...]
/third_party/node/deps/v8/third_party/wasm-api/example/
H A Dtable.cc12 const wasm::Val args[], wasm::Val results[]
15 results[0] = wasm::Val(-args[0].i32());
52 const wasm::Func* func, wasm::Val&& arg1, wasm::Val&& arg2
53 ) -> wasm::Val {
54 wasm::Val args[2] = {std::move(arg1), std::move(arg2)};
55 wasm::Val results[1];
63 void check_trap(const wasm::Func* func, wasm::Val&& arg1, wasm::Val
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.h57 /// Returns true iff Val consists of one contiguous run of 1s with any number of
61 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { in isRunOfOnes() argument
62 if (!Val) in isRunOfOnes()
65 if (isShiftedMask_32(Val)) { in isRunOfOnes()
67 MB = countLeadingZeros(Val); in isRunOfOnes()
69 ME = countLeadingZeros((Val - 1) ^ Val); in isRunOfOnes()
72 Val = ~Val; // invert mask in isRunOfOnes()
73 if (isShiftedMask_32(Val)) { in isRunOfOnes()
85 isRunOfOnes64(uint64_t Val, unsigned &MB, unsigned &ME) isRunOfOnes64() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DValue.h415 #define HANDLE_VALUE(Name) Name##Val,
419 #define HANDLE_CONSTANT_MARKER(Marker, Constant) Marker = Constant##Val,
624 if (Val) removeFromList(); in set()
625 Val = V; in set()
635 set(RHS.Val); in operator =()
710 static inline bool doit(const Value &Val) { in doit()
711 return Val.getValueID() >= Value::ConstantFirstVal && in doit()
712 Val.getValueID() <= Value::ConstantLastVal; in doit()
717 static inline bool doit(const Value &Val) { in doit()
718 return Val in doit()
[all...]
H A DUse.h71 if (Val) in ~Use()
78 Use(PrevPtrTag tag) : Val(nullptr) { Prev.setInt(tag); } in Use()
81 operator Value *() const { return Val; } in operator Value *()
82 Value *get() const { return Val; } in get()
90 inline void set(Value *Val);
95 Value *operator->() { return Val; } in operator ->()
96 const Value *operator->() const { return Val; } in operator ->()
116 Value *Val; member in llvm::Use
144 static SimpleType getSimplifiedValue(Use &Val) { return Val
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp28 Value *Val = CXI->getNewValOperand(); in LowerAtomicCmpXchgInst() local
30 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in LowerAtomicCmpXchgInst()
32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst()
46 Value *Val = RMWI->getValOperand(); in LowerAtomicRMWInst() local
48 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in LowerAtomicRMWInst()
54 Res = Val; in LowerAtomicRMWInst()
57 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
60 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
63 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DModule.cpp279 uint64_t Val = Behavior->getLimitedValue();
280 if (Val >= ModFlagBehaviorFirstVal && Val <= ModFlagBehaviorLastVal) {
281 MFB = static_cast<ModFlagBehavior>(Val);
302 Metadata *Val = Flag->getOperand(2);
303 Flags.push_back(ModuleFlagEntry(MFB, Key, Val));
315 return MFE.Val;
338 Metadata *Val) {
342 MDString::get(Context, Key), Val};
346 Constant *Val) {
[all...]
H A DUse.cpp17 if (Val == RHS.Val) in swap()
20 if (Val) in swap()
23 Value *OldVal = Val; in swap()
24 if (RHS.Val) { in swap()
26 Val = RHS.Val; in swap()
27 Val->addUse(*this); in swap()
29 Val = nullptr; in swap()
33 RHS.Val in swap()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DValueLattice.cpp12 raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) { in operator <<() argument
13 if (Val.isUndefined()) in operator <<()
15 if (Val.isOverdefined()) in operator <<()
18 if (Val.isNotConstant()) in operator <<()
19 return OS << "notconstant<" << *Val.getNotConstant() << ">"; in operator <<()
20 if (Val.isConstantRange()) in operator <<()
21 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " in operator <<()
22 << Val.getConstantRange().getUpper() << ">"; in operator <<()
23 return OS << "constant<" << *Val.getConstant() << ">"; in operator <<()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
H A DMCInst.h80 void setImm(int64_t Val) { in setImm() argument
82 ImmVal = Val; in setImm()
90 void setFPImm(double Val) { in setFPImm() argument
92 FPImmVal = Val; in setFPImm()
100 void setExpr(const MCExpr *Val) { in setExpr() argument
102 ExprVal = Val; in setExpr()
110 void setInst(const MCInst *Val) { in setInst() argument
112 InstVal = Val; in setInst()
122 static MCOperand createImm(int64_t Val) { in createImm() argument
125 Op.ImmVal = Val; in createImm()
129 createFPImm(double Val) createFPImm() argument
136 createExpr(const MCExpr *Val) createExpr() argument
143 createInst(const MCInst *Val) createInst() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DSIMCCodeEmitter.cpp108 static uint32_t getLit16Encoding(uint16_t Val, const MCSubtargetInfo &STI) { in getLit16Encoding() argument
109 uint16_t IntImm = getIntInlineImmEncoding(static_cast<int16_t>(Val)); in getLit16Encoding()
113 if (Val == 0x3800) // 0.5 in getLit16Encoding()
116 if (Val == 0xB800) // -0.5 in getLit16Encoding()
119 if (Val == 0x3C00) // 1.0 in getLit16Encoding()
122 if (Val == 0xBC00) // -1.0 in getLit16Encoding()
125 if (Val == 0x4000) // 2.0 in getLit16Encoding()
128 if (Val == 0xC000) // -2.0 in getLit16Encoding()
131 if (Val == 0x4400) // 4.0 in getLit16Encoding()
134 if (Val in getLit16Encoding()
144 getLit32Encoding(uint32_t Val, const MCSubtargetInfo &STI) getLit32Encoding() argument
180 getLit64Encoding(uint64_t Val, const MCSubtargetInfo &STI) getLit64Encoding() argument
[all...]

Completed in 13 milliseconds

12345678910>>...26