Home
last modified time | relevance | path

Searched refs:UniqueIdentifier (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/tint/src/writer/
Dtext_generator_test.cc23 TEST(TextGeneratorTest, UniqueIdentifier) { in TEST() argument
28 ASSERT_EQ(gen.UniqueIdentifier("ident"), "ident"); in TEST()
29 ASSERT_EQ(gen.UniqueIdentifier("ident"), "ident_1"); in TEST()
40 ASSERT_EQ(gen.UniqueIdentifier("ident"), "ident"); in TEST()
41 ASSERT_EQ(gen.UniqueIdentifier("ident"), "ident_3"); in TEST()
42 ASSERT_EQ(gen.UniqueIdentifier("ident"), "ident_4"); in TEST()
43 ASSERT_EQ(gen.UniqueIdentifier("ident"), "ident_5"); in TEST()
Dtext_generator.cc30 std::string TextGenerator::UniqueIdentifier(const std::string& prefix) { in UniqueIdentifier() function in tint::writer::TextGenerator
38 [&] { return UniqueIdentifier(name.substr(2)); }); in StructName()
Dtext_generator.h112 std::string UniqueIdentifier(const std::string& prefix = "");
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h381 StringRef UniqueIdentifier = "");
398 DIType *VTableHolder = nullptr, StringRef UniqueIdentifier = "");
417 StringRef UniqueIdentifier = "");
438 StringRef UniqueIdentifier = "");
510 DIType *UnderlyingType, StringRef UniqueIdentifier = "", bool IsScoped = false);
539 StringRef UniqueIdentifier = "");
546 StringRef UniqueIdentifier = "");
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp449 DIType *VTableHolder, MDNode *TemplateParams, StringRef UniqueIdentifier) { in createClassType() argument
457 cast_or_null<MDTuple>(TemplateParams), UniqueIdentifier); in createClassType()
466 DIType *VTableHolder, StringRef UniqueIdentifier) { in createStructType() argument
470 Flags, Elements, RunTimeLang, VTableHolder, nullptr, UniqueIdentifier); in createStructType()
478 DINodeArray Elements, unsigned RunTimeLang, StringRef UniqueIdentifier) { in createUnionType() argument
482 Elements, RunTimeLang, nullptr, nullptr, UniqueIdentifier); in createUnionType()
490 DIDerivedType *Discriminator, DINodeArray Elements, StringRef UniqueIdentifier) { in createVariantPart() argument
494 Elements, 0, nullptr, nullptr, UniqueIdentifier, Discriminator); in createVariantPart()
508 DIType *UnderlyingType, StringRef UniqueIdentifier, bool IsScoped) { in createEnumerationType() argument
513 nullptr, UniqueIdentifier); in createEnumerationType()
[all …]
DDebugInfo.cpp1132 const char *UniqueIdentifier, size_t UniqueIdentifierLen) { in LLVMDIBuilderCreateForwardDecl() argument
1136 AlignInBits, {UniqueIdentifier, UniqueIdentifierLen})); in LLVMDIBuilderCreateForwardDecl()
1144 LLVMDIFlags Flags, const char *UniqueIdentifier, in LLVMDIBuilderCreateReplaceableCompositeType() argument
1150 {UniqueIdentifier, UniqueIdentifierLen})); in LLVMDIBuilderCreateReplaceableCompositeType()
1208 const char *UniqueIdentifier, size_t UniqueIdentifierLen) { in LLVMDIBuilderCreateClassType() argument
1218 {UniqueIdentifier, UniqueIdentifierLen})); in LLVMDIBuilderCreateClassType()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.cc283 fn = UniqueIdentifier("set_" + ss.str()); in EmitDynamicVectorAssignment()
359 fn = UniqueIdentifier("set_vector_" + ss.str()); in EmitDynamicMatrixVectorAssignment()
433 fn = UniqueIdentifier("set_scalar_" + ss.str()); in EmitDynamicMatrixScalarAssignment()
615 auto name = UniqueIdentifier(kTempNamePrefix); in EmitBinary()
1024 scalar_offset_expr = UniqueIdentifier("scalar_offset"); in EmitUniformBufferAccess()
1066 std::string ubo_load = UniqueIdentifier("ubo_load"); in EmitUniformBufferAccess()
1289 auto name = UniqueIdentifier(wgsl); in EmitStorageAtomicCall()
1360 auto name = UniqueIdentifier("atomicLoad"); in EmitStorageAtomicCall()
1394 auto name = UniqueIdentifier("atomicStore"); in EmitStorageAtomicCall()
1426 auto name = UniqueIdentifier("atomicCompareExchangeWeak"); in EmitStorageAtomicCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DDebugInfo.h915 const char *UniqueIdentifier, size_t UniqueIdentifierLen);
939 LLVMDIFlags Flags, const char *UniqueIdentifier,
995 const char *UniqueIdentifier, size_t UniqueIdentifierLen);
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc800 auto name = UniqueIdentifier("atomicCompareExchangeWeak"); in EmitAtomicCall()
1167 UniqueIdentifier("tint_dot" + std::to_string(vec_ty->Width())); in EmitDotCall()
2468 name = UniqueIdentifier("tint_pad"); in EmitStructType()
2561 invariant_define_name_ = UniqueIdentifier("TINT_INVARIANT"); in EmitStructType()
2614 auto fn_name = UniqueIdentifier("tint_unary_minus"); in EmitUnaryOp()
2858 UniqueIdentifier(std::string("tint_") + sem::str(intrinsic->Type())); in CallIntrinsicHelper()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.cc271 auto name = UniqueIdentifier(kTempNamePrefix); in EmitBinary()
739 auto fn_name = UniqueIdentifier("tint_int_dot"); in EmitDotCall()
1605 << UniqueIdentifier(StructName(str)) << " {"; in EmitUniformVariable()
1624 << UniqueIdentifier(StructName(str)) << " {"; in EmitStorageVariable()
2673 UniqueIdentifier(std::string("tint_") + sem::str(intrinsic->Type())); in CallIntrinsicHelper()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc527 line() << UniqueIdentifier("padding") << " : u32;"; in EmitStructType()