/external/llvm/lib/TableGen/ |
D | SetTheory.cpp | 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply() 32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply() 38 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply() 48 Elts.insert(*I); in apply() 54 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply() 64 Elts.insert(*I); in apply() 71 RecSet &Elts, ArrayRef<SMLoc> Loc) = 0; 73 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply() 84 apply2(ST, Expr, Set, II->getValue(), Elts, Loc); in apply() 91 RecSet &Elts, ArrayRef<SMLoc> Loc) override { in apply2() [all …]
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 874 SmallVector<uint8_t, 16> Elts; in getImpl() local 877 Elts.push_back(CI->getZExtValue()); in getImpl() 880 if (Elts.size() == V.size()) in getImpl() 881 return ConstantDataArray::get(C->getContext(), Elts); in getImpl() 883 SmallVector<uint16_t, 16> Elts; in getImpl() local 886 Elts.push_back(CI->getZExtValue()); in getImpl() 889 if (Elts.size() == V.size()) in getImpl() 890 return ConstantDataArray::get(C->getContext(), Elts); in getImpl() 892 SmallVector<uint32_t, 16> Elts; in getImpl() local 895 Elts.push_back(CI->getZExtValue()); in getImpl() [all …]
|
D | AutoUpgrade.cpp | 454 SmallVector<Metadata *, 1> Elts; in UpgradeIntrinsicCall() local 455 Elts.push_back( in UpgradeIntrinsicCall() 457 MDNode *Node = MDNode::get(C, Elts); in UpgradeIntrinsicCall() 852 Metadata *Elts[] = {MD->getOperand(0), MD->getOperand(1)}; in UpgradeInstWithTBAATag() local 853 MDNode *ScalarType = MDNode::get(I->getContext(), Elts); in UpgradeInstWithTBAATag() 862 Metadata *Elts[] = {MD, MD, ConstantAsMetadata::get(Constant::getNullValue( in UpgradeInstWithTBAATag() local 864 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts)); in UpgradeInstWithTBAATag()
|
/external/llvm/include/llvm/TableGen/ |
D | SetTheory.h | 76 virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts, 88 virtual void expand(SetTheory&, Record*, RecSet &Elts) =0; 124 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc); 128 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) { in evaluate() argument 130 evaluate(*begin++, Elts, Loc); in evaluate()
|
/external/clang/include/clang/AST/ |
D | APValue.h | 81 APValue *Elts; member 83 Vec() : Elts(nullptr), NumElts(0) {} in Vec() 84 ~Vec() { delete[] Elts; } in ~Vec() 87 APValue *Elts; member 93 APValue *Elts; member 261 return ((Vec*)(char*)Data.buffer)->Elts[I]; in getVectorElt() 274 return ((Arr*)(char*)Data.buffer)->Elts[I]; in getArrayInitializedElt() 285 return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; in getArrayFiller() 309 return ((StructData*)(char*)Data.buffer)->Elts[i]; in getStructBase() 313 return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i]; in getStructField() [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_render.c | 121 const GLuint * const elt = VB->Elts; \ 157 const GLuint * const elt = VB->Elts; in clip_elt_triangles() 211 const GLuint * const elt = VB->Elts; \ 242 GLuint *tmp = VB->Elts; in _tnl_RenderClippedPolygon() 244 VB->Elts = (GLuint *)elts; in _tnl_RenderClippedPolygon() 246 VB->Elts = tmp; in _tnl_RenderClippedPolygon() 294 tab = VB->Elts ? clip_render_tab_elts : clip_render_tab_verts; in run_render() 298 tab = (VB->Elts ? in run_render()
|
D | t_draw.c | 346 VB->Elts = NULL; in bind_indices() 364 VB->Elts = (GLuint *) ptr; in bind_indices() 368 VB->Elts = elts; in bind_indices()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 672 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts); 673 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts); 674 static Constant *get(LLVMContext &Context, ArrayRef<uint32_t> Elts); 675 static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts); 676 static Constant *get(LLVMContext &Context, ArrayRef<float> Elts); 677 static Constant *get(LLVMContext &Context, ArrayRef<double> Elts); 684 static Constant *getFP(LLVMContext &Context, ArrayRef<uint16_t> Elts); 685 static Constant *getFP(LLVMContext &Context, ArrayRef<uint32_t> Elts); 686 static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts); 733 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts); [all …]
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1957 SmallVector<Type*, 8> Elts; in ParseAnonStructType() local 1958 if (ParseStructBody(Elts)) return true; in ParseAnonStructType() 1960 Result = StructType::get(Context, Elts, Packed); in ParseAnonStructType() 2385 SmallVector<Constant*, 16> Elts; in ParseValID() local 2386 if (ParseGlobalValueVector(Elts) || in ParseValID() 2390 ID.ConstantStructElts = new Constant*[Elts.size()]; in ParseValID() 2391 ID.UIntVal = Elts.size(); in ParseValID() 2392 memcpy(ID.ConstantStructElts, Elts.data(), Elts.size()*sizeof(Elts[0])); in ParseValID() 2402 SmallVector<Constant*, 16> Elts; in ParseValID() local 2404 if (ParseGlobalValueVector(Elts) || in ParseValID() [all …]
|
/external/llvm/utils/TableGen/ |
D | TableGen.cpp | 157 const std::vector<Record*> *Elts = Sets.expand(Rec); in LLVMTableGenMain() local 158 assert(Elts && "Couldn't expand Set instance"); in LLVMTableGenMain() 159 for (Record *Elt : *Elts) in LLVMTableGenMain()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 635 SmallVector<llvm::Constant*, 2> Elts; in VisitCastExpr() local 637 Elts.push_back(C); in VisitCastExpr() 648 Elts.push_back(llvm::UndefValue::get(Ty)); in VisitCastExpr() 654 return llvm::ConstantStruct::get(STy, Elts); in VisitCastExpr() 773 std::vector<llvm::Constant*> Elts; in EmitArrayInitialization() local 774 Elts.reserve(NumInitableElts + NumElements); in EmitArrayInitialization() 783 Elts.push_back(C); in EmitArrayInitialization() 787 Elts.resize(NumElements, fillC); in EmitArrayInitialization() 793 for (unsigned i = 0, e = Elts.size(); i < e; ++i) in EmitArrayInitialization() 794 Types.push_back(Elts[i]->getType()); in EmitArrayInitialization() [all …]
|
D | CGValue.h | 319 static LValue MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts, in MakeExtVectorElt() argument 324 R.VectorElts = Elts; in MakeExtVectorElt()
|
/external/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 106 explicit TinyPtrVector(ArrayRef<EltTy> Elts) in TinyPtrVector() argument 107 : Val(Elts.size() == 1 ? PtrUnion(Elts[0]) in TinyPtrVector() 108 : PtrUnion(new VecTy(Elts.begin(), Elts.end()))) {} in TinyPtrVector()
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_dmatmp.h | 692 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 724 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 761 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 795 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 864 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 900 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 937 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 975 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 1015 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() 1081 GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; in TAG() [all …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1654 SmallVector<Metadata *, 8> Elts; in ParseMetadata() local 1660 Elts.push_back(MDValueList.getValueFwdRef(Record[i+1])); in ParseMetadata() 1666 Elts.push_back(MD); in ParseMetadata() 1668 Elts.push_back(nullptr); in ParseMetadata() 1670 MDValueList.AssignValue(MDNode::get(Context, Elts), NextMDValueNo++); in ParseMetadata() 1690 SmallVector<Metadata *, 8> Elts; in ParseMetadata() local 1691 Elts.reserve(Record.size()); in ParseMetadata() 1693 Elts.push_back(ID ? MDValueList.getValueFwdRef(ID - 1) : nullptr); in ParseMetadata() 1694 MDValueList.AssignValue(IsDistinct ? MDNode::getDistinct(Context, Elts) in ParseMetadata() 1695 : MDNode::get(Context, Elts), in ParseMetadata() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tcl.c | 114 #define GET_MESA_ELTS() rmesa->tcl.Elts 330 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in radeonEnsureEmitSize() 402 rmesa->tcl.Elts = VB->Elts; in radeon_run_tcl_render() 413 if (rmesa->tcl.Elts) in radeon_run_tcl_render()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_triangle.c | 219 if (VB->Elts) { in swsetup_points() 221 if (VB->ClipMask[VB->Elts[i]] == 0) in swsetup_points() 222 _swrast_Point( ctx, &verts[VB->Elts[i]] ); in swsetup_points()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 1566 void apply(SetTheory &ST, DagInit *Expr, SetTheory::RecSet &Elts, in emitDagShuffle() argument 1570 Elts.insert(Elts2.begin(), Elts2.begin() + (Elts2.size() / 2)); in emitDagShuffle() 1575 void apply(SetTheory &ST, DagInit *Expr, SetTheory::RecSet &Elts, in emitDagShuffle() argument 1579 Elts.insert(Elts2.begin() + (Elts2.size() / 2), Elts2.end()); in emitDagShuffle() 1587 void apply(SetTheory &ST, DagInit *Expr, SetTheory::RecSet &Elts, in emitDagShuffle() argument 1602 Elts.insert(Revved.begin(), Revved.end()); in emitDagShuffle() 1610 void expand(SetTheory &ST, Record *R, SetTheory::RecSet &Elts) override { in emitDagShuffle() argument 1619 Elts.insert(R->getRecords().getDef("sv" + utostr(I + Addend))); in emitDagShuffle() 1636 SetTheory::RecSet Elts; in emitDagShuffle() local 1641 ST.evaluate(DI->getArg(2), Elts, None); in emitDagShuffle() [all …]
|
/external/clang/lib/AST/ |
D | APValue.cpp | 109 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]), in Arr() 111 APValue::Arr::~Arr() { delete [] Elts; } in ~Arr() 114 Elts(new APValue[NumBases+NumFields]), in StructData() 117 delete [] Elts; in ~StructData() 139 setVector(((const Vec *)(const char *)RHS.Data.buffer)->Elts, in APValue()
|
D | DeclObjC.cpp | 27 void ObjCListBase::set(void *const* InList, unsigned Elts, ASTContext &Ctx) { in set() argument 29 if (Elts == 0) return; // Setting to an empty list is a noop. in set() 32 List = new (Ctx) void*[Elts]; in set() 33 NumElts = Elts; in set() 34 memcpy(List, InList, sizeof(void*)*Elts); in set() 37 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts, in set() argument 39 if (Elts == 0) in set() 42 Locations = new (Ctx) SourceLocation[Elts]; in set() 43 memcpy(Locations, Locs, sizeof(SourceLocation) * Elts); in set() 44 set(InList, Elts, Ctx); in set()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 916 SmallVector<Constant*, 16> Elts; in visitShuffleVectorInst() local 919 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst() 926 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst() 929 Elts.push_back(ConstantInt::get(Int32Ty, Mask[i])); in visitShuffleVectorInst() 934 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst() 1213 SmallVector<Constant*, 16> Elts; in visitShuffleVectorInst() local 1216 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst() 1218 Elts.push_back(ConstantInt::get(Int32Ty, newMask[i])); in visitShuffleVectorInst() 1223 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
D | InstCombineSimplifyDemanded.cpp | 990 SmallVector<Constant*, 16> Elts; in SimplifyDemandedVectorElts() local 993 Elts.push_back(Undef); in SimplifyDemandedVectorElts() 1002 Elts.push_back(Undef); in SimplifyDemandedVectorElts() 1005 Elts.push_back(Elt); in SimplifyDemandedVectorElts() 1010 Constant *NewCV = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 1127 SmallVector<Constant*, 16> Elts; in SimplifyDemandedVectorElts() local 1130 Elts.push_back(UndefValue::get(Type::getInt32Ty(I->getContext()))); in SimplifyDemandedVectorElts() 1132 Elts.push_back(ConstantInt::get(Type::getInt32Ty(I->getContext()), in SimplifyDemandedVectorElts() 1135 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts()
|
D | InstCombineMulDivRem.cpp | 114 SmallVector<Constant *, 4> Elts; in getLogBase2Vector() local 120 Elts.push_back(ConstantInt::get(Elt->getType(), IVal->logBase2())); in getLogBase2Vector() 123 return ConstantVector::get(Elts); in getLogBase2Vector() 1458 SmallVector<Constant *, 16> Elts(VWidth); in visitSRem() local 1460 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem() 1461 if (ConstantInt *RHS = dyn_cast<ConstantInt>(Elts[i])) { in visitSRem() 1463 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem() 1467 Constant *NewRHSV = ConstantVector::get(Elts); in visitSRem()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_tcl.c | 111 #define GET_MESA_ELTS() TNL_CONTEXT(ctx)->vb.Elts 329 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in r200EnsureEmitSize() 475 if (VB->Elts) in r200_run_tcl_render()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 202 Constant *Elts[] = { in GetTorInit() local 206 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); in GetTorInit()
|