/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | SetTheory.cpp | 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { in apply() 31 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts); in apply() 37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { in apply() 46 Elts.insert(*I); in apply() 52 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { in apply() 60 Elts.insert(*I); in apply() 68 RecSet &Elts) =0; 70 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { in apply() 78 apply2(ST, Expr, Set, II->getValue(), Elts); in apply() 86 RecSet &Elts) { in apply2() [all …]
|
D | SetTheory.h | 73 virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts) =0; 82 virtual void expand(SetTheory&, Record*, RecSet &Elts) =0; 118 void evaluate(Init *Expr, RecSet &Elts); 122 void evaluate(Iter begin, Iter end, RecSet &Elts) { in evaluate() argument 124 evaluate(*begin++, Elts); in evaluate()
|
D | TableGen.cpp | 174 const std::vector<Record*> *Elts = Sets.expand(Recs[i]); in operator ()() local 175 assert(Elts && "Couldn't expand Set instance"); in operator ()() 176 for (unsigned ei = 0, ee = Elts->size(); ei != ee; ++ei) in operator ()() 177 OS << ' ' << (*Elts)[ei]->getName(); in operator ()()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | DIBuilder.cpp | 100 Value *Elts[] = { in createCompileUnit() local 117 TheCU = DICompileUnit(MDNode::get(VMContext, Elts)); in createCompileUnit() 129 Value *Elts[] = { in createFile() local 135 return DIFile(MDNode::get(VMContext, Elts)); in createFile() 141 Value *Elts[] = { in createEnumerator() local 146 return DIEnumerator(MDNode::get(VMContext, Elts)); in createEnumerator() 154 Value *Elts[] = { in createNullPtrType() local 166 return DIType(MDNode::get(VMContext, Elts)); in createNullPtrType() 177 Value *Elts[] = { in createBasicType() local 189 return DIType(MDNode::get(VMContext, Elts)); in createBasicType() [all …]
|
D | DebugInfo.cpp | 905 SmallVector<Value *, 16> Elts; in createInlinedVariable() local 908 i == 7 ? Elts.push_back(InlinedScope) : in createInlinedVariable() 909 Elts.push_back(DV->getOperand(i)); in createInlinedVariable() 910 return DIVariable(MDNode::get(VMContext, Elts)); in createInlinedVariable() 915 SmallVector<Value *, 16> Elts; in cleanseInlinedVariable() local 919 Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext))): in cleanseInlinedVariable() 920 Elts.push_back(DV->getOperand(i)); in cleanseInlinedVariable() 921 return DIVariable(MDNode::get(VMContext, Elts)); in cleanseInlinedVariable()
|
/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 | 822 SmallVector<ElementTy, 16> Elts; in getIntSequenceIfElementsMatch() local 825 Elts.push_back(CI->getZExtValue()); in getIntSequenceIfElementsMatch() 828 return SequentialTy::get(V[0]->getContext(), Elts); in getIntSequenceIfElementsMatch() 835 SmallVector<ElementTy, 16> Elts; in getFPSequenceIfElementsMatch() local 838 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getFPSequenceIfElementsMatch() 841 return SequentialTy::getFP(V[0]->getContext(), Elts); in getFPSequenceIfElementsMatch() 1045 SmallVector<Constant*, 32> Elts(NumElts, V); in getSplat() local 1046 return get(Elts); in getSplat() 2416 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint8_t> Elts) { in get() argument 2417 Type *Ty = ArrayType::get(Type::getInt8Ty(Context), Elts.size()); in get() [all …]
|
/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/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLParser.cpp | 526 SmallVector<Value *, 16> Elts; in ParseStandaloneMetadata() local 532 ParseMDNodeVector(Elts, NULL) || in ParseStandaloneMetadata() 536 MDNode *Init = MDNode::get(Context, Elts); in ParseStandaloneMetadata() 1485 SmallVector<Type*, 8> Elts; in ParseAnonStructType() local 1486 if (ParseStructBody(Elts)) return true; in ParseAnonStructType() 1488 Result = StructType::get(Context, Elts, Packed); in ParseAnonStructType() 1937 SmallVector<Constant*, 16> Elts; in ParseValID() local 1938 if (ParseGlobalValueVector(Elts) || in ParseValID() 1942 ID.ConstantStructElts = new Constant*[Elts.size()]; in ParseValID() 1943 ID.UIntVal = Elts.size(); in ParseValID() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 661 SmallVector<llvm::Constant*, 2> Elts; in VisitCastExpr() local 663 Elts.push_back(C); in VisitCastExpr() 674 Elts.push_back(llvm::UndefValue::get(Ty)); in VisitCastExpr() 680 return llvm::ConstantStruct::get(STy, Elts); in VisitCastExpr() 806 std::vector<llvm::Constant*> Elts; in EmitArrayInitialization() local 807 Elts.reserve(NumInitableElts + NumElements); in EmitArrayInitialization() 816 Elts.push_back(C); in EmitArrayInitialization() 820 Elts.resize(NumElements, fillC); in EmitArrayInitialization() 826 for (unsigned i = 0, e = Elts.size(); i < e; ++i) in EmitArrayInitialization() 827 Types.push_back(Elts[i]->getType()); in EmitArrayInitialization() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 667 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts); 668 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts); 669 static Constant *get(LLVMContext &Context, ArrayRef<uint32_t> Elts); 670 static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts); 671 static Constant *get(LLVMContext &Context, ArrayRef<float> Elts); 672 static Constant *get(LLVMContext &Context, ArrayRef<double> Elts); 679 static Constant *getFP(LLVMContext &Context, ArrayRef<uint16_t> Elts); 680 static Constant *getFP(LLVMContext &Context, ArrayRef<uint32_t> Elts); 681 static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts); 725 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts); [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_render.c | 123 const GLuint * const elt = VB->Elts; \ 159 const GLuint * const elt = VB->Elts; in clip_elt_triangles() 213 const GLuint * const elt = VB->Elts; \ 244 GLuint *tmp = VB->Elts; in _tnl_RenderClippedPolygon() 246 VB->Elts = (GLuint *)elts; in _tnl_RenderClippedPolygon() 248 VB->Elts = tmp; in _tnl_RenderClippedPolygon() 296 tab = VB->Elts ? clip_render_tab_elts : clip_render_tab_verts; in run_render() 300 tab = (VB->Elts ? in run_render()
|
/external/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 106 explicit TinyPtrVector(ArrayRef<EltTy> Elts) in TinyPtrVector() argument 107 : Val(Elts.empty() in TinyPtrVector() 109 : Elts.size() == 1 in TinyPtrVector() 110 ? PtrUnion(Elts[0]) in TinyPtrVector() 111 : PtrUnion(new VecTy(Elts.begin(), Elts.end()))) {} in TinyPtrVector()
|
/external/llvm/tools/llvm-c-test/ |
D | echo.cpp | 119 SmallVector<LLVMTypeRef, 8> Elts; in Clone() local 121 Elts.push_back(Clone(LLVMStructGetTypeAtIndex(Src, i))); in Clone() 123 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src)); in Clone() 125 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, in Clone() 276 SmallVector<LLVMValueRef, 8> Elts; in clone_constant_impl() local 278 Elts.push_back(clone_constant(LLVMGetOperand(Cst, i), M)); in clone_constant_impl() 279 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl() 287 SmallVector<LLVMValueRef, 8> Elts; in clone_constant_impl() local 289 Elts.push_back(clone_constant(LLVMGetElementAsConstant(Cst, i), M)); in clone_constant_impl() 290 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl() [all …]
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2297 SmallVector<Type*, 8> Elts; in ParseAnonStructType() local 2298 if (ParseStructBody(Elts)) return true; in ParseAnonStructType() 2300 Result = StructType::get(Context, Elts, Packed); in ParseAnonStructType() 2725 SmallVector<Constant*, 16> Elts; in ParseValID() local 2726 if (ParseGlobalValueVector(Elts) || in ParseValID() 2730 ID.ConstantStructElts = make_unique<Constant *[]>(Elts.size()); in ParseValID() 2731 ID.UIntVal = Elts.size(); in ParseValID() 2732 memcpy(ID.ConstantStructElts.get(), Elts.data(), in ParseValID() 2733 Elts.size() * sizeof(Elts[0])); in ParseValID() 2743 SmallVector<Constant*, 16> Elts; in ParseValID() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 482 std::vector<Constant*> Elts; in visitShuffleVectorInst() local 485 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext()))); in visitShuffleVectorInst() 490 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext()))); in visitShuffleVectorInst() 493 Elts.push_back(ConstantInt::get(Type::getInt32Ty(SVI.getContext()), in visitShuffleVectorInst() 500 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst() 557 std::vector<Constant*> Elts; in visitShuffleVectorInst() local 561 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst() 563 Elts.push_back(ConstantInt::get(Int32Ty, NewMask[i])); in visitShuffleVectorInst() 568 ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
D | InstCombineSimplifyDemanded.cpp | 829 std::vector<Constant*> Elts; in SimplifyDemandedVectorElts() local 832 Elts.push_back(Undef); in SimplifyDemandedVectorElts() 835 Elts.push_back(Undef); in SimplifyDemandedVectorElts() 838 Elts.push_back(CV->getOperand(i)); in SimplifyDemandedVectorElts() 842 Constant *NewCP = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 858 std::vector<Constant*> Elts; in SimplifyDemandedVectorElts() local 861 Elts.push_back(Elt); in SimplifyDemandedVectorElts() 864 return ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 980 std::vector<Constant*> Elts; in SimplifyDemandedVectorElts() local 983 Elts.push_back(UndefValue::get(Type::getInt32Ty(I->getContext()))); in SimplifyDemandedVectorElts() [all …]
|
/external/llvm/utils/TableGen/ |
D | TableGen.cpp | 164 const std::vector<Record*> *Elts = Sets.expand(Rec); in LLVMTableGenMain() local 165 assert(Elts && "Couldn't expand Set instance"); in LLVMTableGenMain() 166 for (Record *Elt : *Elts) in LLVMTableGenMain()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 69 SmallVector<Value*, 4> Elts; in MapValue() local 70 Elts.reserve(MD->getNumOperands()); in MapValue() 73 Elts.push_back(Op ? MapValue(Op, VM, Flags, TypeMapper) : 0); in MapValue() 75 MDNode *NewMD = MDNode::get(V->getContext(), Elts); in MapValue()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 102 uint64_t Elts = 0; in visitVariable() local 104 Elts = CArrTy->getSize().getZExtValue(); in visitVariable() 105 if (Elts == 0) in visitVariable() 113 visitRecord(RT->getDecl(), Elts); in visitVariable()
|
/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/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1102 SmallVector<Value*, 8> Elts; in ParseMetadata() local 1107 Elts.push_back(MDValueList.getValueFwdRef(Record[i+1])); in ParseMetadata() 1109 Elts.push_back(ValueList.getValueFwdRef(Record[i+1], Ty)); in ParseMetadata() 1111 Elts.push_back(NULL); in ParseMetadata() 1113 Value *V = MDNode::getWhenValsUnresolved(Context, Elts, IsFunctionLocal); in ParseMetadata() 1289 std::vector<Constant*> Elts; in ParseConstants() local 1293 Elts.push_back(ValueList.getConstantFwdRef(Record[i], in ParseConstants() 1295 V = ConstantStruct::get(STy, Elts); in ParseConstants() 1299 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); in ParseConstants() 1300 V = ConstantArray::get(ATy, Elts); in ParseConstants() [all …]
|
/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/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2239 SmallVector<Metadata *, 8> Elts; in parseMetadata() local 2245 Elts.push_back(getMD(Record[i + 1])); in parseMetadata() 2251 Elts.push_back(MD); in parseMetadata() 2253 Elts.push_back(nullptr); in parseMetadata() 2255 MetadataList.assignValue(MDNode::get(Context, Elts), NextMetadataNo++); in parseMetadata() 2275 SmallVector<Metadata *, 8> Elts; in parseMetadata() local 2276 Elts.reserve(Record.size()); in parseMetadata() 2278 Elts.push_back(getMDOrNull(ID)); in parseMetadata() 2279 MetadataList.assignValue(IsDistinct ? MDNode::getDistinct(Context, Elts) in parseMetadata() 2280 : MDNode::get(Context, Elts), in parseMetadata() [all …]
|