Home
last modified time | relevance | path

Searched refs:type_ (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_posix.cpp101 if (type_ == Normal) in Init()
107 else if (type_ == RW) in Init()
124 if (type_ == Normal) in Destroy()
130 else if (type_ == RW) in Destroy()
136 if (type_ == Normal) in Lock()
142 else if (type_ == RW) in Lock()
148 if (type_ == Normal) in TryLock()
161 if (type_ == Normal) in Unlock()
173 CHECK(type_ == RW); in ReadLock()
179 CHECK(type_ == RW); in TryReadLock()
[all …]
H A Dtsan_test_util.h67 const Type type_; variable
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-test-part.h69 : type_(a_type), in TestPartResult()
76 Type type() const { return type_; } in type()
95 bool skipped() const { return type_ == kSkip; } in skipped()
98 bool passed() const { return type_ == kSuccess; } in passed()
101 bool nonfatally_failed() const { return type_ == kNonFatalFailure; } in nonfatally_failed()
104 bool fatally_failed() const { return type_ == kFatalFailure; } in fatally_failed()
110 Type type_;
H A Dgtest-spi.h108 const TestPartResult::Type type_; variable
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwindows-arm-valist.cpp9 template <typename type_>
10 struct is_same<type_, type_> { enum { value = 1 }; };
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-allocate.cpp43 type_{symbol_ ? symbol_->GetType() : nullptr},
75 if (type_->category() == DeclTypeSpec::Category::Character) { in GatherAllocationBasicInfo()
77 type_->characterTypeSpec().length().isDeferred(); in GatherAllocationBasicInfo()
78 } else if (const DerivedTypeSpec * derivedTypeSpec{type_->AsDerived()}) { in GatherAllocationBasicInfo()
85 type_->category() == DeclTypeSpec::Category::ClassStar; in GatherAllocationBasicInfo()
92 const DeclTypeSpec *type_{nullptr}; member in Fortran::semantics::AllocationCheckerHelper
417 if (!type_) { in RunChecks()
451 if (!IsTypeCompatible(*type_, *allocateInfo_.typeSpec)) { in RunChecks()
457 if (!HaveCompatibleKindParameters(*type_, *allocateInfo_.typeSpec)) { in RunChecks()
463 if (!HaveSameAssumedTypeParameters(*type_, *allocateInfo_.typeSpec)) { in RunChecks()
[all …]
H A Dsymbol.cpp132 CHECK(!type_); in set_type()
133 type_ = &type; in set_type()
137 void EntityDetails::ReplaceType(const DeclTypeSpec &type) { type_ = &type; } in ReplaceType()
656 CHECK(!type_); in set_type()
657 type_ = &type; in set_type()
H A Dexpression.cpp1312 if (type_ && type_->category() == T::category) { in Test()
1320 if (auto len{type_->LEN()}) { in Test()
1360 bool explicitType_{type_.has_value()};
1370 if (!type_) { in Push()
1386 if (!type_) { in Push()
1399 dyType = *type_; in Push()
1430 if (!type_) { in Push()
1439 type_ = std::move(xType); in Push()
1443 if (type_->IsTkCompatibleWith(xType) && xType.IsTkCompatibleWith(*type_)) { in Push()
1465 type_->length = xType.LEN(); in Push()
[all …]
H A Dtype.cpp796 CHECK(!type_); in set_symbol()
801 type_ = &type; in set_type()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dinitial-image.cpp76 : context_{context}, type_{type}, image_{image}, extents_{extents}, in AsConstantHelper()
81 if (T::category != type_.category()) { in Test()
85 if (T::kind != type_.kind()) { in Test()
94 ToInt64(type_.MeasureSizeInBytes(context_, GetRank(extents_) > 0))}; in Test()
99 const semantics::DerivedTypeSpec &derived{type_.GetDerivedTypeSpec()}; in Test()
182 const DynamicType &type_; member in Fortran::evaluate::AsConstantHelper
H A Dcharacteristics.cpp60 return type_ == that.type_ && ShapesAreCompatible(shape_, that.shape_) && in operator ==()
155 if (!type_.IsTkCompatibleWith(that.type_)) { in IsCompatibleWith()
169 CHECK(type_.category() == TypeCategory::Character); in MeasureElementSizeInBytes()
173 type_.category(), type_.kind())} * in MeasureElementSizeInBytes()
176 if (auto elementBytes{type_.MeasureSizeInBytes(foldingContext, align)}) { in MeasureElementSizeInBytes()
219 if (auto len{type_.GetCharLength()}) { in AcquireLEN()
225 if (type_.category() == TypeCategory::Character) { in AcquireLEN()
233 return type_.AsFortran(LEN_ ? LEN_->AsFortran() : ""); in AsFortran()
237 o << type_.AsFortran(LEN_ ? LEN_->AsFortran() : ""); in Dump()
H A Dfold-integer.cpp266 : type_{type}, arg_{arg}, context_{context} {} in LocationHelper()
272 if (T::category != type_.category() || T::kind != type_.kind()) { in Test()
429 DynamicType type_; member in Fortran::evaluate::LocationHelper
/llvm-project-15.0.7/lldb/test/API/functionalities/limit-debug-info/
H A DTestLimitDebugInfo.py16 type_ = exe.FindFirstType(name)
17 self.trace("type_: %s"%type_)
18 self.assertTrue(type_)
19 base = type_.GetDirectBaseClassAtIndex(0).GetType()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcharacteristics.h64 explicit TypeAndShape(DynamicType t) : type_{t} { AcquireLEN(); } in TypeAndShape()
65 TypeAndShape(DynamicType t, int rank) : type_{t}, shape_(rank) { in TypeAndShape()
68 TypeAndShape(DynamicType t, Shape &&s) : type_{t}, shape_{std::move(s)} { in TypeAndShape()
71 TypeAndShape(DynamicType t, std::optional<Shape> &&s) : type_{t} { in TypeAndShape()
133 DynamicType type() const { return type_; } in type()
135 type_ = t; in set_type()
173 DynamicType type_;
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dauto-var-init.cpp21 using type_##NAME = TYPE; \
23 type_##NAME uninit; \
29 using type_##NAME = TYPE; \
31 type_##NAME braces = {}; \
36 using type_##NAME = TYPE; \
38 type_##NAME custom __VA_ARGS__; \
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.cpp218 void CheckedMutex::LockImpl(uptr pc) { deadlock_detector.Lock(type_, pc); } in LockImpl()
220 void CheckedMutex::UnlockImpl() { deadlock_detector.Unlock(type_); } in UnlockImpl()
H A Dsanitizer_mutex.h122 : type_(type) in CheckedMutex()
149 const MutexType type_;
H A Dsanitizer_syscalls_netbsd.inc271 (void *type_, void *path_, long long flags_, void *data_) {
907 (long long domain_, long long type_, long long protocol_) {
2874 (long long domain_, long long type_, long long protocol_) {
2975 const char *type = (const char *)type_;
2990 const char *type = (const char *)type_;
3857 (long long res, void *path_, long long type_, void *aclp_) {
3864 (long long res, void *path_, long long type_, void *aclp_) {
3875 (long long res, void *path_, long long type_, void *aclp_) {
3882 (long long res, void *path_, long long type_, void *aclp_) {
3912 (long long res, long long filedes_, long long type_) {
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A Darm_mve_defs.td34 class IRBuilderIntParam<int index_, string type_> : IRBuilderParam<index_> {
35 string type = type_;
213 class CustomCodegen<string type_> { string type = type_; }
352 class Immediate<Type type_, ImmediateBounds bounds_>: Type {
353 Type type = type_;
364 class IB_EltBit<int base_, Type type_ = Scalar> : ImmediateBounds {
366 Type type = type_;
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dsymbol.h150 const DeclTypeSpec *type() const { return type_; } in type()
161 const DeclTypeSpec *type_{nullptr};
382 const DeclTypeSpec *type() const { return type_; } in type()
389 const DeclTypeSpec *type_{nullptr};
H A Dtype.h399 const DeclTypeSpec *type() const { return type_; } in type()
405 const DeclTypeSpec *type_{nullptr};
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc342 type_(kDynamic), in Mutex()
351 if (type_ == kDynamic) { in ~Mutex()
419 if (type_ == kStatic) { in ThreadSafeLazyInit()
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/Inputs/
H A Dcode-signature-check.py171 type_: int
/llvm-project-15.0.7/lld/test/MachO/Inputs/
H A Dcode-signature-check.py171 type_: int
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMips32r6InstrFormats.td596 bits<2> type_;
601 let Inst{9-8} = type_;

12