Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/LLVM/utils/TableGen/
DSetTheory.cpp30 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 …]
DSetTheory.h73 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()
DTableGen.cpp174 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/
DDIBuilder.cpp100 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 …]
/external/llvm/lib/TableGen/
DSetTheory.cpp30 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/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DSetTheory.cpp41 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
43 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply()
49 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
59 Elts.insert(*I); in apply()
65 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
75 Elts.insert(*I); in apply()
82 RecSet &Elts, ArrayRef<SMLoc> Loc) = 0;
84 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
95 apply2(ST, Expr, Set, II->getValue(), Elts, Loc); in apply()
102 RecSet &Elts, ArrayRef<SMLoc> Loc) override { in apply2()
[all …]
/external/llvm/lib/IR/
DConstants.cpp822 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/
DSetTheory.h76 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DSetTheory.h79 virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts,
92 virtual void expand(SetTheory&, Record*, RecSet &Elts) = 0;
128 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc);
132 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) { in evaluate() argument
134 evaluate(*begin++, Elts, Loc); in evaluate()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DLowLevelTypeTest.cpp66 for (uint16_t Elts : {2U, 3U, 4U, 32U, 0xffU}) { in TEST()
68 const LLT VTy = LLT::vector(Elts, S); in TEST()
72 const LLT VSTy = LLT::vector(Elts, STy); in TEST()
87 EXPECT_EQ(S * Elts, VTy.getSizeInBits()); in TEST()
89 EXPECT_EQ(Elts, VTy.getNumElements()); in TEST()
101 Type *IRTy = VectorType::get(IRSTy, Elts); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp890 SmallVector<ElementTy, 16> Elts; in getIntSequenceIfElementsMatch() local
893 Elts.push_back(CI->getZExtValue()); in getIntSequenceIfElementsMatch()
896 return SequentialTy::get(V[0]->getContext(), Elts); in getIntSequenceIfElementsMatch()
903 SmallVector<ElementTy, 16> Elts; in getFPSequenceIfElementsMatch() local
906 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getFPSequenceIfElementsMatch()
909 return SequentialTy::getFP(V[0]->getContext(), Elts); in getFPSequenceIfElementsMatch()
1103 SmallVector<Constant*, 32> Elts(NumElts, V); in getSplat() local
1104 return get(Elts); in getSplat()
2497 ArrayRef<uint16_t> Elts) { in getFP() argument
2498 Type *Ty = ArrayType::get(Type::getHalfTy(Context), Elts.size()); in getFP()
[all …]
/external/clang/include/clang/AST/
DAPValue.h81 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/
DLLParser.cpp526 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/
DCGExprConstant.cpp661 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h699 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) {
700 const char *Data = reinterpret_cast<const char *>(Elts.data());
701 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(),
708 static Constant *get(LLVMContext &Context, ArrayTy &Elts) {
709 return ConstantDataArray::get(Context, makeArrayRef(Elts));
728 static Constant *getFP(LLVMContext &Context, ArrayRef<uint16_t> Elts);
729 static Constant *getFP(LLVMContext &Context, ArrayRef<uint32_t> Elts);
730 static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts);
770 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
771 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts);
[all …]
/external/llvm/include/llvm/IR/
DConstants.h667 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/
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()
/external/llvm/include/llvm/ADT/
DTinyPtrVector.h106 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DTinyPtrVector.h121 explicit TinyPtrVector(ArrayRef<EltTy> Elts) in TinyPtrVector() argument
122 : Val(Elts.empty() in TinyPtrVector()
124 : Elts.size() == 1 in TinyPtrVector()
125 ? PtrUnion(Elts[0]) in TinyPtrVector()
126 : PtrUnion(new VecTy(Elts.begin(), Elts.end()))) {} in TinyPtrVector()
/external/llvm/tools/llvm-c-test/
Decho.cpp119 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/
DLLParser.cpp2297 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/
DInstCombineVectorOps.cpp482 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()
/external/llvm/utils/TableGen/
DTableGen.cpp164 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-7.0/llvm/tools/llvm-c-test/
Decho.cpp120 SmallVector<LLVMTypeRef, 8> Elts; in Clone() local
122 Elts.push_back(Clone(LLVMStructGetTypeAtIndex(Src, i))); in Clone()
124 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src)); in Clone()
126 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, in Clone()
288 SmallVector<LLVMValueRef, 8> Elts; in clone_constant_impl() local
290 Elts.push_back(clone_constant(LLVMGetOperand(Cst, i), M)); in clone_constant_impl()
291 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
299 SmallVector<LLVMValueRef, 8> Elts; in clone_constant_impl() local
301 Elts.push_back(clone_constant(LLVMGetElementAsConstant(Cst, i), M)); in clone_constant_impl()
302 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp315 SmallVector<Metadata *, 4> Elts; in splitAndWriteThinLTOBitcode() local
316 Elts.push_back(MDString::get(Ctx, F.getName())); in splitAndWriteThinLTOBitcode()
324 Elts.push_back(ConstantAsMetadata::get( in splitAndWriteThinLTOBitcode()
327 Elts.push_back(Type); in splitAndWriteThinLTOBitcode()
328 CfiFunctionMDs.push_back(MDTuple::get(Ctx, Elts)); in splitAndWriteThinLTOBitcode()
344 Metadata *Elts[] = { in splitAndWriteThinLTOBitcode() local
353 FunctionAliases.push_back(MDTuple::get(Ctx, Elts)); in splitAndWriteThinLTOBitcode()

12345