| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/ |
| H A D | p12.cpp | 17 template <class T> class Temp { class 18 static Temp<A::Public> make() { return Temp<A::Public>(); } in make() 20 template class Temp<A::Private>; variable 25 template class Temp<A::Private> Temp<int>::make(); 38 template <class T> class Temp { class 39 static Temp<A::Public> make(); 43 Temp(int x) {} in Temp() function in test2::Temp 46 template <> class Temp<A::Private> Temp<int>::make() { in make() 47 return Temp<A::Public>(0); in make() 51 class Temp<char> { class [all …]
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/forward-declared-template-specialization/ |
| H A D | main.cpp | 2 template <typename T> class Temp; 3 template <> class Temp<int>; 8 Temp<int> *a; 11 template <typename T> class Temp { int f; }; class 12 Temp<float> b;
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtilLinux.cpp | 32 FILE* Temp = fopen("/dev/null", "w"); in DiscardOutput() local 33 if (!Temp) in DiscardOutput() 35 dup2(fileno(Temp), Fd); in DiscardOutput() 36 fclose(Temp); in DiscardOutput()
|
| H A D | FuzzerUtilDarwin.cpp | 161 FILE* Temp = fopen("/dev/null", "w"); in DiscardOutput() local 162 if (!Temp) in DiscardOutput() 164 dup2(fileno(Temp), Fd); in DiscardOutput() 165 fclose(Temp); in DiscardOutput()
|
| H A D | FuzzerUtilWindows.cpp | 220 FILE* Temp = fopen("nul", "w"); in DiscardOutput() local 221 if (!Temp) in DiscardOutput() 223 _dup2(_fileno(Temp), Fd); in DiscardOutput() 224 fclose(Temp); in DiscardOutput()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | lambda-expressions.cpp | 122 struct Temp { struct 123 Temp(); 124 ~Temp() noexcept(false); 128 A(const A &a, const Temp &temp = Temp());
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | FileOutputBuffer.cpp | 34 OnDiskBuffer(StringRef Path, fs::TempFile Temp, fs::mapped_file_region Buf) in OnDiskBuffer() argument 35 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {} in OnDiskBuffer() 50 return Temp.keep(FinalPath); in commit() 57 consumeError(Temp.discard()); in ~OnDiskBuffer() 63 consumeError(Temp.discard()); in discard() 68 fs::TempFile Temp; member in __anonb6581d170111::OnDiskBuffer
|
| H A D | Caching.cpp | 151 Expected<sys::fs::TempFile> Temp = sys::fs::TempFile::create( in localCache() local 153 if (!Temp) in localCache() 155 toString(Temp.takeError()) + ": " + CacheName + in localCache() 160 std::make_unique<raw_fd_ostream>(Temp->FD, /* ShouldClose */ false), in localCache() 161 AddBuffer, std::move(*Temp), std::string(EntryPath.str()), Task); in localCache()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 98 double Temp = NumUnits * 1.0 / I->Cycles; in getReciprocalThroughput() local 99 Throughput = Throughput ? std::min(Throughput.value(), Temp) : Temp; in getReciprocalThroughput() 142 double Temp = countPopulation(I->getUnits()) * 1.0 / I->getCycles(); in getReciprocalThroughput() local 143 Throughput = Throughput ? std::min(Throughput.value(), Temp) : Temp; in getReciprocalThroughput()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 309 MDNode *N = getNode(Temp.get()); in TEST_F() 319 Temp->replaceAllUsesWith(Arg); in TEST_F() 623 Metadata *Ops[] = {Temp.get()}; in TEST_F() 732 auto *Current = Temp.get(); in TEST_F() 845 auto *Current = Temp.get(); in TEST_F() 858 auto *Current = Temp.get(); in TEST_F() 872 auto *T = Temp.get(); in TEST_F() 879 Temp->replaceOperandWith(0, T); in TEST_F() 912 Ref.reset(Temp.get()); in TEST_F() 1618 TempDIType Temp = N->clone(); in TEST_F() local [all …]
|
| /llvm-project-15.0.7/clang/utils/analyzer/ |
| H A D | update_plist_test.pl | 4 require File::Temp; 5 use File::Temp (); 14 my $fh = File::Temp->new();
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | OptimizerDriver.cpp | 147 Expected<sys::fs::TempFile> Temp = in runPasses() local 149 if (!Temp) { in runPasses() 151 << ": Error making unique filename: " << toString(Temp.takeError()) in runPasses() 155 DiscardTemp Discard{*Temp}; in runPasses() 156 raw_fd_ostream OS(Temp->FD, /*shouldClose*/ false); in runPasses() 161 errs() << "Error writing bitcode file: " << Temp->TmpName << "\n"; in runPasses() 227 Args.push_back(Temp->TmpName); in runPasses()
|
| H A D | ExecutionDriver.cpp | 260 auto Temp = in compileProgram() local 262 if (!Temp) { in compileProgram() 264 << ": Error making unique filename: " << toString(Temp.takeError()) in compileProgram() 268 DiscardTemp Discard{*Temp}; in compileProgram() 269 if (writeProgramToFile(Temp->FD, M)) { in compileProgram() 270 errs() << ToolName << ": Error emitting bitcode to file '" << Temp->TmpName in compileProgram() 276 return Interpreter->compileProgram(Temp->TmpName, Timeout, MemoryLimit); in compileProgram()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOWriter.cpp | 215 StructType Temp; in writeSectionInLoadCommand() local 222 Temp.addr = Sec.Addr; in writeSectionInLoadCommand() 223 Temp.size = Sec.Size; in writeSectionInLoadCommand() 224 Temp.offset = Sec.Offset; in writeSectionInLoadCommand() 225 Temp.align = Sec.Align; in writeSectionInLoadCommand() 226 Temp.reloff = Sec.RelOff; in writeSectionInLoadCommand() 227 Temp.nreloc = Sec.NReloc; in writeSectionInLoadCommand() 228 Temp.flags = Sec.Flags; in writeSectionInLoadCommand() 229 Temp.reserved1 = Sec.Reserved1; in writeSectionInLoadCommand() 230 Temp.reserved2 = Sec.Reserved2; in writeSectionInLoadCommand() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | Utility.h | 54 std::array<char, 21> Temp; variable 55 char *TempPtr = Temp.data() + Temp.size(); 67 return operator+=(StringView(TempPtr, Temp.data() + Temp.size()));
|
| /llvm-project-15.0.7/libcxxabi/src/demangle/ |
| H A D | Utility.h | 54 std::array<char, 21> Temp; variable 55 char *TempPtr = Temp.data() + Temp.size(); 67 return operator+=(StringView(TempPtr, Temp.data() + Temp.size()));
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 139 APInt Temp(128, TotalCount); in computeDetailedSummary() local 142 Temp *= N; in computeDetailedSummary() 143 Temp = Temp.sdiv(D); in computeDetailedSummary() 144 uint64_t DesiredCount = Temp.getZExtValue(); in computeDetailedSummary()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-equals-default.cpp | 119 class Temp { class 121 Temp() {} in Temp() function in Temp 124 ~Temp() {} in ~Temp()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | wasmehprepare.ll | 10 %struct.Temp = type { i8 } 141 ; struct Temp { 142 ; ~Temp() {} 148 ; Temp t; 168 %t = alloca %struct.Temp, align 1 177 %call = call %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* %t) 183 %call2 = call %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* %t) [ "funclet"(token %0) ] 257 declare %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* returned)
|
| H A D | exception.ll | 7 %struct.Temp = type { i8 } 79 ; struct Temp { 80 ; ~Temp() {} 83 ; Temp t; 97 %t = alloca %struct.Temp, align 1 102 %call = call %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* %t) 107 %call1 = call %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* %t) [ "funclet"(token %0) ] 370 declare %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* returned)
|
| H A D | lower-wasm-ehsjlj.ll | 8 %struct.Temp = type { i8 } 244 ; Temp t; 251 %t = alloca %struct.Temp, align 1 257 %call1 = call noundef %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* noundef %t) #2 268 …%call2 = call noundef %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* noundef %t) #2 [ "funclet"(token %… 269 ; CHECK: %call13 = invoke {{.*}} %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* 299 declare %struct.Temp* @_ZN4TempD2Ev(%struct.Temp* %this) #2
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/incompatible-class-templates/ |
| H A D | other.cpp | 2 template <typename T1, typename T2> struct Temp { int x; }; struct 4 Temp<int, float> Template2;
|
| H A D | main.cpp | 4 template <typename T1> struct Temp { int x; }; argument 6 Temp<float> Template1;
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | template-default-param-through-using.cpp | 20 template<typename T> struct Temp{}; struct 25 template <typename Inner, template <typename> class Outer = Temp>
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | MachOUniversalWriter.cpp | 322 Expected<sys::fs::TempFile> Temp = sys::fs::TempFile::create( in writeUniversalBinary() local 324 if (!Temp) in writeUniversalBinary() 325 return Temp.takeError(); in writeUniversalBinary() 326 raw_fd_ostream Out(Temp->FD, false); in writeUniversalBinary() 328 if (Error DiscardError = Temp->discard()) in writeUniversalBinary() 332 return Temp->keep(OutputFileName); in writeUniversalBinary()
|