Home
last modified time | relevance | path

Searched refs:Vals (Results 1 – 25 of 66) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp376 SmallVectorImpl<unsigned> &Vals);
379 SmallVectorImpl<unsigned> &Vals);
381 SmallVectorImpl<uint64_t> &Vals);
383 SmallVectorImpl<unsigned> &Vals);
586 SmallVector<unsigned, 64> Vals; in writeStringRecord() local
592 Vals.push_back(Str[i]); in writeStringRecord()
596 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord()
1096 SmallVector<unsigned, 64> Vals; in writeComdats() local
1099 Vals.push_back(addToStrtab(C->getName())); in writeComdats()
1100 Vals.push_back(C->getName().size()); in writeComdats()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamWriter.h296 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, in EmitRecordWithAbbrevImpl() argument
325 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl()
326 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
336 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
349 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); in EmitRecordWithAbbrevImpl()
352 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) in EmitRecordWithAbbrevImpl()
353 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
360 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
368 emitBlob(Vals.slice(RecordIdx)); in EmitRecordWithAbbrevImpl()
371 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp85 val_vec_type &Vals, uint64_t Offset);
87 val_vec_type &Vals, int Offset);
89 val_vec_type &Vals, int Offset);
91 val_vec_type &Vals, int Offset);
366 val_vec_type Vals(total_size, 0); in getConstantFieldValue() local
367 if (fillGenericConstant(DL, Init, Vals, 0) == false) in getConstantFieldValue()
369 cs_vals_[static_cast<const void *>(Init)] = Vals; in getConstantFieldValue()
370 TmpVal = std::move(Vals); in getConstantFieldValue()
393 val_vec_type &Vals, uint64_t Offset) { in fillGenericConstant() argument
409 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMDBuilder.cpp45 SmallVector<Metadata *, 4> Vals(Weights.size() + 1); in createBranchWeights() local
46 Vals[0] = createString("branch_weights"); in createBranchWeights()
50 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights()
52 return MDNode::get(Context, Vals); in createBranchWeights()
202 SmallVector<Metadata *, 4> Vals(Fields.size() * 3); in createTBAAStructNode() local
205 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode()
206 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode()
207 Vals[i * 3 + 2] = Fields[i].Type; in createTBAAStructNode()
209 return MDNode::get(Context, Vals); in createTBAAStructNode()
306 Metadata *Vals[] = { in createIrrLoopHeaderWeight() local
[all …]
/third_party/boost/boost/beast/core/detail/
Dbind_handler.hpp51 template<class Arg, class Vals>
59 extract(Arg&& arg, Vals&& vals) in extract()
65 template<class Arg, class Vals>
72 Vals>>::type&&
73 extract(Arg&&, Vals&& vals) in extract()
77 std::forward<Vals>(vals)); in extract()
80 template<class Arg, class Vals>
87 Vals>>::type&&
88 extract(Arg&&, Vals&& vals) in extract()
92 std::forward<Vals>(vals)); in extract()
/third_party/boost/libs/beast/include/boost/beast/core/detail/
Dbind_handler.hpp51 template<class Arg, class Vals>
59 extract(Arg&& arg, Vals&& vals) in extract()
65 template<class Arg, class Vals>
72 Vals>>::type&&
73 extract(Arg&&, Vals&& vals) in extract()
77 std::forward<Vals>(vals)); in extract()
80 template<class Arg, class Vals>
87 Vals>>::type&&
88 extract(Arg&&, Vals&& vals) in extract()
92 std::forward<Vals>(vals)); in extract()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormat.h91 std::tuple<Ts...> Vals;
97 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
99 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
105 : format_object_base(fmt), Vals(vals...) {
124 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) {
125 return format_object<Ts...>(Fmt, Vals...);
DFormatVariadic.h236 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype(
237 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> {
239 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
242 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFormat.h91 std::tuple<Ts...> Vals;
97 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
99 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
105 : format_object_base(fmt), Vals(vals...) {
124 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) {
125 return format_object<Ts...>(Fmt, Vals...);
DFormatVariadic.h253 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype(
254 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> {
256 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
259 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/
DBitstreamReader.cpp206 SmallVectorImpl<uint64_t> &Vals, in readRecord() argument
220 Vals.push_back(MaybeVal.get()); in readRecord()
247 Vals.push_back(Op.getLiteralValue()); in readRecord()
254 Vals.push_back(MaybeVal.get()); in readRecord()
283 Vals.push_back(MaybeVal.get()); in readRecord()
291 Vals.push_back(MaybeVal.get()); in readRecord()
298 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(MaybeVal.get())); in readRecord()
320 Vals.append(NumElts, 0); in readRecord()
338 Vals.push_back((unsigned char)*Ptr++); in readRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h136 ArrayRef<DbgValueLoc> Vals) in DebugLocEntry() argument
138 addValues(Vals); in DebugLocEntry()
157 void addValues(ArrayRef<DbgValueLoc> Vals) { in addValues() argument
158 Values.append(Vals.begin(), Vals.end()); in addValues()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp194 SmallVectorImpl<uint64_t> &Vals) { in readArrayAbbrev() argument
196 Vals.push_back(readArrayAbbreviatedField(Op)); in readArrayAbbrev()
201 SmallVectorImpl<uint64_t> &Vals) { in readRecord() argument
206 Vals.push_back(ReadVBR64(6)); in readRecord()
221 readArrayAbbrev(Op, Value - 1, Vals); in readRecord()
232 readArrayAbbrev(Abbv->getOperandInfo(i), Value, Vals); in readRecord()
236 Vals.push_back(Value); in readRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.h800 inline Value **unwrap(LLVMValueRef *Vals) {
801 return reinterpret_cast<Value**>(Vals);
805 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
807 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
811 return reinterpret_cast<T**>(Vals);
814 inline LLVMValueRef *wrap(const Value **Vals) {
815 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
/third_party/flatbuffers/src/
Didl_gen_json_schema.cpp117 const auto &union_types = type.enum_def->Vals(); in GenType()
125 if (union_type != *type.enum_def->Vals().rbegin()) { in GenType()
182 for (auto enum_value = (*e)->Vals().begin(); in generate()
183 enum_value != (*e)->Vals().end(); ++enum_value) { in generate()
185 if (*enum_value != (*e)->Vals().back()) { enumdef.append(", "); } in generate()
Didl_gen_cpp.cpp991 for (auto it = enum_def->Vals().begin(); it != enum_def->Vals().end(); in GenMiniReflect()
1054 for (auto it = enum_def->Vals().begin(); it != enum_def->Vals().end(); in GenMiniReflect()
1129 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in GenEnum()
1181 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in GenEnum()
1184 auto suffix = *it != enum_def.Vals().back() ? "," : ""; in GenEnum()
1205 auto val = enum_def.Vals().front(); in GenEnum()
1206 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); in GenEnum()
1244 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); in GenEnum()
1260 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); in GenEnum()
1264 if (it == enum_def.Vals().begin()) { in GenEnum()
[all …]
Didl_gen_ts.cpp142 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in GenEnum()
145 if (it != enum_def.Vals().begin()) { code += '\n'; } in GenEnum()
160 code += (it + 1) != enum_def.Vals().end() ? ",\n" : "\n"; in GenEnum()
410 return std::any_of(union_enum.Vals().begin(), union_enum.Vals().end(), in UnionHasStringType()
428 for (auto it = union_enum.Vals().begin(); it != union_enum.Vals().end(); in GenUnionTypeTS()
559 for (auto it = union_enum.Vals().begin(); it != union_enum.Vals().end(); in GenObjApiUnionTypeTS()
612 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); in GenUnionConvFunc()
Didl_gen_go.cpp833 for (auto it2 = enum_def.Vals().begin(); it2 != enum_def.Vals().end(); in GenNativeUnionPack()
854 for (auto it2 = enum_def.Vals().begin(); it2 != enum_def.Vals().end(); in GenNativeUnionUnPack()
1125 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in GenEnum()
1133 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in GenEnum()
1140 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in GenEnum()
1360 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in MaxNameLength()
Didl_gen_lobster.cpp165 for (auto it = field.value.type.enum_def->Vals().begin(); in GenStructAccessor()
166 it != field.value.type.enum_def->Vals().end(); ++it) { in GenStructAccessor()
282 for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) { in GenEnum()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValue.h907 inline Value **unwrap(LLVMValueRef *Vals) {
908 return reinterpret_cast<Value**>(Vals);
912 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
914 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
918 return reinterpret_cast<T**>(Vals);
921 inline LLVMValueRef *wrap(const Value **Vals) {
922 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp120 SmallVector<SDValue, 8> Vals; in ExpandRes_BITCAST() local
122 Vals.push_back(DAG.getNode( in ExpandRes_BITCAST()
128 for (unsigned e = Vals.size(); e - Slot > 2; Slot += 2, e += 1) { in ExpandRes_BITCAST()
131 SDValue LHS = Vals[Slot]; in ExpandRes_BITCAST()
132 SDValue RHS = Vals[Slot + 1]; in ExpandRes_BITCAST()
137 Vals.push_back(DAG.getNode( in ExpandRes_BITCAST()
142 Lo = Vals[Slot++]; in ExpandRes_BITCAST()
143 Hi = Vals[Slot++]; in ExpandRes_BITCAST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp90 Metadata *Vals[] = {ValueAsMetadata::get(E.first.first), in addModuleFlags() local
94 Nodes.push_back(MDNode::get(Context, Vals)); in addModuleFlags()
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerTracePC.cpp305 uint64_t *Vals = Cases + 2; in __sanitizer_cov_trace_switch() local
319 if ((Val | Vals[Idx]) < TwoIn32) in __sanitizer_cov_trace_switch()
321 static_cast<uint32_t>(Vals[Idx])); in __sanitizer_cov_trace_switch()
323 fuzzer::TPC.HandleCmp(PC + Idx, Val, Vals[Idx]); in __sanitizer_cov_trace_switch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegisterCoalescer.cpp2315 SmallVector<Val, 8> Vals; member in __anoncb6d52960311::JoinVals
2380 TRI(TRI), Assignments(LR.getNumValNums(), -1), Vals(LR.getNumValNums()) {} in JoinVals()
2426 return Vals[Num].Resolution; in getResolution()
2525 Val &V = Vals[ValNo]; in analyzeValue()
2575 V.ValidLanes |= Vals[V.RedefVNI->id].ValidLanes; in analyzeValue()
2613 Val &OtherV = Other.Vals[OtherVNI->id]; in analyzeValue()
2640 Val &OtherV = Other.Vals[V.OtherVNI->id]; in analyzeValue()
2763 Val &V = Vals[ValNo]; in computeAssignment()
2775 assert(Other.Vals[V.OtherVNI->id].isAnalyzed() && "Missing recursion"); in computeAssignment()
2787 Val &OtherV = Other.Vals[V.OtherVNI->id]; in computeAssignment()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVN.cpp1631 LeaderTableEntry *Vals = &Gvn.LeaderTable[Num]; in areAllValsInBB() local
1632 while (Vals && Vals->BB == BB) in areAllValsInBB()
1633 Vals = Vals->Next; in areAllValsInBB()
1634 return !Vals; in areAllValsInBB()
1655 LeaderTableEntry *Vals = &Gvn.LeaderTable[Num]; in areCallValsEqual() local
1656 while (Vals) { in areCallValsEqual()
1657 Call = dyn_cast<CallInst>(Vals->Val); in areCallValsEqual()
1660 Vals = Vals->Next; in areCallValsEqual()
1755 LeaderTableEntry Vals = LeaderTable[num]; in findLeader() local
1756 if (!Vals.Val) return nullptr; in findLeader()
[all …]

123