Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h301 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, in EmitRecordWithAbbrevImpl() argument
330 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl()
331 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
341 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
354 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); in EmitRecordWithAbbrevImpl()
357 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) in EmitRecordWithAbbrevImpl()
358 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl()
367 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl()
370 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); in EmitRecordWithAbbrevImpl()
384 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) { in EmitRecordWithAbbrevImpl()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp150 SmallVector<unsigned, 64> Vals; in WriteStringRecord() local
156 Vals.push_back(Str[i]); in WriteStringRecord()
160 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
573 SmallVector<uint16_t, 64> Vals; in writeComdats() local
576 Vals.push_back(getEncodedComdatSelectionKind(*C)); in writeComdats()
579 Vals.push_back(Size); in writeComdats()
581 Vals.push_back((unsigned char)Chr); in writeComdats()
582 Stream.EmitRecord(bitc::MODULE_CODE_COMDAT, Vals, /*AbbrevToUse=*/0); in writeComdats()
583 Vals.clear(); in writeComdats()
608 uint64_t Vals[] = {bitc::MODULE_CODE_VSTOFFSET, 0}; in WriteValueSymbolTableForwardDecl() local
[all …]
/external/lzma/CPP/7zip/Archive/7z/
D7zItem.h96 CRecordVector<UInt32> Vals; member
101 Vals.ClearAndSetSize(newSize); in ClearAndSetSize()
107 Vals.Clear(); in Clear()
113 Vals.ReserveDown(); in ReserveDown()
122 CRecordVector<UInt64> Vals; member
127 Vals.Clear(); in Clear()
133 Vals.ReserveDown(); in ReserveDown()
140 value = Vals[index]; in GetItem()
D7zOut.cpp351 WriteUInt32(digests.Vals[i]); in WriteHashDigests()
445 digests2.Vals.Add(digests.Vals[digestIndex]); in WriteSubStreamsInfo()
506 WriteUInt64(v.Vals[i]); in WriteUInt64DefVector()
518 outFolders.FolderUnpackCRCs.Vals.Add(CrcCalc(data, data.Size())); in EncodeStream()
565 digests.Vals.Add(file.Crc); in WriteHeader()
885 while (index >= Vals.Size()) in SetItem()
886 Vals.Add(0); in SetItem()
887 Vals[index] = value; in SetItem()
D7zIn.cpp630 crcs.Vals.ClearAndSetSize(numItems); in ReadHashDigests()
631 UInt32 *p = &crcs.Vals[0]; in ReadHashDigests()
940 digests.Vals[k] = folders.FolderCRCs.Vals[i]; in ReadSubStreamsInfo()
950 digests.Vals[k] = crc; in ReadSubStreamsInfo()
972 digests.Vals[k] = folders.FolderCRCs.Vals[i]; in ReadSubStreamsInfo()
978 digests.Vals[k] = 0; in ReadSubStreamsInfo()
1078 v.Vals.ClearAndSetSize(numItems); in ReadUInt64DefVector()
1079 UInt64 *p = &v.Vals[0]; in ReadUInt64DefVector()
1142 if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) in ReadAndDecodePackedStreams()
1420 file.Crc = digests.Vals[sizeIndex]; in ReadHeader()
/external/clang/lib/CodeGen/
DCGLoopInfo.cpp37 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.width"), in createMetadata() local
40 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata()
45 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.interleave.count"), in createMetadata() local
48 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata()
53 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"), in createMetadata() local
56 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata()
61 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.enable"), in createMetadata() local
65 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata()
77 Metadata *Vals[] = {MDString::get(Ctx, Name)}; in createMetadata() local
78 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp158 static void PrintOperation(unsigned ValNo, unsigned short Vals[]) { in PrintOperation() argument
159 unsigned short ThisOp = Vals[ValNo]; in PrintOperation()
170 if (Vals[i] == ShufTab[ThisOp].Arg0) { in PrintOperation()
176 if (!ShufTab[Vals[ValNo]].Op->isOnlyLHSOperator()) { in PrintOperation()
184 if (Vals[i] == ShufTab[ThisOp].Arg1) { in PrintOperation()
200 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], in EvaluateOps() argument
206 if (Vals[i] == Elt) return; in EvaluateOps()
211 EvaluateOps(Arg0, Vals, NumVals); in EvaluateOps()
213 EvaluateOps(Arg1, Vals, NumVals); in EvaluateOps()
215 Vals[NumVals++] = Elt; in EvaluateOps()
[all …]
/external/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()
131 SmallVector<Metadata *, 4> Vals(Fields.size() * 3); in createTBAAStructNode() local
134 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode()
135 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode()
136 Vals[i * 3 + 2] = Fields[i].TBAA; in createTBAAStructNode()
138 return MDNode::get(Context, Vals); in createTBAAStructNode()
/external/llvm/include/llvm/Support/
DFormat.h80 std::tuple<Ts...> Vals; variable
86 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); in snprint_tuple()
88 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); in snprint_tuple()
94 : format_object_base(fmt), Vals(vals...) {} in format_object()
111 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) { in format() argument
112 return format_object<Ts...>(Fmt, Vals...); in format()
/external/clang/test/SemaTemplate/
Dinstantiate-expr-1.cpp182 template<typename T> class Vals {}; class
183 template<> class Vals<int> { public: static const int i = 1; }; class
184 template<> class Vals<float> { public: static const double i; }; class
186 …__asm("addl $1, %0" : "=r" (o) : "0"(Vals<T>::i)); // expected-error {{input with type 'double' ma… in test_asm_tied()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp183 const std::vector<RecordVal> &Vals = R->getValues(); in getInstructionCase() local
192 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in getInstructionCase()
194 if (!CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) in getInstructionCase()
203 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in getInstructionCase()
206 if (Vals[i].getPrefix() || Vals[i].getValue()->isComplete()) in getInstructionCase()
209 AddCodeToMergeInOperand(R, BI, Vals[i].getName(), NumberedOp, in getInstructionCase()
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp160 SmallVectorImpl<uint64_t> &Vals, in readRecord() argument
166 Vals.push_back(ReadVBR64(6)); in readRecord()
188 Vals.push_back(Op.getLiteralValue()); in readRecord()
194 Vals.push_back(readAbbreviatedField(*this, Op)); in readRecord()
215 Vals.push_back(readAbbreviatedField(*this, EltEnc)); in readRecord()
231 Vals.append(NumElts, 0); in readRecord()
246 Vals.push_back((unsigned char)*Ptr++); in readRecord()
/external/llvm/include/llvm/IR/
DValue.h747 inline Value **unwrap(LLVMValueRef *Vals) {
748 return reinterpret_cast<Value**>(Vals);
752 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
754 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
758 return reinterpret_cast<T**>(Vals);
761 inline LLVMValueRef *wrap(const Value **Vals) {
762 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
/external/llvm/bindings/go/llvm/
DIRBindings.h67 inline Metadata **unwrap(LLVMMetadataRef *Vals) { in DEFINE_ISA_CONVERSION_FUNCTIONS()
68 return reinterpret_cast<Metadata**>(Vals); in DEFINE_ISA_CONVERSION_FUNCTIONS()
/external/lzma/C/
D7zArcIn.c67 #define SzBitUi32s_Init(p) { (p)->Defs = 0; (p)->Vals = 0; }
72 MY_ALLOC(UInt32, p->Vals, num, alloc); in SzBitUi32s_Alloc()
79 IAlloc_Free(alloc, p->Vals); p->Vals = 0; in SzBitUi32s_Free()
82 #define SzBitUi64s_Init(p) { (p)->Defs = 0; (p)->Vals = 0; }
87 IAlloc_Free(alloc, p->Vals); p->Vals = 0; in SzBitUi64s_Free()
401 MY_ALLOC(UInt32, crcs->Vals, numItems, alloc); in ReadUi32s()
404 vals = crcs->Vals; in ReadUi32s()
1060 if (CrcCalc(tempBuf->data, tempBuf->size) != p->FolderCRCs.Vals[fo]) in SzReadAndDecodePackedStreams()
1116 MY_ALLOC(CNtfsFileTime, p->Vals, num, alloc); in ReadTime()
1117 vals = p->Vals; in ReadTime()
[all …]
D7z.h78 UInt32 *Vals; member
85 CNtfsFileTime *Vals; member
/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h125 void addValues(ArrayRef<DebugLocEntry::Value> Vals) { in addValues() argument
126 Values.append(Vals.begin(), Vals.end()); in addValues()
/external/llvm/unittests/IR/
DConstantsTest.cpp400 Constant *Vals[] = {ConstantInt::get(T, 0), ConstantInt::get(T, 1)}; in TEST() local
401 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST()
409 Constant *Vals[] = {ConstantFP::get(T, 0), ConstantFP::get(T, 1)}; in TEST() local
410 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST()
422 Constant *Vals[] = {ConstantInt::get(T, 0), ConstantInt::get(T, 1)}; in TEST() local
423 Constant *CDV = ConstantVector::get(Vals); in TEST()
430 Constant *Vals[] = {ConstantFP::get(T, 0), ConstantFP::get(T, 1)}; in TEST() local
431 Constant *CDV = ConstantVector::get(Vals); in TEST()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp127 SmallVector<SDValue, 8> Vals; in ExpandRes_BITCAST() local
129 Vals.push_back(DAG.getNode( in ExpandRes_BITCAST()
135 for (unsigned e = Vals.size(); e - Slot > 2; Slot += 2, e += 1) { in ExpandRes_BITCAST()
138 SDValue LHS = Vals[Slot]; in ExpandRes_BITCAST()
139 SDValue RHS = Vals[Slot + 1]; in ExpandRes_BITCAST()
144 Vals.push_back(DAG.getNode(ISD::BUILD_PAIR, dl, in ExpandRes_BITCAST()
150 Lo = Vals[Slot++]; in ExpandRes_BITCAST()
151 Hi = Vals[Slot++]; in ExpandRes_BITCAST()
/external/llvm/lib/CodeGen/
DRegisterCoalescer.cpp1732 SmallVector<Val, 8> Vals; member in __anon6ac1a90d0211::JoinVals
1796 TRI(TRI), Assignments(LR.getNumValNums(), -1), Vals(LR.getNumValNums()) in JoinVals()
1909 Val &V = Vals[ValNo]; in analyzeValue()
1958 V.ValidLanes |= Vals[V.RedefVNI->id].ValidLanes; in analyzeValue()
1994 Val &OtherV = Other.Vals[OtherVNI->id]; in analyzeValue()
2021 Val &OtherV = Other.Vals[V.OtherVNI->id]; in analyzeValue()
2130 Val &V = Vals[ValNo]; in computeAssignment()
2142 assert(Other.Vals[V.OtherVNI->id].isAnalyzed() && "Missing recursion"); in computeAssignment()
2154 Val &OtherV = Other.Vals[V.OtherVNI->id]; in computeAssignment()
2173 if (Vals[i].Resolution == CR_Impossible) { in mapValues()
[all …]
/external/clang/lib/Edit/
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()
623 SmallVector<const Expr *, 8> Vals; in shouldNotRewriteImmediateMessageArgs() local
624 if (!getNSArrayObjects(Msg->getArg(0), NS, Vals)) in shouldNotRewriteImmediateMessageArgs()
631 if (Vals.size() != Keys.size()) in shouldNotRewriteImmediateMessageArgs()
/external/clang/lib/StaticAnalyzer/Core/
DBasicValueFactory.cpp109 llvm::ImmutableList<SVal> Vals) { in getCompoundValData() argument
112 CompoundValData::Profile(ID, T, Vals); in getCompoundValData()
119 new (D) CompoundValData(T, Vals); in getCompoundValData()
/external/clang/test/CodeGen/
D2003-06-22-UnionCrash.c7 } Vals; member
/external/llvm/lib/TableGen/
DTGParser.cpp1259 std::vector<Init*> Vals; in ParseSimpleValue() local
1262 Vals = ParseValueList(CurRec); in ParseSimpleValue()
1263 if (Vals.empty()) return nullptr; in ParseSimpleValue()
1276 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in ParseSimpleValue()
1281 if (BitsInit *BI = dyn_cast<BitsInit>(Vals[i])) { in ParseSimpleValue()
1287 if (VarInit *VI = dyn_cast<VarInit>(Vals[i])) { in ParseSimpleValue()
1296 Init *Bit = Vals[i]->convertInitializerTo(BitRecTy::get()); in ParseSimpleValue()
1298 Error(BraceLoc, "Element #" + Twine(i) + " (" + Vals[i]->getAsString() + in ParseSimpleValue()
1309 std::vector<Init*> Vals; in ParseSimpleValue() local
1325 Vals = ParseValueList(CurRec, nullptr, in ParseSimpleValue()
[all …]
/external/lzma/C/Util/7z/
D7zMain.c432 … GetAttribString(SzBitWithVals_Check(&db.Attribs, i) ? db.Attribs.Vals[i] : 0, isDir, attr); in main()
437 ConvertFileTimeToString(&db.MTime.Vals[i], t); in main()
520 SetFileAttributesW(destPath, db.Attribs.Vals[i]); in main()

12