Home
last modified time | relevance | path

Searched refs:Temp (Results 1 - 25 of 86) sorted by relevance

1234

/third_party/mesa3d/src/amd/compiler/tests/
H A Dhelpers.h67 extern aco::Temp inputs[16];
89 void writeout(unsigned i, aco::Temp tmp=aco::Temp(0, aco::s1));
94 aco::Temp fneg(aco::Temp src, aco::Builder b=bld);
95 aco::Temp fabs(aco::Temp src, aco::Builder b=bld);
96 aco::Temp f2f32(aco::Temp src, aco::Builder b=bld);
97 aco::Temp f2f1
[all...]
H A Dtest_regalloc.cpp70 Temp hi = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld.def(v2b), inputs[0]).def(1).getTemp();
74 Temp lo = bld.vop1(aco_opcode::v_not_b32, bld.def(v2b), Operand::zero());
90 Temp op1 = bld.pseudo(aco_opcode::p_unit_test, bld.def(s2));
156 Temp tmp = bld.pseudo(aco_opcode::p_extract_vector, bld.def(v1b), inputs[0], Operand::zero());
174 Temp tmp = bld.pseudo(aco_opcode::p_extract_vector, bld.def(v1b), inputs[0], Operand::c32(4u));
198 Temp tmp = bld.pseudo(aco_opcode::p_unit_test, bld.def(v1.as_linear(), reg_v0));
220 Temp s0_tmp = bld.tmp(s1);
221 Temp scc_tmp = bld.pseudo(aco_opcode::p_unit_test, bld.def(s1, scc), Definition(s0_tmp.id(), PhysReg{0}, s1));
224 Temp tmp = bld.pseudo(aco_opcode::p_unit_test, bld.def(v1.as_linear(), reg_v1));
252 Temp lin_tm
[all...]
H A Dtest_optimizer.cpp36 Temp neg_b = fneg(inputs[1]);
43 Temp neg_a = fneg(inputs[0]);
48 Temp neg_neg_a = fneg(neg_a);
53 Temp abs_neg_a = fabs(neg_a);
58 Temp abs_a = fabs(inputs[0]);
59 Temp neg_abs_a = fneg(abs_a);
76 Temp neg_c = fneg(bld.copy(bld.def(v1), inputs[2]));
81 Temp abs_neg_abs_a = fabs(neg_abs_a);
99 Temp tmp = bld.vop2(aco_opcode::v_add_f32, bld.def(v1), inputs[0], inputs[1]);
267 Temp create_subbrev_c
[all...]
H A Dtest_sdwa.cpp171 Temp bfe_byte0_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(8u),
176 Temp bfe_byte1_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(1u), Operand::c32(8u),
181 Temp bfe_byte2_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(2u), Operand::c32(8u),
186 Temp bfe_byte3_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(3u), Operand::c32(8u),
191 Temp bfe_word0_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(16u),
196 Temp bfe_word1_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(1u),
201 Temp bfi_byte0_b = bld.pseudo(ins, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(8u));
205 Temp bfi_word0_b =
217 Temp bfi_byte1_b =
227 Temp bfe_byte0_
[all...]
H A Dtest_optimizer_postRA.cpp43 Temp v_in = inputs[0];
143 Temp in_0 = inputs[0];
144 Temp in_1 = inputs[1];
145 Temp in_2 = inputs[2];
300 Temp tmp0 = bld.vop1_dpp(aco_opcode::v_mov_b32, bld.def(v1, reg_v2), a, dpp_row_mirror);
301 Temp res0 = bld.vop2(aco_opcode::v_add_f32, bld.def(v1, reg_v2), Operand(tmp0, reg_v2), b);
307 Temp tmp1 = bld.vop1_dpp(aco_opcode::v_mov_b32, bld.def(v1, reg_v2), a, dpp_row_mirror);
308 Temp res1 = bld.vop2(aco_opcode::v_sub_f32, bld.def(v1, reg_v2), b, Operand(tmp1, reg_v2));
314 Temp tmp2 = bld.vop1_dpp(aco_opcode::v_mov_b32, bld.def(v1, reg_v2), a, dpp_row_mirror);
315 Temp res
[all...]
H A Dtest_hard_clause.cpp29 static void create_mubuf(Temp desc=Temp(0, s8), unsigned vtx_binding=0) in create_mubuf()
45 static void create_mtbuf(Temp desc=Temp(0, s8), unsigned vtx_binding=0) in create_mtbuf()
68 static void create_mimg(bool nsa, Temp desc=Temp(0, s8)) in create_mimg()
91 static void create_smem_buffer(Temp desc=Temp(0, s4)) in create_smem_buffer()
242 Temp img_desc0 = bld.tmp(s8);
243 Temp img_desc
[all...]
H A Dhelpers.cpp44 Temp inputs[16];
248 void writeout(unsigned i, Temp tmp) in writeout()
271 Temp fneg(Temp src, Builder b) in fneg()
279 Temp fabs(Temp src, Builder b) in fabs()
292 Temp f2f32(Temp src, Builder b) in f2f32()
297 Temp f2f16(Temp sr
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_lower_to_cssa.cpp47 typedef std::vector<Temp> merge_set;
60 Temp equal_anc_in = Temp(); /* within the same merge set */
61 Temp equal_anc_out = Temp(); /* from a different set */
118 Temp tmp = bld.tmp(def.regClass()); in collect_parallelcopies()
154 defined_after(cssa_ctx& ctx, Temp a, Temp b) in defined_after()
166 dominates(cssa_ctx& ctx, Temp a, Temp
[all...]
H A Daco_instruction_selection.cpp70 Temp cond;
128 Temp
132 return Temp(id, ctx->program->temp_rc[id]); in get_ssa_temp()
135 Temp
136 emit_mbcnt(isel_context* ctx, Temp dst, Operand mask = Operand(), Operand base = Operand::zero()) in emit_mbcnt()
161 Temp mbcnt_lo = bld.vop3(aco_opcode::v_mbcnt_lo_u32_b32, bld.def(v1), mask_lo, base); in emit_mbcnt()
169 Temp
170 emit_wqm(Builder& bld, Temp src, Temp dst = Temp( argument
604 bool_to_vector_condition(isel_context* ctx, Temp val, Temp dst = Temp(0, s2)) bool_to_vector_condition() argument
618 bool_to_scalar_condition(isel_context* ctx, Temp val, Temp dst = Temp(0, s1)) bool_to_scalar_condition() argument
642 convert_int(isel_context* ctx, Builder& bld, Temp src, unsigned src_bits, unsigned dst_bits, bool sign_extend, Temp dst = Temp()) convert_int() argument
[all...]
H A Daco_instruction_selection.h47 Temp temps[VARYING_SLOT_MAX * 4u];
52 std::fill_n(temps, VARYING_SLOT_MAX * 4u, Temp(0, RegClass::v1)); in shader_io_state()
64 std::unordered_map<unsigned, std::array<Temp, NIR_MAX_VEC_COMPONENTS>> allocated_vec;
91 Temp arg_temps[AC_MAX_ARGS];
94 Temp persp_centroid, linear_centroid;
97 Temp gs_wave_id;
117 inline Temp
H A Daco_spill.cpp41 template <> struct hash<aco::Temp> {
42 size_t operator()(aco::Temp temp) const noexcept
69 std::vector<std::map<Temp, Temp>> renames;
70 std::vector<std::unordered_map<Temp, uint32_t>> spills_entry;
71 std::vector<std::unordered_map<Temp, uint32_t>> spills_exit;
75 std::vector<std::unordered_map<Temp, std::pair<uint32_t, uint32_t>>> next_use_distances_start;
76 std::vector<std::unordered_map<Temp, std::pair<uint32_t, uint32_t>>> next_use_distances_end;
77 std::vector<std::vector<std::pair<Temp, uint32_t>>> local_next_use_distance; /* Working buffer */
81 std::unordered_map<Temp, remat_inf
[all...]
H A Daco_reindex_ssa.cpp47 def.setTemp(Temp(new_id, rc)); in reindex_defs()
59 op.setTemp(Temp(new_id, op.regClass())); in reindex_ops()
90 program->private_segment_buffer = Temp(ctx.renames[program->private_segment_buffer.id()], in reindex_program()
93 Temp(ctx.renames[program->scratch_offset.id()], program->scratch_offset.regClass()); in reindex_program()
H A Daco_ir.h402 * Temp Class
407 struct Temp { struct
408 Temp() noexcept : id_(0), reg_class(0) {}
409 constexpr Temp(uint32_t id, RegClass cls) noexcept : id_(id), reg_class(uint8_t(cls)) {} in uint8_t()
419 constexpr bool operator<(Temp other) const noexcept { return id() < other.id(); }
420 constexpr bool operator==(Temp other) const noexcept { return id() == other.id(); }
421 constexpr bool operator!=(Temp other) const noexcept { return id() != other.id(); }
496 explicit Operand(Temp r) noexcept
506 explicit Operand(Temp r, PhysReg reg) noexcept
663 data_.temp = Temp(
928 Definition(uint32_t tmpId, PhysReg reg, RegClass type) noexcept : temp(Temp(tmpId, type)) Temp() function in final
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileOutputBuffer.cpp36 OnDiskBuffer(StringRef Path, fs::TempFile Temp, in OnDiskBuffer() argument
38 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {} in OnDiskBuffer()
53 return Temp.keep(FinalPath);
60 consumeError(Temp.discard());
66 consumeError(Temp.discard());
71 fs::TempFile Temp; member in __anon24317::OnDiskBuffer
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DMCSchedule.cpp98 double Temp = NumUnits * 1.0 / I->Cycles; in getReciprocalThroughput() local
99 Throughput = Throughput ? std::min(Throughput.getValue(), Temp) : Temp; in getReciprocalThroughput()
142 double Temp = countPopulation(I->getUnits()) * 1.0 / I->getCycles(); in getReciprocalThroughput() local
143 Throughput = Throughput ? std::min(Throughput.getValue(), Temp) : Temp; in getReciprocalThroughput()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp74 APInt Temp(128, TotalCount); in computeDetailedSummary()
77 Temp *= N; in computeDetailedSummary()
78 Temp = Temp.sdiv(D); in computeDetailedSummary()
79 uint64_t DesiredCount = Temp.getZExtValue(); in computeDetailedSummary()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
H A DCaching.cpp137 Expected<sys::fs::TempFile> Temp = sys::fs::TempFile::create( in localCache() local
139 if (!Temp) { in localCache()
140 errs() << "Error: " << toString(Temp.takeError()) << "\n"; in localCache()
146 std::make_unique<raw_fd_ostream>(Temp->FD, /* ShouldClose */ false), in localCache()
147 AddBuffer, std::move(*Temp), EntryPath.str(), Task); in localCache()
/third_party/ffmpeg/libavcodec/mips/
H A Daacpsy_mips.h75 float Temp; in calc_thr_3gpp_mips() local
116 Temp = sqrtf((float)band_sizes[g] / band->energy); in calc_thr_3gpp_mips()
118 band->nz_lines = form_factor * sqrtf(Temp); in calc_thr_3gpp_mips()
/third_party/backends/backend/
H A Dhpsj5s.c1057 int j, Average, Temp, Index, /* Line, */ timeout,Calibration; in CalibrateScanElements() local
1168 for(Temp = 0, j = 0; j < 2570; j++) in CalibrateScanElements()
1169 Temp += FilteredBuffer[j]; in CalibrateScanElements()
1170 Temp /= 2570; in CalibrateScanElements()
1172 if((Average == 0)||(Average > Temp)) in CalibrateScanElements()
1173 Average = Temp; in CalibrateScanElements()
1234 for(Temp = 0,j = 0; j < 16;j++) in CalibrateScanElements()
1235 Temp += FilteredBuffer[509+j]; /*At this offset calcalates HP's driver.*/ in CalibrateScanElements()
1236 Temp /= 16; in CalibrateScanElements()
1238 if(Average > Temp) in CalibrateScanElements()
[all...]
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/t/
H A Dexported.t9 use File::Temp;
13 my $tfh = File::Temp->new;
H A Dtaint.t8 use File::Temp;
13 # File::Temp (for all versions up to at least 0.2308) is currently bugged under MSWin32/taint mode [as of 2018-09]
15 # ref: [File-Temp: Fails under -T, Windows 7, Strawberry Perl 5.12.1](https://rt.cpan.org/Public/Bug/Display.html?id=60340)
20 my $tmpfile = File::Temp->new;
/third_party/openssl/external/perl/Text-Template-1.56/t/
H A Dtaint.t8 use File::Temp;
13 # File::Temp (for all versions up to at least 0.2308) is currently bugged under MSWin32/taint mode [as of 2018-09]
15 # ref: [File-Temp: Fails under -T, Windows 7, Strawberry Perl 5.12.1](https://rt.cpan.org/Public/Bug/Display.html?id=60340)
20 my $tmpfile = File::Temp->new;
H A Dexported.t9 use File::Temp;
13 my $tfh = File::Temp->new;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
H A DUtility.h51 char Temp[21]; in writeUnsigned() local
52 char *TempPtr = std::end(Temp); in writeUnsigned()
62 this->operator<<(StringView(TempPtr, std::end(Temp))); in writeUnsigned()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp658 Register Temp = MRI.createVirtualRegister(&Mips::GPR32RegClass); in select() local
666 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select()
667 Instructions.emplace_back(Mips::SLTiu, ICMPReg, Temp, 1); in select()
670 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select()
671 Instructions.emplace_back(Mips::SLTu, ICMPReg, Mips::ZERO, Temp); in select()
677 Instructions.emplace_back(Mips::SLTu, Temp, LHS, RHS); in select()
678 Instructions.emplace_back(Mips::XORi, ICMPReg, Temp, 1); in select()
684 Instructions.emplace_back(Mips::SLTu, Temp, RHS, LHS); in select()
685 Instructions.emplace_back(Mips::XORi, ICMPReg, Temp, 1); in select()
691 Instructions.emplace_back(Mips::SLT, Temp, LH in select()
[all...]

Completed in 15 milliseconds

1234