Home
last modified time | relevance | path

Searched refs:Elts (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DSetTheory.cpp40 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
42 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply()
48 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
58 Elts.insert(*I); in apply()
64 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
74 Elts.insert(*I); in apply()
81 RecSet &Elts, ArrayRef<SMLoc> Loc) = 0;
83 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
94 apply2(ST, Expr, Set, II->getValue(), Elts, Loc); in apply()
101 RecSet &Elts, ArrayRef<SMLoc> Loc) override { in apply2()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DSetTheory.h78 virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts,
91 virtual void expand(SetTheory&, Record*, RecSet &Elts) = 0;
127 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc);
131 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) { in evaluate() argument
133 evaluate(*begin++, Elts, Loc); in evaluate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp995 SmallVector<ElementTy, 16> Elts; in getIntSequenceIfElementsMatch() local
998 Elts.push_back(CI->getZExtValue()); in getIntSequenceIfElementsMatch()
1001 return SequentialTy::get(V[0]->getContext(), Elts); in getIntSequenceIfElementsMatch()
1008 SmallVector<ElementTy, 16> Elts; in getFPSequenceIfElementsMatch() local
1011 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getFPSequenceIfElementsMatch()
1014 return SequentialTy::getFP(V[0]->getContext(), Elts); in getFPSequenceIfElementsMatch()
1208 SmallVector<Constant*, 32> Elts(NumElts, V); in getSplat() local
1209 return get(Elts); in getSplat()
2629 ArrayRef<uint16_t> Elts) { in getFP() argument
2630 Type *Ty = ArrayType::get(Type::getHalfTy(Context), Elts.size()); in getFP()
[all …]
DDebugInfo.cpp965 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateEnumerationType() local
969 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType()
978 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateUnionType() local
983 Elts, RunTimeLang, {UniqueId, UniqueIdLen})); in LLVMDIBuilderCreateUnionType()
1035 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateStructType() local
1040 unwrapDI<DIType>(DerivedFrom), Elts, RunTimeLang, in LLVMDIBuilderCreateStructType()
1209 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateClassType() local
1216 Elts, unwrapDI<DIType>(VTableHolder), in LLVMDIBuilderCreateClassType()
1266 auto Elts = unwrap(Builder)->getOrCreateTypeArray({unwrap(ParameterTypes), in LLVMDIBuilderCreateSubroutineType() local
1269 Elts, map_from_llvmDIFlags(Flags))); in LLVMDIBuilderCreateSubroutineType()
DDIBuilder.cpp614 SmallVector<llvm::Metadata *, 16> Elts; in getOrCreateTypeArray() local
617 Elts.push_back(cast<DIType>(Elements[i])); in getOrCreateTypeArray()
619 Elts.push_back(Elements[i]); in getOrCreateTypeArray()
621 return DITypeRefArray(MDNode::get(VMContext, Elts)); in getOrCreateTypeArray()
/third_party/mesa3d/src/mesa/tnl/
Dt_vb_render.c123 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()
Dt_draw.c355 VB->Elts = NULL; in bind_indices()
377 VB->Elts = (GLuint *) ptr; in bind_indices()
381 VB->Elts = elts; in bind_indices()
Dt_context.h208 GLuint *Elts; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h703 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) {
704 const char *Data = reinterpret_cast<const char *>(Elts.data());
705 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(),
712 static Constant *get(LLVMContext &Context, ArrayTy &Elts) {
713 return ConstantDataArray::get(Context, makeArrayRef(Elts));
732 static Constant *getFP(LLVMContext &Context, ArrayRef<uint16_t> Elts);
733 static Constant *getFP(LLVMContext &Context, ArrayRef<uint32_t> Elts);
734 static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts);
774 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
775 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTinyPtrVector.h124 explicit TinyPtrVector(ArrayRef<EltTy> Elts) in TinyPtrVector() argument
125 : Val(Elts.empty() in TinyPtrVector()
127 : Elts.size() == 1 in TinyPtrVector()
128 ? PtrUnion(Elts[0]) in TinyPtrVector()
129 : PtrUnion(new VecTy(Elts.begin(), Elts.end()))) {} in TinyPtrVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp325 SmallVector<Metadata *, 4> Elts; in splitAndWriteThinLTOBitcode() local
326 Elts.push_back(MDString::get(Ctx, F.getName())); in splitAndWriteThinLTOBitcode()
334 Elts.push_back(ConstantAsMetadata::get( in splitAndWriteThinLTOBitcode()
337 Elts.push_back(Type); in splitAndWriteThinLTOBitcode()
338 CfiFunctionMDs.push_back(MDTuple::get(Ctx, Elts)); in splitAndWriteThinLTOBitcode()
354 Metadata *Elts[] = { in splitAndWriteThinLTOBitcode() local
363 FunctionAliases.push_back(MDTuple::get(Ctx, Elts)); in splitAndWriteThinLTOBitcode()
DGlobalOpt.cpp2413 SmallVector<Constant*, 32> Elts; in EvaluateStoreInto() local
2417 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2423 Elts[Idx] = EvaluateStoreInto(Elts[Idx], Val, Addr, OpNo+1); in EvaluateStoreInto()
2426 return ConstantStruct::get(STy, Elts); in EvaluateStoreInto()
2435 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2438 Elts[CI->getZExtValue()] = in EvaluateStoreInto()
2439 EvaluateStoreInto(Elts[CI->getZExtValue()], Val, Addr, OpNo+1); in EvaluateStoreInto()
2442 return ConstantArray::get(cast<ArrayType>(InitTy), Elts); in EvaluateStoreInto()
2443 return ConstantVector::get(Elts); in EvaluateStoreInto()
2537 SmallVector<Constant *, 32> Elts; in BatchCommitValueTo() local
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tcl.c115 #define GET_MESA_ELTS() rmesa->tcl.Elts
331 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in radeonEnsureEmitSize()
403 rmesa->tcl.Elts = VB->Elts; in radeon_run_tcl_render()
414 if (rmesa->tcl.Elts) in radeon_run_tcl_render()
Dradeon_context.h352 GLuint *Elts; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp2680 SmallVector<Type*, 8> Elts; in ParseAnonStructType() local
2681 if (ParseStructBody(Elts)) return true; in ParseAnonStructType()
2683 Result = StructType::get(Context, Elts, Packed); in ParseAnonStructType()
3118 SmallVector<Constant*, 16> Elts; in ParseValID() local
3119 if (ParseGlobalValueVector(Elts) || in ParseValID()
3123 ID.ConstantStructElts = std::make_unique<Constant *[]>(Elts.size()); in ParseValID()
3124 ID.UIntVal = Elts.size(); in ParseValID()
3125 memcpy(ID.ConstantStructElts.get(), Elts.data(), in ParseValID()
3126 Elts.size() * sizeof(Elts[0])); in ParseValID()
3136 SmallVector<Constant*, 16> Elts; in ParseValID() local
[all …]
/third_party/mesa3d/src/mesa/swrast_setup/
Dss_triangle.c221 if (VB->Elts) { in swsetup_points()
223 if (VB->ClipMask[VB->Elts[i]] == 0) in swsetup_points()
224 _swrast_Point( ctx, &verts[VB->Elts[i]] ); in swsetup_points()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp1170 SmallVector<Metadata *, 8> Elts; in parseOneMetadata() local
1176 Elts.push_back(getMD(Record[i + 1])); in parseOneMetadata()
1182 Elts.push_back(MD); in parseOneMetadata()
1184 Elts.push_back(nullptr); in parseOneMetadata()
1186 MetadataList.assignValue(MDNode::get(Context, Elts), NextMetadataNo); in parseOneMetadata()
1208 SmallVector<Metadata *, 8> Elts; in parseOneMetadata() local
1209 Elts.reserve(Record.size()); in parseOneMetadata()
1211 Elts.push_back(getMDOrNull(ID)); in parseOneMetadata()
1212 MetadataList.assignValue(IsDistinct ? MDNode::getDistinct(Context, Elts) in parseOneMetadata()
1213 : MDNode::get(Context, Elts), in parseOneMetadata()
[all …]
DBitcodeReader.cpp2436 SmallVector<Constant*, 16> Elts; in parseConstants() local
2440 Elts.push_back(ValueList.getConstantFwdRef(Record[i], in parseConstants()
2442 V = ConstantStruct::get(STy, Elts); in parseConstants()
2446 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); in parseConstants()
2447 V = ConstantArray::get(ATy, Elts); in parseConstants()
2451 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); in parseConstants()
2452 V = ConstantVector::get(Elts); in parseConstants()
2463 SmallString<16> Elts(Record.begin(), Record.end()); in parseConstants() local
2464 V = ConstantDataArray::getString(Context, Elts, in parseConstants()
2474 SmallVector<uint8_t, 16> Elts(Record.begin(), Record.end()); in parseConstants() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1148 SmallVector<Constant*, 16> Elts; in SimplifyDemandedVectorElts() local
1151 Elts.push_back(Undef); in SimplifyDemandedVectorElts()
1160 Elts.push_back(Undef); in SimplifyDemandedVectorElts()
1163 Elts.push_back(Elt); in SimplifyDemandedVectorElts()
1168 Constant *NewCV = ConstantVector::get(Elts); in SimplifyDemandedVectorElts()
1399 SmallVector<Constant*, 16> Elts; in SimplifyDemandedVectorElts() local
1402 Elts.push_back(UndefValue::get(Type::getInt32Ty(I->getContext()))); in SimplifyDemandedVectorElts()
1404 Elts.push_back(ConstantInt::get(Type::getInt32Ty(I->getContext()), in SimplifyDemandedVectorElts()
1407 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts()
DInstCombineMulDivRem.cpp110 SmallVector<Constant *, 4> Elts; in getLogBase2() local
116 Elts.push_back(UndefValue::get(Ty->getScalarType())); in getLogBase2()
121 Elts.push_back(ConstantInt::get(Ty->getScalarType(), IVal->logBase2())); in getLogBase2()
124 return ConstantVector::get(Elts); in getLogBase2()
1461 SmallVector<Constant *, 16> Elts(VWidth); in visitSRem() local
1463 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
1464 if (ConstantInt *RHS = dyn_cast<ConstantInt>(Elts[i])) { in visitSRem()
1466 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
1470 Constant *NewRHSV = ConstantVector::get(Elts); in visitSRem()
DInstCombineVectorOps.cpp1916 SmallVector<Constant*, 16> Elts; in visitShuffleVectorInst() local
1920 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst()
1922 Elts.push_back(ConstantInt::get(Int32Ty, Mask[i] % LHSWidth)); in visitShuffleVectorInst()
1926 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst()
2227 SmallVector<Constant*, 16> Elts; in visitShuffleVectorInst() local
2230 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst()
2232 Elts.push_back(ConstantInt::get(Int32Ty, newMask[i])); in visitShuffleVectorInst()
2237 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts)); in visitShuffleVectorInst()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tcl.c110 #define GET_MESA_ELTS() TNL_CONTEXT(ctx)->vb.Elts
328 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in r200EnsureEmitSize()
474 if (VB->Elts) in r200_run_tcl_render()
/third_party/mesa3d/src/mesa/tnl_dd/
Dt_dd_dmatmp.h440 if (VB->Elts) in TAG()
470 ok = VB->Elts || ctx->Light.ShadeModel == GL_SMOOTH; in TAG()
Dt_dd_tritmp.h638 if (VB->Elts == 0) { in TAG()
647 GLuint e = VB->Elts[i]; in TAG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp1365 SmallSetVector<Metadata *, 16> Elts; in linkModuleFlagsMetadata() local
1368 Elts.insert(DstValue->op_begin(), DstValue->op_end()); in linkModuleFlagsMetadata()
1369 Elts.insert(SrcValue->op_begin(), SrcValue->op_end()); in linkModuleFlagsMetadata()
1372 makeArrayRef(Elts.begin(), Elts.end()))); in linkModuleFlagsMetadata()

12