/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | PhiValuesTest.cpp | 53 PhiValues::ValueSet Vals; in TEST() local 56 Vals = PV.getValuesForPhi(Phi1); in TEST() 57 EXPECT_EQ(Vals.size(), 2u); in TEST() 58 EXPECT_TRUE(Vals.count(Val1)); in TEST() 59 EXPECT_TRUE(Vals.count(Val2)); in TEST() 60 Vals = PV.getValuesForPhi(Phi2); in TEST() 61 EXPECT_EQ(Vals.size(), 2u); in TEST() 62 EXPECT_TRUE(Vals.count(Val1)); in TEST() 63 EXPECT_TRUE(Vals.count(Val3)); in TEST() 68 Vals = PV.getValuesForPhi(Phi1); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 143 SmallVector<unsigned, 64> Vals; in WriteStringRecord() local 149 Vals.push_back(Str[i]); in WriteStringRecord() 153 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord() 471 SmallVector<unsigned, 64> Vals; in WriteModuleInfo() local 479 Vals.push_back(VE.getTypeID(GV->getType())); in WriteModuleInfo() 480 Vals.push_back(GV->isConstant()); in WriteModuleInfo() 481 Vals.push_back(GV->isDeclaration() ? 0 : in WriteModuleInfo() 483 Vals.push_back(getEncodedLinkage(GV)); in WriteModuleInfo() 484 Vals.push_back(Log2_32(GV->getAlignment())+1); in WriteModuleInfo() 485 Vals.push_back(GV->hasSection() ? SectionMap[GV->getSection()] : 0); in WriteModuleInfo() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | AliasDebugger.cpp | 38 std::set<const Value*> Vals; member in __anone5a631090111::AliasDebugger 51 Vals.insert(&*I); in runOnModule() 54 Vals.insert(*OI); in runOnModule() 59 Vals.insert(&*I); in runOnModule() 63 Vals.insert(&*AI); in runOnModule() 68 Vals.insert(&*BI); in runOnModule() 71 Vals.insert(*OI); in runOnModule() 98 assert(Vals.find(LocA.Ptr) != Vals.end() && in alias() 100 assert(Vals.find(LocB.Ptr) != Vals.end() && in alias() 107 assert(Vals.find(Loc.Ptr) != Vals.end() && "Never seen value in AA before"); in getModRefInfo() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 298 void EmitRecordWithAbbrevImpl(unsigned Abbrev, SmallVectorImpl<uintty> &Vals, in EmitRecordWithAbbrevImpl() argument 313 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl() 314 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl() 324 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl() 337 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); in EmitRecordWithAbbrevImpl() 340 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) in EmitRecordWithAbbrevImpl() 341 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl() 350 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl() 353 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); in EmitRecordWithAbbrevImpl() 368 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) { in EmitRecordWithAbbrevImpl() [all …]
|
D | BitstreamReader.h | 449 SmallVectorImpl<uint64_t> &Vals) { in ReadAbbreviatedLiteral() argument 452 Vals.push_back(Op.getLiteralValue()); in ReadAbbreviatedLiteral() 456 SmallVectorImpl<uint64_t> &Vals) { in ReadAbbreviatedField() argument 463 Vals.push_back(Read((unsigned)Op.getEncodingData())); in ReadAbbreviatedField() 466 Vals.push_back(ReadVBR64((unsigned)Op.getEncodingData())); in ReadAbbreviatedField() 469 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6))); in ReadAbbreviatedField() 482 unsigned ReadRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals, 488 Vals.push_back(ReadVBR64(6)); 497 ReadAbbreviatedLiteral(Op, Vals); 508 ReadAbbreviatedField(EltEnc, Vals); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 371 SmallVectorImpl<unsigned> &Vals); 374 SmallVectorImpl<unsigned> &Vals); 376 SmallVectorImpl<uint64_t> &Vals); 378 SmallVectorImpl<unsigned> &Vals); 572 SmallVector<unsigned, 64> Vals; in writeStringRecord() local 578 Vals.push_back(Str[i]); in writeStringRecord() 582 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord() 1052 SmallVector<unsigned, 64> Vals; in writeComdats() local 1055 Vals.push_back(addToStrtab(C->getName())); in writeComdats() 1056 Vals.push_back(C->getName().size()); in writeComdats() [all …]
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 235 SmallVectorImpl<unsigned> &Vals); 238 SmallVectorImpl<unsigned> &Vals); 240 SmallVectorImpl<uint64_t> &Vals); 242 SmallVectorImpl<unsigned> &Vals); 555 SmallVector<unsigned, 64> Vals; in writeStringRecord() local 561 Vals.push_back(Str[i]); in writeStringRecord() 565 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord() 1011 SmallVector<unsigned, 64> Vals; in writeComdats() local 1014 Vals.push_back(getEncodedComdatSelectionKind(*C)); in writeComdats() 1017 Vals.push_back(Size); in writeComdats() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 297 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, in EmitRecordWithAbbrevImpl() argument 326 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl() 327 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl() 337 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl() 350 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); in EmitRecordWithAbbrevImpl() 353 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) in EmitRecordWithAbbrevImpl() 354 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); in EmitRecordWithAbbrevImpl() 361 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl() 369 emitBlob(Vals.slice(RecordIdx)); in EmitRecordWithAbbrevImpl() 372 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl() [all …]
|
/external/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 301 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() 365 assert(RecordIdx == Vals.size() && in EmitRecordWithAbbrevImpl() 373 emitBlob(Vals.slice(RecordIdx)); in EmitRecordWithAbbrevImpl() 376 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); in EmitRecordWithAbbrevImpl() [all …]
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zItem.h | 96 CRecordVector<UInt32> Vals; member 101 Vals.ClearAndSetSize(newSize); in ClearAndSetSize() 107 Vals.Clear(); in Clear() 113 Vals.ReserveDown(); in ReserveDown() 120 value = Vals[index]; in GetItem() 138 CRecordVector<UInt64> Vals; member 143 Vals.Clear(); in Clear() 149 Vals.ReserveDown(); in ReserveDown() 156 value = Vals[index]; in GetItem()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Metadata.cpp | 88 MDNode::MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal) in MDNode() argument 90 NumOperands = Vals.size(); in MDNode() 99 new (Op) MDNodeOperand(Vals[i], this); in MDNode() 187 MDNode *MDNode::getMDNode(LLVMContext &Context, ArrayRef<Value*> Vals, in getMDNode() argument 196 for (unsigned i = 0; i != Vals.size(); ++i) in getMDNode() 197 ID.AddPointer(Vals[i]); in getMDNode() 208 for (unsigned i = 0; i != Vals.size(); ++i) { in getMDNode() 209 Value *V = Vals[i]; in getMDNode() 226 void *Ptr = malloc(sizeof(MDNode)+Vals.size()*sizeof(MDNodeOperand)); in getMDNode() 227 N = new (Ptr) MDNode(Context, Vals, isFunctionLocal); in getMDNode() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGLoopInfo.cpp | 44 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.width"), in createMetadata() local 47 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 52 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.interleave.count"), in createMetadata() local 55 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 60 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"), in createMetadata() local 63 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 68 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.enable"), in createMetadata() local 72 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 84 Metadata *Vals[] = {MDString::get(Ctx, Name)}; in createMetadata() local 85 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() [all …]
|
/external/syzkaller/tools/syz-benchcmp/ |
D | benchcmp.go | 35 Vals []uint64 member 60 Vals: make([]uint64, len(flag.Args())), 62 pt.Vals[i] = v[g.Name] 137 if pt.Vals[i] != 0 { 138 prev = Pt{pt.Time, pt.Vals[i]} 146 if pt.Vals[i] != 0 { 147 next = Pt{pt.Time, pt.Vals[i]} 154 pt.Vals[i] = prev.Val 157 …pt.Vals[i] += uint64(int64(next.Val-prev.Val) * int64(pt.Time-prev.Time) / int64(next.Time-prev.Ti… 169 if v := g.Points[j].Vals[x]; v != 0 { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 158 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/swiftshader/third_party/LLVM/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 158 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/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 158 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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | MDBuilder.cpp | 46 SmallVector<Metadata *, 4> Vals(Weights.size() + 1); in createBranchWeights() local 47 Vals[0] = createString("branch_weights"); in createBranchWeights() 51 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights() 53 return MDNode::get(Context, Vals); in createBranchWeights() 159 SmallVector<Metadata *, 4> Vals(Fields.size() * 3); in createTBAAStructNode() local 162 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode() 163 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode() 164 Vals[i * 3 + 2] = Fields[i].Type; in createTBAAStructNode() 166 return MDNode::get(Context, Vals); in createTBAAStructNode() 263 SmallVector<Metadata *, 2> Vals(2); in createIrrLoopHeaderWeight() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 87 val_vec_type &Vals, uint64_t Offset); 89 val_vec_type &Vals, int Offset); 91 val_vec_type &Vals, int Offset); 93 val_vec_type &Vals, int Offset); 395 val_vec_type Vals(total_size, 0); in getConstantFieldValue() local 396 if (fillGenericConstant(DL, Init, Vals, 0) == false) in getConstantFieldValue() 398 cs_vals_[static_cast<const void *>(Init)] = Vals; in getConstantFieldValue() 399 TmpVal = std::move(Vals); in getConstantFieldValue() 422 val_vec_type &Vals, uint64_t Offset) { in fillGenericConstant() argument 438 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant() [all …]
|
/external/llvm/lib/IR/ |
D | MDBuilder.cpp | 45 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/ |
D | Format.h | 80 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/swiftshader/third_party/LLVM/include/llvm/ |
D | Metadata.h | 114 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal); 116 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals, 120 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals); 124 ArrayRef<Value*> Vals, 127 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals); 132 static MDNode *getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals);
|
/external/syzkaller/sys/netbsd/gen/ |
D | amd64.go | 33 …TypeCommon{TypeName: "cmsg_levels", FldName: "cmsg_level", TypeSize: 4}}, Vals: []uint64{65535, 1,… 67 …ommon: TypeCommon{TypeName: "flock_type", FldName: "type", TypeSize: 2}}, Vals: []uint64{1, 3, 2}}, 68 …on: TypeCommon{TypeName: "seek_whence", FldName: "whence", TypeSize: 2}}, Vals: []uint64{0, 1, 2},… 89 …Common: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{256, 128,… 121 …ypeCommon{TypeName: "mif6c_flags", FldName: "mif6c_flags", TypeSize: 1}}, Vals: []uint64{1}, BitMa… 128 …ommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8}}, Vals: []uint64{0, 1, 2, … 132 …Common{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, … 143 …peCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1, 2, 4, … 165 …: TypeCommon{TypeName: "pollfd_events", FldName: "events", TypeSize: 2}}, Vals: []uint64{1, 2, 4, … 206 …Common: TypeCommon{TypeName: "sem_sem_id", FldName: "num", TypeSize: 2}}, Vals: []uint64{0, 1, 2, … [all …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 177 SmallVectorImpl<uint64_t> &Vals, in readRecord() argument 183 Vals.push_back(ReadVBR64(6)); in readRecord() 205 Vals.push_back(Op.getLiteralValue()); in readRecord() 211 Vals.push_back(readAbbreviatedField(*this, Op)); in readRecord() 233 Vals.push_back(Read((unsigned)EltEnc.getEncodingData())); in readRecord() 237 Vals.push_back(ReadVBR64((unsigned)EltEnc.getEncodingData())); in readRecord() 241 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6))); in readRecord() 258 Vals.append(NumElts, 0); in readRecord() 275 Vals.push_back((unsigned char)*Ptr++); in readRecord()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | CGProfile.cpp | 91 SmallVector<Metadata *, 3> Vals; in addModuleFlags() local 92 Vals.push_back(ValueAsMetadata::get(E.first.first)); in addModuleFlags() 93 Vals.push_back(ValueAsMetadata::get(E.first.second)); in addModuleFlags() 94 Vals.push_back(MDB.createConstant( in addModuleFlags() 96 Nodes.push_back(MDNode::get(Context, Vals)); in addModuleFlags()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 180 SmallVectorImpl<uint64_t> &Vals, in readRecord() argument 186 Vals.push_back(ReadVBR64(6)); in readRecord() 208 Vals.push_back(Op.getLiteralValue()); in readRecord() 214 Vals.push_back(readAbbreviatedField(*this, Op)); in readRecord() 236 Vals.push_back(Read((unsigned)EltEnc.getEncodingData())); in readRecord() 240 Vals.push_back(ReadVBR64((unsigned)EltEnc.getEncodingData())); in readRecord() 244 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6))); in readRecord() 261 Vals.append(NumElts, 0); in readRecord() 278 Vals.push_back((unsigned char)*Ptr++); in readRecord()
|