Home
last modified time | relevance | path

Searched refs:Temp (Results 1 – 25 of 107) sorted by relevance

12345

/llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp12.cpp17 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 Dmain.cpp2 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 DFuzzerUtilLinux.cpp32 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 DFuzzerUtilDarwin.cpp161 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 DFuzzerUtilWindows.cpp220 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 Dlambda-expressions.cpp122 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 DFileOutputBuffer.cpp34 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 DCaching.cpp151 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 DMCSchedule.cpp98 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 DMetadataTest.cpp309 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 Dupdate_plist_test.pl4 require File::Temp;
5 use File::Temp ();
14 my $fh = File::Temp->new();
/llvm-project-15.0.7/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp147 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 DExecutionDriver.cpp260 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 DMachOWriter.cpp215 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 DUtility.h54 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 DUtility.h54 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 DProfileSummaryBuilder.cpp139 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 Duse-equals-default.cpp119 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 Dwasmehprepare.ll10 %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 Dexception.ll7 %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 Dlower-wasm-ehsjlj.ll8 %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 Dother.cpp2 template <typename T1, typename T2> struct Temp { int x; }; struct
4 Temp<int, float> Template2;
H A Dmain.cpp4 template <typename T1> struct Temp { int x; }; argument
6 Temp<float> Template1;
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dtemplate-default-param-through-using.cpp20 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 DMachOUniversalWriter.cpp322 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()

12345