| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 153 static void emitSignedInt64(SmallVectorImpl<uint64_t> &Vals, uint64_t V); 154 static void emitWideAPInt(SmallVectorImpl<uint64_t> &Vals, const APInt &A); 345 SmallVectorImpl<unsigned> &Vals); 348 SmallVectorImpl<unsigned> &Vals); 350 SmallVectorImpl<uint64_t> &Vals); 352 SmallVectorImpl<unsigned> &Vals); 611 SmallVector<unsigned, 64> Vals; in writeStringRecord() local 617 Vals.push_back(C); in writeStringRecord() 621 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord() 727 void DXILBitcodeWriter::emitSignedInt64(SmallVectorImpl<uint64_t> &Vals, in emitSignedInt64() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 429 SmallVectorImpl<unsigned> &Vals); 431 SmallVectorImpl<unsigned> &Vals); 434 SmallVectorImpl<unsigned> &Vals); 436 SmallVectorImpl<uint64_t> &Vals); 438 SmallVectorImpl<unsigned> &Vals); 736 SmallVector<unsigned, 64> Vals; in writeStringRecord() local 742 Vals.push_back(C); in writeStringRecord() 746 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord() 961 static void emitSignedInt64(SmallVectorImpl<uint64_t> &Vals, uint64_t V) { in emitSignedInt64() argument 963 Vals.push_back(V << 1); in emitSignedInt64() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamWriter.h | 459 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, in EmitRecordWithAbbrevImpl() argument 488 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl() 489 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl() 499 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl() 512 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); in EmitRecordWithAbbrevImpl() 515 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) in EmitRecordWithAbbrevImpl() 516 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl() 523 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl() 531 emitBlob(Vals.slice(RecordIdx)); in EmitRecordWithAbbrevImpl() 534 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 79 val_vec_type &Vals, uint64_t Offset); 81 val_vec_type &Vals, int Offset); 83 val_vec_type &Vals, int Offset); 85 val_vec_type &Vals, int Offset); 359 val_vec_type Vals(total_size, 0); in getConstantFieldValue() local 360 if (fillGenericConstant(DL, Init, Vals, 0) == false) in getConstantFieldValue() 362 cs_vals_[static_cast<const void *>(Init)] = Vals; in getConstantFieldValue() 363 TmpVal = std::move(Vals); in getConstantFieldValue() 386 val_vec_type &Vals, uint64_t Offset) { in fillGenericConstant() argument 402 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGLoopInfo.cpp | 61 Metadata *Vals[] = { in createPipeliningMetadata() local 65 Args.push_back(MDNode::get(Ctx, Vals)); in createPipeliningMetadata() 113 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"), in createPartialUnrollMetadata() local 116 Args.push_back(MDNode::get(Ctx, Vals)); in createPartialUnrollMetadata() 121 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.enable")}; in createPartialUnrollMetadata() local 122 Args.push_back(MDNode::get(Ctx, Vals)); in createPartialUnrollMetadata() 172 Metadata *Vals[] = { in createUnrollAndJamMetadata() local 176 Args.push_back(MDNode::get(Ctx, Vals)); in createUnrollAndJamMetadata() 180 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll_and_jam.enable")}; in createUnrollAndJamMetadata() local 181 Args.push_back(MDNode::get(Ctx, Vals)); in createUnrollAndJamMetadata() [all …]
|
| H A D | CGValue.h | 52 } Vals; 62 RValue() : Vals{nullptr, nullptr}, Flavor(Scalar) {} 73 return Vals.first; 79 return std::make_pair(Vals.first, Vals.second); 100 ER.Vals.first = V; 110 ER.Vals = {V1, V2};
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/ |
| H A D | BitstreamReader.cpp | 215 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() 357 Vals.append(UPtr, UPtr + NumElts); in readRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | MDBuilder.cpp | 58 SmallVector<Metadata *, 4> Vals(Weights.size() + Offset); in createBranchWeights() local 59 Vals[0] = createString(MDProfLabels::BranchWeights); in createBranchWeights() 61 Vals[1] = createString(MDProfLabels::ExpectedBranchWeights); in createBranchWeights() 65 Vals[i + Offset] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights() 67 return MDNode::get(Context, Vals); in createBranchWeights() 240 SmallVector<Metadata *, 4> Vals(Fields.size() * 3); in createTBAAStructNode() local 243 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode() 244 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode() 245 Vals[i * 3 + 2] = Fields[i].Type; in createTBAAStructNode() 247 return MDNode::get(Context, Vals); in createTBAAStructNode() [all …]
|
| H A D | ProfDataUtils.cpp | 291 SmallVector<Metadata *, 3> Vals; in scaleProfData() local 292 Vals.push_back(ProfileData->getOperand(0)); in scaleProfData() 303 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData() 308 Vals.push_back(ProfileData->getOperand(Idx)); in scaleProfData() 315 Vals.push_back(ProfileData->getOperand(Idx + 1)); in scaleProfData() 321 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData() 324 I.setMetadata(LLVMContext::MD_prof, MDNode::get(C, Vals)); in scaleProfData()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | NumberedValues.h | 19 DenseMap<unsigned, T> Vals; variable 24 T get(unsigned ID) const { return Vals.lookup(ID); } in get() 27 Vals.insert({ID, V}); in add()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Format.h | 93 std::tuple<Ts...> Vals; 99 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); 101 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); 107 : format_object_base(fmt), Vals(vals...) { 126 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) { 127 return format_object<Ts...>(Fmt, Vals...);
|
| H A D | FormatVariadic.h | 253 inline auto formatv(bool Validate, const char *Fmt, Ts &&...Vals) { in formatv() argument 255 support::detail::build_format_adapter(std::forward<Ts>(Vals))...); in formatv() 260 template <typename... Ts> inline auto formatv(const char *Fmt, Ts &&...Vals) { in formatv() argument 261 return formatv<Ts...>(true, Fmt, std::forward<Ts>(Vals)...); in formatv()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | WatchedLiteralsSolver.cpp | 107 const llvm::ArrayRef<const Formula *> &Vals) in WatchedLiteralsSolverImpl() argument 110 : Atomics(), CNF(buildCNF(Vals, Atomics)), in WatchedLiteralsSolverImpl() 112 assert(!Vals.empty()); in WatchedLiteralsSolverImpl() 409 WatchedLiteralsSolver::solve(llvm::ArrayRef<const Formula *> Vals) { in solve() argument 410 if (Vals.empty()) in solve() 412 auto [Res, Iterations] = WatchedLiteralsSolverImpl(Vals).solve(MaxIterations); in solve()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocEntry.h | 197 ArrayRef<DbgValueLoc> Vals) in DebugLocEntry() argument 199 addValues(Vals); in DebugLocEntry() 222 void addValues(ArrayRef<DbgValueLoc> Vals) { in addValues() argument 223 Values.append(Vals.begin(), Vals.end()); in addValues()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/ |
| H A D | VecUtils.h | 134 static Instruction *getLowest(ArrayRef<Value *> Vals, BasicBlock *BB) { 136 auto It = find_if(Vals, [BB](Value *V) { 140 if (It == Vals.end()) 146 for (auto *V : make_range(std::next(It), Vals.end())) {
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Value.h | 1080 inline Value **unwrap(LLVMValueRef *Vals) { 1081 return reinterpret_cast<Value**>(Vals); 1085 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) { 1087 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I) 1091 return reinterpret_cast<T**>(Vals); 1094 inline LLVMValueRef *wrap(const Value **Vals) { 1095 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
|
| /freebsd/contrib/llvm-project/llvm/tools/lli/ |
| H A D | ExecutionUtils.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | CGProfile.cpp | 36 Metadata *Vals[] = {ValueAsMetadata::get(E.first.first), in addModuleFlags() local 40 Nodes.push_back(MDNode::get(Context, Vals)); in addModuleFlags()
|
| /freebsd/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 566 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/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypesGeneric.cpp | 123 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/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/ |
| H A D | llvm-debuginfo-analyzer.cpp | 31 static void error(std::error_code EC, char const *Fmt, const Ts &...Vals) { in error() argument 36 Stream << format(Fmt, Vals...); in error()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.cpp | 554 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/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | PromoteMemoryToRegister.cpp | 285 SmallVector<T, 8> Vals; member in __anon4233e3b50111::VectorWithUndo 292 Vals[Undo.back().first] = Undo.back().second; in undo() 297 void resize(size_t Sz) { Vals.resize(Sz); } in resize() 301 const T &operator[](size_t Idx) const { return Vals[Idx]; } in operator []() 304 if (Vals[Idx] == Val) in set() 306 Undo.emplace_back(Idx, Vals[Idx]); in set() 307 Vals[Idx] = Val; in set() 312 Vals[Idx] = Val; in init()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RegisterCoalescer.cpp | 2591 SmallVector<Val, 8> Vals; member in __anonf9586a8a0311::JoinVals 2658 Vals(LR.getNumValNums()) {} in JoinVals() 2704 return Vals[Num].Resolution; in getResolution() 2803 Val &V = Vals[ValNo]; in analyzeValue() 2853 V.ValidLanes |= Vals[V.RedefVNI->id].ValidLanes; in analyzeValue() 2891 Val &OtherV = Other.Vals[OtherVNI->id]; in analyzeValue() 2920 Val &OtherV = Other.Vals[V.OtherVNI->id]; in analyzeValue() 3083 Val &V = Vals[ValNo]; in computeAssignment() 3095 assert(Other.Vals[V.OtherVNI->id].isAnalyzed() && "Missing recursion"); in computeAssignment() 3107 Val &OtherV = Other.Vals[V.OtherVNI->id]; in computeAssignment() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BasicValueFactory.cpp | 126 llvm::ImmutableList<SVal> Vals) { in getCompoundValData() argument 128 CompoundValData::Profile(ID, T, Vals); in getCompoundValData() 134 D = new (BPAlloc) CompoundValData(T, Vals); in getCompoundValData()
|