/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 __anon8090377d0111::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/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/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 | 93 CRecordVector<UInt32> Vals; member 98 Vals.ClearAndSetSize(newSize); in ClearAndSetSize() 104 Vals.Clear(); in Clear() 110 Vals.ReserveDown(); in ReserveDown() 119 CRecordVector<UInt64> Vals; member 124 Vals.Clear(); in Clear() 130 Vals.ReserveDown(); in ReserveDown() 137 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/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/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()
|
D | EndianStream.h | 30 template <typename value_type> void write(ArrayRef<value_type> Vals) { in write() 31 for (value_type V : Vals) in write()
|
/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/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-subzero/include/llvm/Support/ |
D | Format.h | 91 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...);
|
D | FormatVariadic.h | 236 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype( 237 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> { 239 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...)); 242 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
|
/external/llvm/utils/TableGen/ |
D | CodeEmitterGen.cpp | 182 const std::vector<RecordVal> &Vals = R->getValues(); in getInstructionCase() local 191 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in getInstructionCase() 193 if (!CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) in getInstructionCase() 202 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in getInstructionCase() 205 if (Vals[i].getPrefix() || Vals[i].getValue()->isComplete()) in getInstructionCase() 208 AddCodeToMergeInOperand(R, BI, Vals[i].getName(), NumberedOp, in getInstructionCase()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-expr-1.cpp | 182 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/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 196 SmallVectorImpl<uint64_t> &Vals) { in readArrayAbbrev() argument 198 Vals.push_back(readArrayAbbreviatedField(Op)); in readArrayAbbrev() 203 SmallVectorImpl<uint64_t> &Vals) { in readRecord() argument 208 Vals.push_back(ReadVBR64(6)); in readRecord() 223 readArrayAbbrev(Op, Value - 1, Vals); in readRecord() 234 readArrayAbbrev(Abbv->getOperandInfo(i), Value, Vals); in readRecord() 238 Vals.push_back(Value); in readRecord()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Value.h | 800 inline Value **unwrap(LLVMValueRef *Vals) { 801 return reinterpret_cast<Value**>(Vals); 805 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) { 807 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I) 811 return reinterpret_cast<T**>(Vals); 814 inline LLVMValueRef *wrap(const Value **Vals) { 815 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeEmitterGen.cpp | 189 const std::vector<RecordVal> &Vals = R->getValues(); in getInstructionCase() local 194 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in getInstructionCase() 197 if (Vals[i].getPrefix() || Vals[i].getValue()->isComplete()) in getInstructionCase() 200 AddCodeToMergeInOperand(R, BI, Vals[i].getName(), NumberedOp, Case, Target); in getInstructionCase()
|
/external/llvm/include/llvm/IR/ |
D | Value.h | 802 inline Value **unwrap(LLVMValueRef *Vals) { 803 return reinterpret_cast<Value**>(Vals); 807 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) { 809 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I) 813 return reinterpret_cast<T**>(Vals); 816 inline LLVMValueRef *wrap(const Value **Vals) { 817 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.h | 67 inline Metadata **unwrap(LLVMMetadataRef *Vals) { in DEFINE_ISA_CONVERSION_FUNCTIONS() 68 return reinterpret_cast<Metadata**>(Vals); in DEFINE_ISA_CONVERSION_FUNCTIONS()
|