Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1169 Vals.clear(); in writeComdats()
1278 Vals.push_back( in writeModuleInfo()
1282 Vals.push_back( in writeModuleInfo()
1305 Vals.clear(); in writeModuleInfo()
1324 Vals.push_back( in writeModuleInfo()
1330 Vals.push_back( in writeModuleInfo()
1335 Vals.clear(); in writeModuleInfo()
1350 Vals.clear(); in writeModuleInfo()
2494 Vals.push_back( in writeInstruction()
2555 Vals.clear(); in writeInstruction()
[all …]
/openbsd/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1224 Vals.clear(); in writeComdats()
1392 Vals.clear(); in writeModuleInfo()
1442 Vals.clear(); in writeModuleInfo()
1480 Vals.clear(); in writeModuleInfo()
1504 Vals.clear(); in writeModuleInfo()
1522 Vals.clear(); in writeModuleInfo()
3272 Vals.clear(); in writeInstruction()
3415 Vals.clear(); in writeFunction()
3489 Vals.clear(); in writeFunction()
4990 Vals.clear(); in writeSimplifiedModuleInfo()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h402 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
412 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
429 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
436 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
444 emitBlob(Vals.slice(RecordIdx)); in EmitRecordWithAbbrevImpl()
448 EmitAbbreviatedField(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
488 auto Count = static_cast<uint32_t>(std::size(Vals));
493 EmitVBR64(Vals[i], 6);
514 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
519 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp88 val_vec_type &Vals, int Offset);
90 val_vec_type &Vals, int Offset);
92 val_vec_type &Vals, int Offset);
368 val_vec_type Vals(total_size, 0); in getConstantFieldValue() local
369 if (fillGenericConstant(DL, Init, Vals, 0) == false) in getConstantFieldValue()
371 cs_vals_[static_cast<const void *>(Init)] = Vals; in getConstantFieldValue()
372 TmpVal = std::move(Vals); in getConstantFieldValue()
411 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant()
419 return fillConstantDataArray(DL, CDA, Vals, Offset); in fillGenericConstant()
422 return fillConstantArray(DL, CA, Vals, Offset); in fillGenericConstant()
[all …]
/openbsd/gnu/llvm/llvm/utils/PerfectShuffle/
H A DPerfectShuffle.cpp167 unsigned short ThisOp = Vals[ValNo]; in PrintOperation()
219 Vals[NumVals++] = Elt; in EvaluateOps()
226 if (Vals[i] == Elt) return; in EvaluateOps()
231 EvaluateOps(Arg0, Vals, NumVals); in EvaluateOps()
233 EvaluateOps(Arg1, Vals, NumVals); in EvaluateOps()
235 Vals[NumVals++] = Elt; in EvaluateOps()
403 unsigned short Vals[30]; in main() local
405 EvaluateOps(LHS, Vals, NumVals); in main()
502 unsigned short Vals[30]; in main() local
504 EvaluateOps(i, Vals, NumVals); in main()
[all …]
/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A 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...);
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))...));
/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DWatchedLiteralsSolver.cpp180 BooleanFormula buildBooleanFormula(const llvm::DenseSet<BoolValue *> &Vals) { in buildBooleanFormula() argument
194 for (BoolValue *Val : Vals) in buildBooleanFormula()
262 for (BoolValue *Val : Vals) in buildBooleanFormula()
268 for (BoolValue *Val : Vals) in buildBooleanFormula()
441 explicit WatchedLiteralsSolverImpl(const llvm::DenseSet<BoolValue *> &Vals) in WatchedLiteralsSolverImpl() argument
442 : Formula(buildBooleanFormula(Vals)), LevelVars(Formula.LargestVar + 1), in WatchedLiteralsSolverImpl()
444 assert(!Vals.empty()); in WatchedLiteralsSolverImpl()
715 Solver::Result WatchedLiteralsSolver::solve(llvm::DenseSet<BoolValue *> Vals) { in solve() argument
716 return Vals.empty() ? Solver::Result::Satisfiable({{}}) in solve()
717 : WatchedLiteralsSolverImpl(Vals).solve(); in solve()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DValue.h1037 inline Value **unwrap(LLVMValueRef *Vals) {
1038 return reinterpret_cast<Value**>(Vals);
1042 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
1044 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
1048 return reinterpret_cast<T**>(Vals);
1051 inline LLVMValueRef *wrap(const Value **Vals) {
1052 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/tools/lli/
H A DExecutionUtils.cpp48 template <typename... Ts> static void outsv(const char *Fmt, Ts &&...Vals) { in outsv() argument
49 outs() << formatv(Fmt, Vals...); in outsv()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.h107 Vals.push_back(std::move(Val)); in takeOwnership()
108 return *cast<T>(Vals.back().get()); in takeOwnership()
339 std::vector<std::unique_ptr<Value>> Vals; variable
H A DWatchedLiteralsSolver.h31 Result solve(llvm::DenseSet<BoolValue *> Vals) override;
H A DSolver.h90 virtual Result solve(llvm::DenseSet<BoolValue *> Vals) = 0;
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp36 Metadata *Vals[] = {ValueAsMetadata::get(E.first.first), in addModuleFlags() local
40 Nodes.push_back(MDNode::get(Context, Vals)); in addModuleFlags()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp2451 SmallVector<Val, 8> Vals; member in __anonddb0d2370311::JoinVals
2563 return Vals[Num].Resolution; in getResolution()
2662 Val &V = Vals[ValNo]; in analyzeValue()
2926 Val &V = Vals[ValNo]; in computeAssignment()
3046 Val &V = Vals[i]; in resolveConflicts()
3113 Val &V = Vals[ValNo]; in isPrunedValue()
3142 Val &OtherV = Other.Vals[Vals[i].OtherVNI->id]; in pruneValues()
3237 Val &V = Vals[i]; in pruneSubRegValues()
3321 Vals[i].Pruned = true; in pruneMainSegments()
3328 Val &V = Vals[i]; in removeImplicitDefs()
[all …]
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp127 llvm::ImmutableList<SVal> Vals) { in getCompoundValData() argument
129 CompoundValData::Profile(ID, T, Vals); in getCompoundValData()
136 new (D) CompoundValData(T, Vals); in getCompoundValData()

123