Home
last modified time | relevance | path

Searched refs:LG (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
H A Dmutex.fail.cpp21 template <class LG>
22 void test_conversion(LG) {} in test_conversion() argument
30 using LG = std::scoped_lock<>; in main() typedef
31 LG lg = {}; // expected-error{{chosen constructor is explicit in copy-initialization}} in main()
32 test_conversion<LG>({}); // expected-error{{no matching function for call}} in main()
36 using LG = std::scoped_lock<M>; in main() typedef
38 test_conversion<LG>({n0}); // expected-error{{no matching function for call}} in main()
42 using LG = std::scoped_lock<M, M>; in main() typedef
44 test_conversion<LG>({n0, n1}); // expected-error{{no matching function for call}} in main()
48 using LG = std::scoped_lock<M, M, M>; in main() typedef
[all …]
H A Dcopy.fail.cpp26 using LG = std::scoped_lock<>; in main() typedef
27 const LG Orig; in main()
28 LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}} in main()
31 using LG = std::scoped_lock<M>; in main() typedef
32 const LG Orig(m0); in main()
33 LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}} in main()
36 using LG = std::scoped_lock<M, M>; in main() typedef
37 const LG Orig(m0, m1); in main()
38 LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}} in main()
41 using LG = std::scoped_lock<M, M, M>; in main() typedef
[all …]
H A Dassign.fail.cpp27 using LG = std::scoped_lock<>; in main() typedef
28 LG lg1, lg2; in main()
32 using LG = std::scoped_lock<M>; in main() typedef
33 LG lg1(m0); in main()
34 LG lg2(om0); in main()
38 using LG = std::scoped_lock<M, M>; in main() typedef
39 LG lg1(m0, m1); in main()
40 LG lg2(om0, om1); in main()
44 using LG = std::scoped_lock<M, M, M>; in main() typedef
45 LG lg1(m0, m1, m2); in main()
[all …]
H A Dmutex.pass.cpp67 using LG = std::scoped_lock<>; in main() typedef
68 LG lg; in main()
71 using LG = std::scoped_lock<TestMutex>; in main() typedef
74 LG lg(m1); in main()
83 LG lg(m1, m2); in main()
92 LG lg(m1, m2, m3); in main()
100 using LG = std::scoped_lock<MT>; in main() typedef
104 LG lg(m1); in main()
111 using LG = std::scoped_lock<MT, MT>; in main() typedef
115 LG lg(m1, m2); in main()
[all …]
H A Dadopt_lock.pass.cpp37 using LG = std::scoped_lock<>; in main() typedef
38 LG lg(std::adopt_lock); in main()
42 using LG = std::scoped_lock<TestMutex>; in main() typedef
45 LG lg(std::adopt_lock, m1); in main()
52 using LG = std::scoped_lock<TestMutex, TestMutex>; in main() typedef
55 LG lg(std::adopt_lock, m1, m2); in main()
62 using LG = std::scoped_lock<TestMutex, TestMutex, TestMutex>; in main() typedef
65 LG lg(std::adopt_lock, m1, m2, m3); in main()
H A Dtypes.pass.cpp28 template <class LG>
29 auto test_typedef(int) -> typename LG::mutex_type;
31 template <class LG>
34 template <class LG>
36 return !std::is_same<decltype(test_typedef<LG>(0)), NAT>::value; in has_mutex_type()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DDebuggerSupportPlugin.cpp401 MaterializationResponsibility &MR, LinkGraph &LG, in modifyPassConfig() argument
404 if (LG.getTargetTriple().getObjectFormat() == Triple::MachO) in modifyPassConfig()
405 modifyPassConfigForMachO(MR, LG, PassConfig); in modifyPassConfig()
409 << LG.getName() << "(triple = " << LG.getTargetTriple().str() in modifyPassConfig()
416 MaterializationResponsibility &MR, jitlink::LinkGraph &LG, in modifyPassConfigForMachO() argument
419 switch (LG.getTargetTriple().getArch()) { in modifyPassConfigForMachO()
424 assert(LG.getEndianness() == support::little && in modifyPassConfigForMachO()
431 << "MachO graph " << LG.getName() in modifyPassConfigForMachO()
432 << "(triple = " << LG.getTargetTriple().str() in modifyPassConfigForMachO()
442 for (auto &Sec : LG.sections()) in modifyPassConfigForMachO()
[all …]
H A DObjectLinkingLayer.cpp327 Error modifyPassConfig(LinkGraph &LG, PassConfiguration &Config) override { in modifyPassConfig() argument
334 Layer.modifyPassConfig(*MR, LG, Config); in modifyPassConfig()
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dint-cmp-56.mir58 %1:gr64bit = LG %0, 0, $noreg
59 %2:gr64bit = LG %0, 16, $noreg
60 %3:gr64bit = LG %0, 32, $noreg
61 %4:gr64bit = LG %0, 48, $noreg
62 %5:gr64bit = LG %0, 64, $noreg
63 %6:gr64bit = LG %0, 80, $noreg
64 %7:gr64bit = LG %0, 96, $noreg
65 %8:gr64bit = LG %0, 112, $noreg
66 %9:gr64bit = LG %0, 128, $noreg
135 %1:gr64bit = LG %0, 0, $noreg
[all …]
H A Dint-move-03.ll5 ; Check LG with no displacement.
14 ; Check the high end of the aligned LG range.
36 ; Check the high end of the negative aligned LG range.
46 ; Check the low end of the LG range.
68 ; Check that LG allows an index.
H A Dclear-liverange-spillreg.mir295 %65 = LG undef %66, 0, $noreg :: (load (s64))
305 %76 = LG %65, 0, $noreg :: (load (s64))
307 %77 = LG undef %78, 0, $noreg :: (load (s64))
321 %89 = LG %65, 16, %88 :: (load (s64))
473 %0 = LG undef %22, 0, $noreg :: (load (s64))
H A Dsubregliveness-06.mir187 %35:addr64bit = LG killed %29, 0, $noreg :: (load (s64) from %ir.tmp15)
195 %39:addr64bit = LG %4, 0, $noreg :: (dereferenceable load (s64) from %ir.tmp5)
226 %45:gr64bit = LG $noreg, 0, $noreg :: (load (s64) from %ir.tmp36)
227 %46:addr64bit = LG killed %39, 0, $noreg :: (load (s64) from %ir.tmp27)
H A Dfoldmemop-imm-02.mir108 %8:gr64bit = LG %2, 0, $noreg :: (load (s64) from %ir.src)
222 %8:gr64bit = LG %2, 0, $noreg :: (load (s64) from %ir.src)
H A Dfoldmemop-msc.mir156 %8:gr64bit = LG %2, 0, $noreg :: (load (s64) from %ir.src)
208 %8:gr64bit = LG %2, 0, $noreg :: (load (s64) from %ir.src)
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DDebuggerSupportPlugin.h50 jitlink::LinkGraph &LG,
55 jitlink::LinkGraph &LG,
H A DDebugObjectManagerPlugin.h66 jitlink::LinkGraph &LG,
/llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
H A DLLJITWithObjectLinkingLayerPlugin.cpp56 jitlink::LinkGraph &LG, in modifyPassConfig() argument
59 outs() << "MyPlugin -- Modifying pass config for " << LG.getName() << " (" in modifyPassConfig()
60 << LG.getTargetTriple().str() << "):\n"; in modifyPassConfig()
/llvm-project-15.0.7/openmp/libomptarget/plugins/common/MemoryManager/
H A DMemoryManager.h163 std::lock_guard<std::mutex> LG(MapTableLock); in freeAndAllocate()
244 std::lock_guard<std::mutex> LG(FreeListLocks[B]); in allocate()
/llvm-project-15.0.7/openmp/libomptarget/src/
H A Ddevice.cpp313 std::lock_guard<decltype(*Entry)> LG(*Entry); in getTargetPointer() local
338 std::lock_guard<decltype(*Entry)> LG(*Entry); in getTargetPointer() local
512 std::lock_guard<decltype(RTL->Mtx)> LG(RTL->Mtx); in loadBinary() local
674 std::lock_guard<decltype(PM->RTLsMtx)> LG(PM->RTLsMtx); in deviceIsReady() local
H A Domptarget.cpp82 std::lock_guard<decltype(Device.PendingGlobalsMtx)> LG( in initLibrary() local
85 std::lock_guard<decltype(PM->TrlTblMtx)> LG(PM->TrlTblMtx); in initLibrary() local
254 std::lock_guard<decltype(PM->TargetOffloadMtx)> LG(PM->TargetOffloadMtx); in handleDefaultTargetOffload() local
323 std::lock_guard<decltype(Device.PendingGlobalsMtx)> LG( in checkDeviceAndCtors() local
581 std::lock_guard<decltype(*PointerTpr.Entry)> LG(*PointerTpr.Entry); in targetDataBegin() local
655 std::lock_guard<decltype(Device.ShadowMtx)> LG(Device.ShadowMtx); in applyToShadowMapEntries() local
801 std::lock_guard<decltype(*TPR.Entry)> LG(*TPR.Entry); in targetDataEnd() local
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2010-05-25-DotDebugLoc.ll204 !2 = !DIFile(filename: "libgcc2.c", directory: "/Users/yash/clean/LG.D/gcc/../../llvmgcc/gcc")
209 !7 = !DIFile(filename: "libgcc2.h", directory: "/Users/yash/clean/LG.D/gcc/../../llvmgcc/gcc")
246 !45 = !DIFile(filename: "libgcc2.c", directory: "/Users/yash/clean/LG.D/gcc/../../llvmgcc/gcc")
247 !46 = !DIFile(filename: "libgcc2.h", directory: "/Users/yash/clean/LG.D/gcc/../../llvmgcc/gcc")
/llvm-project-15.0.7/llvm/test/CodeGen/LoongArch/ir-instruction/
H A Dload-store.ll16 ; LA32PIC-NEXT: pcalau12i $a0, .LG$local
17 ; LA32PIC-NEXT: addi.w $a1, $a0, .LG$local
24 ; LA64PIC-NEXT: pcalau12i $a0, .LG$local
25 ; LA64PIC-NEXT: addi.d $a1, $a0, .LG$local
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp241 MI->setDesc(get(SystemZ::LG)); in expandLoadStackGuard()
1140 unsigned LoadOpcode = Op0IsGPR ? SystemZ::LG : SystemZ::LD; in foldMemoryOperandImpl()
1346 splitMove(MI, SystemZ::LG); in expandPostRAPseudo()
1605 LoadOpcode = SystemZ::LG; in getLoadStoreOpcodes()
1691 case SystemZ::LG: return SystemZ::LTG; in getLoadAndTest()
1953 case SystemZ::LG: in getLoadAndTrap()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRDFLiveness.cpp877 const RegisterAggr &LG = LiveMap[&B]; in computeLiveIns() local
878 for (auto I = LG.rr_begin(), E = LG.rr_end(); I != E; ++I) in computeLiveIns()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp279 [&](LinkGraph &LG, Symbol &Sym) -> SectionRangeSymbolDesc { in getOrCreateGOTSymbol() argument

12