| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/ |
| H A D | MemoryTreeTests.cpp | 31 MemoryTree MT; in TEST() local 32 EXPECT_EQ(MT.total(), 0U); in TEST() 35 MT.addUsage(42); in TEST() 36 EXPECT_EQ(MT.total(), 42U); in TEST() 39 MT.child("leaf").addUsage(1); in TEST() 40 EXPECT_EQ(MT.total(), 43U); in TEST() 44 MT.child("leaf").addUsage(1); in TEST() 45 EXPECT_EQ(MT.total(), 44U); in TEST() 50 MemoryTree MT; in TEST() local 53 EXPECT_EQ(MT.total(), 2U); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
| H A D | mutex.pass.cpp | 99 using MT = TestMutexThrows; in main() typedef 100 using LG = std::scoped_lock<MT>; in main() 101 MT m1; in main() 110 using MT = TestMutexThrows; in main() typedef 111 using LG = std::scoped_lock<MT, MT>; in main() 112 MT m1, m2; in main() 121 using MT = TestMutexThrows; in main() typedef 122 using LG = std::scoped_lock<MT, MT, MT>; in main() 123 MT m1, m2, m3; in main()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | MemoryTree.cpp | 19 size_t traverseTree(const MemoryTree &MT, std::string &ComponentName, in traverseTree() argument 24 size_t Total = MT.self(); in traverseTree() 25 for (const auto &Entry : MT.children()) { in traverseTree() 53 void record(const MemoryTree &MT, std::string RootName, in record() argument 55 traverseTree(MT, RootName, Out); in record()
|
| H A D | MemoryTree.h | 84 void record(const MemoryTree &MT, std::string RootName,
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsMTInstrInfo.td | 1 //===-- MipsMTInstrInfo.td - Mips MT Instruction Infos -----*- tablegen -*-===// 9 // This file describes the MIPS MT ASE as defined by MD00378 1.12. 11 // TODO: Add support for the microMIPS encodings for the MT ASE and add the 17 // MIPS MT Instruction Encodings 41 // MIPS MT Instruction Descriptions 93 // MIPS MT Instruction Definitions 115 // MIPS MT Pseudo Instructions - used to support mtfr & mttr aliases. 176 // MIPS MT Instruction Definitions
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | IRMatchers.h | 185 if (const auto *MT = dyn_cast<MDTuple>(MR)) { in match() local 186 if (OpNo < MT->getNumOperands()) in match() 187 return C.top<Metadata>() == MT->getOperand(OpNo).get(); in match() 221 if (const auto *MT = dyn_cast<ValueAsMetadata>(M)) in match() local 222 if (const auto *C = dyn_cast<ConstantInt>(MT->getValue())) in match() 338 if (const auto *MT = dyn_cast<MDTuple>(&M)) { in matchEntity() local 339 if (MT->getNumOperands() != Operands.size()) in matchEntity() 341 for (unsigned I = 0, E = MT->getNumOperands(); I != E; ++I) { in matchEntity() 342 const MDOperand &Op = MT->getOperand(I); in matchEntity()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FileIndexTests.cpp | 694 MemoryTree MT(&Alloc); in TEST() local 695 FI.profile(MT); in TEST() 696 ASSERT_THAT(MT.children(), in TEST() 699 ASSERT_THAT(MT.child("preamble").children(), in TEST() 701 ASSERT_THAT(MT.child("main_file").children(), in TEST() 704 ASSERT_THAT(MT.child("preamble").child("index").total(), Gt(0U)); in TEST() 716 MemoryTree MT(&Alloc); in TEST() local 717 FS.profile(MT); in TEST() 721 EXPECT_THAT(MT.child("f1").total(), Gt(0U)); in TEST() 723 EXPECT_THAT(MT.child("f2").total(), Gt(0U)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/Mips/mt/ |
| H A D | abiflag.s | 4 # Test that the usage of the MT ASE is recorded in .MIPS.abiflags 7 # CHECK-NEXT: MT (0x40)
|
| H A D | set-directive.s | 6 # Test that the MT ASE flag in .MIPS.abiflags is _not_ set by .set. 10 # CHECK-OBJ-NOT: MT (0x40)
|
| H A D | module-directive.s | 6 # Test that the .module directive sets the MT flag in .MIPS.abiflags when 12 # CHECK-OBJ-NEXT: MT (0x40)
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | WindowsMachineFlag.cpp | 31 StringRef llvm::machineToStr(COFF::MachineTypes MT) { in machineToStr() argument 32 switch (MT) { in machineToStr()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | FileIndex.cpp | 402 void FileSymbols::profile(MemoryTree &MT) const { in profile() 405 MT.detail(SymSlab.first()) in profile() 410 MT.detail(RefSlab.first()) in profile() 415 MT.detail(RelSlab.first()) in profile() 494 void FileIndex::profile(MemoryTree &MT) const { in profile() 495 PreambleSymbols.profile(MT.child("preamble").child("slabs")); in profile() 496 MT.child("preamble") in profile() 499 MainFileSymbols.profile(MT.child("main_file").child("slabs")); in profile() 500 MT.child("main_file") in profile()
|
| H A D | FileIndex.h | 90 void profile(MemoryTree &MT) const; 123 void profile(MemoryTree &MT) const;
|
| H A D | Background.cpp | 420 void BackgroundIndex::profile(MemoryTree &MT) const { in profile() 421 IndexedSymbols.profile(MT.child("slabs")); in profile() 423 MT.child("index").addUsage(SwapIndex::estimateMemoryUsage()); in profile()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | alloc-size.cpp | 55 void *dependent_calloc(size_t NT = N, size_t MT = M) 59 void *dependent_calloc2(size_t NT = sizeof(T), size_t MT = M)
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | dependency-gen.modulemap | 4 …t-module -fno-validate-pch -fmodules-strict-decluse %s -dependency-file - -MT implicit.pcm -o %t/i… 7 … -fmodules-strict-decluse -fmodule-file=%t/base.pcm %s -dependency-file - -MT explicit.pcm -o %t/e… 9 …de Inputs/dependency-gen.h -x c++ /dev/null -fmodule-file=%t/explicit.pcm -MT main.o -fsyntax-only…
|
| H A D | dependency-gen.m | 4 // RUN: %clang_cc1 -x objective-c -isystem %S/Inputs/System/usr/include -dependency-file %t.d.1 -MT… 13 // RUN: %clang_cc1 -x objective-c -isystem %S/Inputs/System/usr/include -dependency-file %t.d.2 -MT…
|
| H A D | dependency-gen-inferred-map.m | 5 …root %S/Inputs/System -triple x86_64-apple-darwin10 -dependency-file %t.d -MT %s.o -F %S/Inputs -f…
|
| H A D | dependency-gen-pch.m | 5 …tem -triple x86_64-apple-darwin10 -module-file-deps -dependency-file %t.d -MT %s.o -I %S/Inputs -f…
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenTypes.cpp | 94 const ConstantMatrixType *MT = cast<ConstantMatrixType>(Ty); in ConvertTypeForMem() local 95 return llvm::ArrayType::get(ConvertType(MT->getElementType()), in ConvertTypeForMem() 96 MT->getNumRows() * MT->getNumColumns()); in ConvertTypeForMem() 721 const ConstantMatrixType *MT = cast<ConstantMatrixType>(Ty); in ConvertType() local 723 llvm::FixedVectorType::get(ConvertType(MT->getElementType()), in ConvertType() 724 MT->getNumRows() * MT->getNumColumns()); in ConvertType()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | WindowsMachineFlag.h | 25 StringRef machineToStr(COFF::MachineTypes MT);
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Linux.cpp | 98 std::string MT = std::string(IsMipsR6 ? "mipsisa64r6" : "mips64") + in getMultiarchTriple() local 100 if (D.getVFS().exists(concat(SysRoot, "/lib", MT))) in getMultiarchTriple() 101 return MT; in getMultiarchTriple() 109 std::string MT = std::string(IsMipsR6 ? "mipsisa64r6el" : "mips64el") + in getMultiarchTriple() local 111 if (D.getVFS().exists(concat(SysRoot, "/lib", MT))) in getMultiarchTriple() 112 return MT; in getMultiarchTriple()
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/make/ |
| H A D | Makefile.rules | 581 $(CC) $(CFLAGS) -MT $@ -MD -MP -MF $*.d -c -o $@ $< 584 $(CXX) $(PCHFLAGS) $(CXXFLAGS) -MT $@ -MD -MP -MF $*.d -c -o $@ $< 587 $(CC) $(CFLAGS) -MT $@ -MD -MP -MF $*.d -c -o $@ $< 590 $(CXX) $(CXXFLAGS) -MT $@ -MD -MP -MF $*.d -c -o $@ $<
|
| /llvm-project-15.0.7/clang/test/ClangScanDeps/Inputs/removed-args/ |
| H A D | cdb.json.template | 4 …er.h -grecord-command-line -o DIR/tu.o -serialize-diagnostics DIR/tu.diag -MT tu -MD -MF DIR/tu.d",
|
| /llvm-project-15.0.7/llvm/include/llvm/XRay/ |
| H A D | FDRRecords.h | 92 const MetadataType MT; 95 explicit MetadataRecord(RecordKind T, MetadataType M) : Record(T), MT(M) {} in MetadataRecord() 102 MetadataType metadataType() const { return MT; } in metadataType()
|