/third_party/skia/third_party/externals/tint/src/resolver/ |
D | var_let_test.cc | 78 EXPECT_EQ(Sem().Get(i)->Constructor(), nullptr); in TEST_F() 79 EXPECT_EQ(Sem().Get(u)->Constructor(), nullptr); in TEST_F() 80 EXPECT_EQ(Sem().Get(f)->Constructor(), nullptr); in TEST_F() 81 EXPECT_EQ(Sem().Get(b)->Constructor(), nullptr); in TEST_F() 82 EXPECT_EQ(Sem().Get(s)->Constructor(), nullptr); in TEST_F() 83 EXPECT_EQ(Sem().Get(a)->Constructor(), nullptr); in TEST_F() 142 EXPECT_EQ(Sem().Get(i)->Constructor()->Declaration(), i_c); in TEST_F() 143 EXPECT_EQ(Sem().Get(u)->Constructor()->Declaration(), u_c); in TEST_F() 144 EXPECT_EQ(Sem().Get(f)->Constructor()->Declaration(), f_c); in TEST_F() 145 EXPECT_EQ(Sem().Get(b)->Constructor()->Declaration(), b_c); in TEST_F() [all …]
|
D | resolver_behavior_test.cc | 45 auto* sem = Sem().Get(stmt); in TEST_F() 56 auto* sem = Sem().Get(stmt); in TEST_F() 67 auto* sem = Sem().Get(stmt); in TEST_F() 85 auto* sem = Sem().Get(stmt); in TEST_F() 98 auto* sem = Sem().Get(stmt); in TEST_F() 111 auto* sem = Sem().Get(stmt); in TEST_F() 124 auto* sem = Sem().Get(stmt); in TEST_F() 135 auto* sem = Sem().Get(stmt); in TEST_F() 147 auto* sem = Sem().Get(stmt); in TEST_F() 158 auto* sem = Sem().Get(stmt); in TEST_F() [all …]
|
D | control_block_validation_test.cc | 100 EXPECT_TRUE(Sem().Get(decl_z)->IsReachable()); in TEST_F() 101 EXPECT_TRUE(Sem().Get(cont)->IsReachable()); in TEST_F() 102 EXPECT_FALSE(Sem().Get(assign_z)->IsReachable()); in TEST_F() 119 EXPECT_TRUE(Sem().Get(decl_z)->IsReachable()); in TEST_F() 120 EXPECT_TRUE(Sem().Get(cont)->IsReachable()); in TEST_F() 121 EXPECT_FALSE(Sem().Get(assign_z)->IsReachable()); in TEST_F() 138 EXPECT_TRUE(Sem().Get(decl_z)->IsReachable()); in TEST_F() 139 EXPECT_TRUE(Sem().Get(cont)->IsReachable()); in TEST_F() 140 EXPECT_FALSE(Sem().Get(assign_z)->IsReachable()); in TEST_F() 158 EXPECT_TRUE(Sem().Get(decl_z)->IsReachable()); in TEST_F() [all …]
|
D | resolver_test_helper.h | 49 auto* sem_stmt = Sem().Get(expr)->Stmt(); in StmtOf() 58 auto* sem_stmt = Sem().Get(stmt); in BlockOf() 67 auto* sem_stmt = Sem().Get(expr)->Stmt(); in BlockOf() 76 auto* sem_ident = Sem().Get(expr); in VarOf() 87 auto& var_users = Sem().Get(var)->Users(); in CheckVarUsers() 196 static inline const sem::Type* Sem(ProgramBuilder& b) { 218 static inline const sem::Type* Sem(ProgramBuilder& b) { 240 static inline const sem::Type* Sem(ProgramBuilder& b) { 262 static inline const sem::Type* Sem(ProgramBuilder& b) { 286 static inline const sem::Type* Sem(ProgramBuilder& b) { [all …]
|
D | compound_statement_test.cc | 40 auto* s = Sem().Get(stmt); in TEST_F() 63 auto* s = Sem().Get(block); in TEST_F() 70 auto* s = Sem().Get(stmt); in TEST_F() 99 auto* s = Sem().Get(loop); in TEST_F() 106 auto* s = Sem().Get(stmt_a); in TEST_F() 125 auto* s = Sem().Get(stmt_b); in TEST_F() 169 auto* s = Sem().Get(for_); in TEST_F() 176 auto* s = Sem().Get(init); in TEST_F() 184 auto* e = Sem().Get(cond); in TEST_F() 195 auto* s = Sem().Get(cont); in TEST_F() [all …]
|
D | resolver_constants_test.cc | 35 auto* sem = Sem().Get(expr); in TEST_F() 50 auto* sem = Sem().Get(expr); in TEST_F() 65 auto* sem = Sem().Get(expr); in TEST_F() 80 auto* sem = Sem().Get(expr); in TEST_F() 95 auto* sem = Sem().Get(expr); in TEST_F() 114 auto* sem = Sem().Get(expr); in TEST_F() 133 auto* sem = Sem().Get(expr); in TEST_F() 152 auto* sem = Sem().Get(expr); in TEST_F() 171 auto* sem = Sem().Get(expr); in TEST_F() 190 auto* sem = Sem().Get(expr); in TEST_F() [all …]
|
D | function_validation_test.cc | 138 EXPECT_TRUE(Sem().Get(decl_a)->IsReachable()); in TEST_F() 139 EXPECT_TRUE(Sem().Get(ret)->IsReachable()); in TEST_F() 140 EXPECT_FALSE(Sem().Get(assign_a)->IsReachable()); in TEST_F() 159 EXPECT_TRUE(Sem().Get(decl_a)->IsReachable()); in TEST_F() 160 EXPECT_TRUE(Sem().Get(ret)->IsReachable()); in TEST_F() 161 EXPECT_FALSE(Sem().Get(assign_a)->IsReachable()); in TEST_F() 179 EXPECT_TRUE(Sem().Get(decl_a)->IsReachable()); in TEST_F() 180 EXPECT_TRUE(Sem().Get(discard)->IsReachable()); in TEST_F() 181 EXPECT_FALSE(Sem().Get(assign_a)->IsReachable()); in TEST_F() 200 EXPECT_TRUE(Sem().Get(decl_a)->IsReachable()); in TEST_F() [all …]
|
D | resolver_test.cc | 772 auto* func_sem = Sem().Get(func); in TEST_F() 806 auto* func_sem = Sem().Get(func); in TEST_F() 844 auto* func2_sem = Sem().Get(func2); in TEST_F() 864 auto* func_sem = Sem().Get(func); in TEST_F() 879 auto* func_sem = Sem().Get(func); in TEST_F() 891 auto* func_sem = Sem().Get(func); in TEST_F() 911 auto* foo_sem = Sem().Get(foo); in TEST_F() 917 auto* bar_sem = Sem().Get(bar); in TEST_F() 929 auto* func_sem = Sem().Get(func); in TEST_F() 949 auto* func_sem = Sem().Get(func); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/ |
D | append_vector_test.cc | 48 auto* call = Sem().Get(vec_123); in TEST_F() 51 EXPECT_EQ(call->Arguments()[0], Sem().Get(scalar_1)); in TEST_F() 52 EXPECT_EQ(call->Arguments()[1], Sem().Get(scalar_2)); in TEST_F() 53 EXPECT_EQ(call->Arguments()[2], Sem().Get(scalar_3)); in TEST_F() 92 auto* call = Sem().Get(vec_123); in TEST_F() 95 EXPECT_EQ(call->Arguments()[0], Sem().Get(scalar_1)); in TEST_F() 96 EXPECT_EQ(call->Arguments()[1], Sem().Get(scalar_2)); in TEST_F() 97 EXPECT_EQ(call->Arguments()[2], Sem().Get(u32_to_i32)); in TEST_F() 145 auto* call = Sem().Get(vec_123); in TEST_F() 148 EXPECT_EQ(call->Arguments()[0], Sem().Get(vec_12)); in TEST_F() [all …]
|
D | append_vector.cc | 65 b.Sem().Add(expr, sem); in Zero() 76 auto* vector_sem = b->Sem().Get(vector_ast); in AppendVector() 77 auto* scalar_sem = b->Sem().Get(scalar_ast); in AppendVector() 147 b->Sem().Add(scalar_cast_ast, scalar_cast_sem); in AppendVector() 168 b->Sem().Add(constructor_ast, constructor_sem); in AppendVector()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | OpDescriptor.cpp | 25 auto &Sem = T->getFltSemantics(); in makeConstantsWithType() local 26 Cs.push_back(ConstantFP::get(Ctx, APFloat::getZero(Sem))); in makeConstantsWithType() 27 Cs.push_back(ConstantFP::get(Ctx, APFloat::getLargest(Sem))); in makeConstantsWithType() 28 Cs.push_back(ConstantFP::get(Ctx, APFloat::getSmallest(Sem))); in makeConstantsWithType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APFloat.h | 208 static unsigned getSizeInBits(const fltSemantics &Sem); 554 void initFromAPInt(const fltSemantics *Sem, const APInt &api); 841 static APFloat getZero(const fltSemantics &Sem, bool Negative = false) { 842 APFloat Val(Sem, uninitialized); 850 static APFloat getInf(const fltSemantics &Sem, bool Negative = false) { 851 APFloat Val(Sem, uninitialized); 861 static APFloat getNaN(const fltSemantics &Sem, bool Negative = false, 865 return getQNaN(Sem, Negative, &fill); 867 return getQNaN(Sem, Negative, nullptr); 872 static APFloat getQNaN(const fltSemantics &Sem, bool Negative = false, [all …]
|
/third_party/skia/third_party/externals/tint/src/ |
D | program_builder.cc | 69 builder.sem_ = sem::Info::Wrap(program->Sem()); in Wrap() 93 auto* sem = Sem().Get(expr); in TypeOf() 98 auto* sem = Sem().Get(var); in TypeOf() 103 return Sem().Get(type); in TypeOf() 107 return Sem().Get(type_decl); in TypeOf()
|
D | program.cc | 67 sem_ = std::move(builder.Sem()); in Program() 118 auto* sem = Sem().Get(expr); in TypeOf() 123 return Sem().Get(type); in TypeOf() 127 return Sem().Get(type_decl); in TypeOf()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APFloat.h | 161 static Semantics SemanticsToEnum(const llvm::fltSemantics &Sem); 237 static unsigned getSizeInBits(const fltSemantics &Sem); 545 void initFromAPInt(const fltSemantics *Sem, const APInt &api); 875 static APFloat getZero(const fltSemantics &Sem, bool Negative = false) { 876 APFloat Val(Sem, uninitialized); 884 static APFloat getInf(const fltSemantics &Sem, bool Negative = false) { 885 APFloat Val(Sem, uninitialized); 895 static APFloat getNaN(const fltSemantics &Sem, bool Negative = false, 899 return getQNaN(Sem, Negative, &intPayload); 901 return getQNaN(Sem, Negative, nullptr); [all …]
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | first_index_offset.cc | 87 auto* sem_var = ctx.src->Sem().Get(var); in Run() 92 auto* sem_var = ctx.src->Sem().Get(var); in Run() 104 auto* sem_mem = ctx.src->Sem().Get(member); in Run() 109 auto* sem_mem = ctx.src->Sem().Get(member); in Run() 152 if (auto* sem = ctx.src->Sem().Get(expr)) { in Run()
|
D | renamer.cc | 1265 auto* sem = in->Sem().Get(member); in Run() 1273 } else if (auto* str_expr = in->Sem().Get(member->structure)) { in Run() 1281 auto* sem = in->Sem().Get(call); in Run()
|
D | simplify_pointers.cc | 111 if (auto* user = ctx.src->Sem().Get<sem::VariableUser>(op.expr)) { in Reduce() 169 auto* var = ctx.src->Sem().Get(let->variable); in Run() 201 auto* stmt = ctx.src->Sem().Get(let); in Run()
|
D | decompose_strided_matrix.cc | 77 auto* str_ty = program->Sem().Get(str); in GatherCustomStrideMatrixMembers() 149 ctx.src->Sem().Get<sem::StructMemberAccess>(expr->object)) { in Run() 168 if (auto* access = ctx.src->Sem().Get<sem::StructMemberAccess>(stmt->lhs)) { in Run() 211 if (auto* access = ctx.src->Sem().Get<sem::StructMemberAccess>(expr)) { in Run()
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
D | inspector.cc | 140 auto* sem = program_->Sem().Get(func); in GetEntryPoints() 247 auto* global = program_->Sem().Get<sem::GlobalVariable>(var); in GetConstantIDs() 302 auto* global = program_->Sem().Get<sem::GlobalVariable>(var); in GetConstantNameToIdMap() 318 auto* func_sem = program_->Sem().Get(func); in GetStorageSize() 374 auto* func_sem = program_->Sem().Get(func); in GetUniformBufferResourceBindings() 422 auto* func_sem = program_->Sem().Get(func); in GetSamplerResourceBindings() 446 auto* func_sem = program_->Sem().Get(func); in GetComparisonSamplerResourceBindings() 488 auto* func_sem = program_->Sem().Get(func); in GetTextureResourceBindings() 554 auto* func_sem = program_->Sem().Get(func); in GetWorkgroupStorageSize() 664 auto* func_sem = program_->Sem().Get(func); in GetStorageBufferResourceBindingsImpl() [all …]
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/ |
D | intrinsic_table.go | 28 Sem *sem.Sem member 151 func (b *intrinsicTableBuilder) layoutMatchers(s *sem.Sem) { 346 func buildIntrinsicTable(s *sem.Sem) (*IntrinsicTable, error) { argument 349 Sem: s,
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/ |
D | util.h | 69 const auto* sem_var = program.Sem().Get(var_node->variable); in GetAllVarsInScope() 94 const auto* sem_node = program.Sem().Get(global_var); in GetAllVarsInScope()
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | intrinsic_type.cc.tmpl | 19 {{- range .Sem.Functions }} 31 {{- range .Sem.Functions }}
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/ |
D | replace_identifier.cc | 48 tint::As<sem::VariableUser>(program.Sem().Get(use_ast_node)); in IsApplicable() 62 const auto* replacement_sem_node = program.Sem().Get(replacement_ast_node); in IsApplicable()
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/sem/ |
D | sem.go | 24 type Sem struct { struct 39 func New() *Sem { 40 return &Sem{
|