Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1158 Vals.clear(); in writeComdats()
1267 Vals.push_back( in writeModuleInfo()
1271 Vals.push_back( in writeModuleInfo()
1294 Vals.clear(); in writeModuleInfo()
1313 Vals.push_back( in writeModuleInfo()
1319 Vals.push_back( in writeModuleInfo()
1324 Vals.clear(); in writeModuleInfo()
1339 Vals.clear(); in writeModuleInfo()
2493 Vals.push_back( in writeInstruction()
2554 Vals.clear(); in writeInstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1263 Vals.clear(); in writeComdats()
1431 Vals.clear(); in writeModuleInfo()
1482 Vals.clear(); in writeModuleInfo()
1520 Vals.clear(); in writeModuleInfo()
1544 Vals.clear(); in writeModuleInfo()
1562 Vals.clear(); in writeModuleInfo()
3321 Vals.clear(); in writeInstruction()
3464 Vals.clear(); in writeFunction()
3538 Vals.clear(); in writeFunction()
3824 Vals.clear(); in writeModStrings()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h416 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
426 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
443 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
450 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
458 emitBlob(Vals.slice(RecordIdx)); in EmitRecordWithAbbrevImpl()
462 EmitAbbreviatedField(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
502 auto Count = static_cast<uint32_t>(std::size(Vals));
507 EmitVBR64(Vals[i], 6);
528 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
533 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp87 val_vec_type &Vals, int Offset);
89 val_vec_type &Vals, int Offset);
91 val_vec_type &Vals, int Offset);
356 val_vec_type Vals(total_size, 0); in getConstantFieldValue() local
357 if (fillGenericConstant(DL, Init, Vals, 0) == false) in getConstantFieldValue()
359 cs_vals_[static_cast<const void *>(Init)] = Vals; in getConstantFieldValue()
360 TmpVal = std::move(Vals); in getConstantFieldValue()
399 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant()
407 return fillConstantDataArray(DL, CDA, Vals, Offset); in fillGenericConstant()
410 return fillConstantArray(DL, CA, Vals, Offset); in fillGenericConstant()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGLoopInfo.cpp65 Metadata *Vals[] = { in createPipeliningMetadata() local
69 Args.push_back(MDNode::get(Ctx, Vals)); in createPipeliningMetadata()
123 Args.push_back(MDNode::get(Ctx, Vals)); in createPartialUnrollMetadata()
129 Args.push_back(MDNode::get(Ctx, Vals)); in createPartialUnrollMetadata()
182 Metadata *Vals[] = { in createUnrollAndJamMetadata() local
186 Args.push_back(MDNode::get(Ctx, Vals)); in createUnrollAndJamMetadata()
261 Metadata *Vals[] = { in createLoopVectorizeMetadata() local
270 Metadata *Vals[] = { in createLoopVectorizeMetadata() local
280 Metadata *Vals[] = { in createLoopVectorizeMetadata() local
289 Metadata *Vals[] = { in createLoopVectorizeMetadata() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp215 SmallVectorImpl<uint64_t> &Vals, in readRecord() argument
230 Vals.reserve(Vals.size() + NumElts); in readRecord()
234 Vals.push_back(MaybeVal.get()); in readRecord()
264 Vals.push_back(Op.getLiteralValue()); in readRecord()
271 Vals.push_back(MaybeVal.get()); in readRecord()
287 Vals.reserve(Vals.size() + NumElts); in readRecord()
305 Vals.push_back(MaybeVal.get()); in readRecord()
313 Vals.push_back(MaybeVal.get()); in readRecord()
320 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(MaybeVal.get())); in readRecord()
356 Vals.append(UPtr, UPtr + NumElts); in readRecord()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormat.h92 std::tuple<Ts...> Vals;
98 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
100 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
106 : format_object_base(fmt), Vals(vals...) {
125 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) {
126 return format_object<Ts...>(Fmt, Vals...);
H A DFormatVariadic.h251 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype(
252 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> {
254 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
257 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A 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()
227 SmallVector<Metadata *, 4> Vals(Fields.size() * 3); in createTBAAStructNode() local
230 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode()
231 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode()
232 Vals[i * 3 + 2] = Fields[i].Type; in createTBAAStructNode()
234 return MDNode::get(Context, Vals); in createTBAAStructNode()
331 Metadata *Vals[] = { in createIrrLoopHeaderWeight() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DWatchedLiteralsSolver.cpp261 CNFFormula buildCNF(const llvm::ArrayRef<const Formula *> &Vals) { in buildCNF() argument
275 for (const Formula *Val : Vals) in buildCNF()
305 for (const Formula *Val : Vals) in buildCNF()
311 for (const Formula *Val : Vals) in buildCNF()
503 const llvm::ArrayRef<const Formula *> &Vals) in WatchedLiteralsSolverImpl() argument
504 : CNF(buildCNF(Vals)), LevelVars(CNF.LargestVar + 1), in WatchedLiteralsSolverImpl()
506 assert(!Vals.empty()); in WatchedLiteralsSolverImpl()
787 WatchedLiteralsSolver::solve(llvm::ArrayRef<const Formula *> Vals) { in solve() argument
788 if (Vals.empty()) in solve()
790 auto [Res, Iterations] = WatchedLiteralsSolverImpl(Vals).solve(MaxIterations); in solve()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h199 ArrayRef<DbgValueLoc> Vals) in DebugLocEntry() argument
201 addValues(Vals); in DebugLocEntry()
224 void addValues(ArrayRef<DbgValueLoc> Vals) { in addValues() argument
225 Values.append(Vals.begin(), Vals.end()); in addValues()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILMetadata.cpp77 Metadata *Vals[3]; in createShaderModelMD() local
78 Vals[0] = MDString::get(Ctx, getShortShaderStage(TT.getEnvironment())); in createShaderModelMD()
79 Vals[1] = ConstantAsMetadata::get(B.getInt32(Ver.getMajor())); in createShaderModelMD()
80 Vals[2] = ConstantAsMetadata::get(B.getInt32(Ver.getMinor().value_or(0))); in createShaderModelMD()
81 Entry->addOperand(MDNode::get(Ctx, Vals)); in createShaderModelMD()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.h1054 inline Value **unwrap(LLVMValueRef *Vals) {
1055 return reinterpret_cast<Value**>(Vals);
1059 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
1061 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
1065 return reinterpret_cast<T**>(Vals);
1068 inline LLVMValueRef *wrap(const Value **Vals) {
1069 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp35 Metadata *Vals[] = {ValueAsMetadata::get(E.first.first), in addModuleFlags() local
39 Nodes.push_back(MDNode::get(Context, Vals)); in addModuleFlags()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DArena.h57 Vals.emplace_back(std::make_unique<T>(std::forward<Args>(args)...)) in create()
131 std::vector<std::unique_ptr<Value>> Vals; variable
H A DWatchedLiteralsSolver.h49 Result solve(llvm::ArrayRef<const Formula *> Vals) override;
H A DSolver.h89 virtual Result solve(llvm::ArrayRef<const Formula *> Vals) = 0;
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp566 SmallVector<const Expr *, 8> Vals; in rewriteToDictionaryLiteral() local
567 if (!getNSArrayObjects(Msg->getArg(0), NS, Vals)) in rewriteToDictionaryLiteral()
574 if (Vals.size() != Keys.size()) in rewriteToDictionaryLiteral()
577 if (Vals.empty()) { in rewriteToDictionaryLiteral()
582 for (unsigned i = 0, n = Vals.size(); i < n; ++i) { in rewriteToDictionaryLiteral()
583 objectifyExpr(Vals[i], commit); in rewriteToDictionaryLiteral()
586 SourceRange ValRange = Vals[i]->getSourceRange(); in rewriteToDictionaryLiteral()
622 SmallVector<const Expr *, 8> Vals; in shouldNotRewriteImmediateMessageArgs() local
623 if (!getNSArrayObjects(Msg->getArg(0), NS, Vals)) in shouldNotRewriteImmediateMessageArgs()
630 if (Vals.size() != Keys.size()) in shouldNotRewriteImmediateMessageArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp123 SmallVector<SDValue, 8> Vals; in ExpandRes_BITCAST() local
125 Vals.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, ElemVT, in ExpandRes_BITCAST()
130 for (unsigned e = Vals.size(); e - Slot > 2; Slot += 2, e += 1) { in ExpandRes_BITCAST()
133 SDValue LHS = Vals[Slot]; in ExpandRes_BITCAST()
134 SDValue RHS = Vals[Slot + 1]; in ExpandRes_BITCAST()
139 Vals.push_back(DAG.getNode( in ExpandRes_BITCAST()
144 Lo = Vals[Slot++]; in ExpandRes_BITCAST()
145 Hi = Vals[Slot++]; in ExpandRes_BITCAST()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A Dllvm-debuginfo-analyzer.cpp31 static void error(std::error_code EC, char const *Fmt, const Ts &...Vals) { in error() argument
36 Stream << format(Fmt, Vals...); in error()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.cpp554 uint64_t *Vals = Cases + 2; in __sanitizer_cov_trace_switch() local
558 if (Vals[N - 1] < 256) in __sanitizer_cov_trace_switch()
570 if (Val < Vals[i]) { in __sanitizer_cov_trace_switch()
571 Larger = Vals[i]; in __sanitizer_cov_trace_switch()
574 if (Val > Vals[i]) Smaller = Vals[i]; in __sanitizer_cov_trace_switch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp2531 SmallVector<Val, 8> Vals; member in __anon958e62000311::JoinVals
2643 return Vals[Num].Resolution; in getResolution()
2742 Val &V = Vals[ValNo]; in analyzeValue()
3022 Val &V = Vals[ValNo]; in computeAssignment()
3128 Val &V = Vals[i]; in resolveConflicts()
3195 Val &V = Vals[ValNo]; in isPrunedValue()
3224 Val &OtherV = Other.Vals[Vals[i].OtherVNI->id]; in pruneValues()
3319 Val &V = Vals[i]; in pruneSubRegValues()
3403 Vals[i].Pruned = true; in pruneMainSegments()
3410 Val &V = Vals[i]; in removeImplicitDefs()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp126 llvm::ImmutableList<SVal> Vals) { in getCompoundValData() argument
128 CompoundValData::Profile(ID, T, Vals); in getCompoundValData()
134 D = new (BPAlloc) CompoundValData(T, Vals); in getCompoundValData()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp2205 while (Vals && Vals->BB == BB) in areAllValsInBB()
2206 Vals = Vals->Next; in areAllValsInBB()
2207 return !Vals; in areAllValsInBB()
2230 while (Vals) { in areCallValsEqual()
2231 Call = dyn_cast<CallInst>(Vals->Val); in areCallValsEqual()
2234 Vals = Vals->Next; in areCallValsEqual()
2327 LeaderTableEntry Vals = LeaderTable[num]; in findLeader() local
2328 if (!Vals.Val) return nullptr; in findLeader()
2331 if (DT->dominates(Vals.BB, BB)) { in findLeader()
2332 Val = Vals.Val; in findLeader()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMap.h775 DenseMap(std::initializer_list<typename BaseT::value_type> Vals) { in DenseMap() argument
776 init(Vals.size()); in DenseMap()
777 this->insert(Vals.begin(), Vals.end()); in DenseMap()
956 SmallDenseMap(std::initializer_list<typename BaseT::value_type> Vals) in SmallDenseMap() argument
957 : SmallDenseMap(Vals.begin(), Vals.end()) {} in SmallDenseMap()

123