Searched defs:Elts (Results 1 - 25 of 37) sorted by relevance

12

/external/llvm/include/llvm/TableGen/
H A DSetTheory.h75 /// in Elts.
76 virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts,
88 virtual void expand(SetTheory&, Record*, RecSet &Elts) =0;
115 /// dag Elts = d;
123 /// evaluate - Evaluate Expr and append the resulting set to Elts.
124 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc);
126 /// evaluate - Evaluate a sequence of Inits and append to Elts.
128 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) { argument
130 evaluate(*begin++, Elts, Loc);
/external/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp83 SmallVector<Value*, 4> Elts; local
84 Elts.reserve(MD->getNumOperands());
88 Elts.push_back(nullptr);
95 Elts.push_back(Mapped_Op);
98 MDNode *NewMD = MDNode::get(V->getContext(), Elts);
/external/llvm/utils/TableGen/
H A DTableGen.cpp159 const std::vector<Record*> *Elts = Sets.expand(Recs[i]); local
160 assert(Elts && "Couldn't expand Set instance");
161 for (unsigned ei = 0, ee = Elts->size(); ei != ee; ++ei)
162 OS << ' ' << (*Elts)[ei]->getName();
/external/llvm/lib/IR/
H A DDebugLoc.cpp129 Value *Elts[] = { local
133 return MDNode::get(Ctx2, Elts);
H A DAutoUpgrade.cpp272 SmallVector<Value *, 1> Elts; local
273 Elts.push_back(ConstantInt::get(Type::getInt32Ty(C), 1));
274 MDNode *Node = MDNode::get(C, Elts);
504 Value *Elts[] = { local
508 MDNode *ScalarType = MDNode::get(I->getContext(), Elts);
518 Value *Elts[] = {MD, MD, local
520 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts));
H A DDIBuilder.cpp124 Value *Elts[] = { local
141 MDNode *CUNode = MDNode::get(VMContext, Elts);
162 Value *Elts[] = { local
168 R = MDNode::get(C, Elts);
170 Value *Elts[] = { local
177 R = MDNode::get(C, Elts);
217 Value *Elts[] = { local
221 return DIFile(MDNode::get(VMContext, Elts));
227 Value *Elts[] = { local
232 return DIEnumerator(MDNode::get(VMContext, Elts));
240 Value *Elts[] = { local
268 Value *Elts[] = { local
287 Value *Elts[] = { local
307 Value *Elts[] = { local
325 Value *Elts[] = { local
346 Value *Elts[] = { local
365 Value *Elts[] = { local
385 Value *Elts[] = { local
407 Value *Elts[] = { local
430 Value *Elts[] = { local
454 Value *Elts[] = { local
479 Value *Elts[] = { local
507 Value *Elts[] = { local
529 Value *Elts[] = { local
548 Value *Elts[] = { local
566 Value *Elts[] = { local
625 Value *Elts[] = { local
663 Value *Elts[] = { local
698 Value *Elts[] = { local
727 Value *Elts[] = { local
754 Value *Elts[] = { local
783 Value *Elts[] = { local
807 Value *Elts[] = { local
879 Value *Elts[] = { local
893 Value *Elts[] = { local
927 Value *Elts[] = { local
962 Value *Elts[] = { local
977 Value *Elts[] = { local
1016 Value *Elts[] = { local
1045 Value *Elts[] = { local
1079 Value *Elts[] = { local
1123 Value *Elts[] = { local
1170 Value *Elts[] = { local
1205 Value *Elts[] = { local
1222 Value *Elts[] = { local
1246 Value *Elts[] = { local
[all...]
H A DType.cpp428 Type **Elts = getContext().pImpl->TypeAllocator.Allocate<Type*>(NumElements); local
429 memcpy(Elts, Elements.data(), sizeof(Elements[0]) * NumElements);
431 ContainedTys = Elts;
H A DDebugInfo.cpp841 SmallVector<Value *, 10> Elts; local
845 Elts.push_back(DbgNode->getOperand(I));
847 Elts.push_back(NewScope);
849 MDNode *NewDIL = MDNode::get(Ctx, Elts);
907 SmallVector<Value *, 16> Elts; local
910 i == 7 ? Elts.push_back(InlinedScope) : Elts.push_back(DV->getOperand(i));
911 return DIVariable(MDNode::get(VMContext, Elts));
916 SmallVector<Value *, 16> Elts; local
919 i == 7 ? Elts
[all...]
/external/llvm/lib/TableGen/
H A DSetTheory.cpp30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts,
32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc);
38 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts,
48 Elts.insert(*I);
54 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts,
64 Elts.insert(*I);
71 RecSet &Elts, ArrayRef<SMLoc> Loc) = 0;
73 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts,
84 apply2(ST, Expr, Set, II->getValue(), Elts, Loc);
91 RecSet &Elts, ArrayRe
272 evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) argument
313 RecSet Elts; local
[all...]
/external/llvm/tools/bugpoint/
H A DExtractFunction.cpp214 Constant *Elts[] = { local
218 ArrayElts.push_back(ConstantStruct::get(STy, Elts));
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp947 SmallVector<Constant*, 16> Elts; local
950 Elts.push_back(Undef);
959 Elts.push_back(Undef);
962 Elts.push_back(Elt);
967 Constant *NewCV = ConstantVector::get(Elts);
1084 SmallVector<Constant*, 16> Elts; local
1087 Elts.push_back(UndefValue::get(Type::getInt32Ty(I->getContext())));
1089 Elts.push_back(ConstantInt::get(Type::getInt32Ty(I->getContext()),
1092 I->setOperand(2, ConstantVector::get(Elts));
H A DInstCombineVectorOps.cpp892 SmallVector<Constant*, 16> Elts; local
895 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext())));
902 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext())));
905 Elts.push_back(ConstantInt::get(Type::getInt32Ty(SVI.getContext()),
911 SVI.setOperand(2, ConstantVector::get(Elts));
1101 SmallVector<Constant*, 16> Elts; local
1105 Elts.push_back(UndefValue::get(Int32Ty));
1107 Elts.push_back(ConstantInt::get(Int32Ty, newMask[i]));
1112 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts));
H A DInstCombineMulDivRem.cpp107 SmallVector<Constant *, 4> Elts; local
113 Elts.push_back(ConstantInt::get(Elt->getType(), IVal->logBase2()));
116 return ConstantVector::get(Elts);
1314 SmallVector<Constant *, 16> Elts(VWidth);
1316 Elts[i] = C->getAggregateElement(i); // Handle undef, etc.
1317 if (ConstantInt *RHS = dyn_cast<ConstantInt>(Elts[i])) {
1319 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS));
1323 Constant *NewRHSV = ConstantVector::get(Elts);
/external/clang/include/clang/AST/
H A DAPValue.h81 APValue *Elts; member in struct:clang::APValue::Vec
83 Vec() : Elts(nullptr), NumElts(0) {}
84 ~Vec() { delete[] Elts; }
87 APValue *Elts; member in struct:clang::APValue::Arr
93 APValue *Elts; member in struct:clang::APValue::StructData
261 return ((Vec*)(char*)Data.buffer)->Elts[I];
274 return ((Arr*)(char*)Data.buffer)->Elts[I];
285 return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()];
309 return ((StructData*)(char*)Data.buffer)->Elts[i];
313 return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBase
[all...]
/external/llvm/lib/AsmParser/
H A DLLParser.cpp656 SmallVector<Value *, 16> Elts; local
662 ParseMDNodeVector(Elts, nullptr) ||
666 MDNode *Init = MDNode::get(Context, Elts);
1985 SmallVector<Type*, 8> Elts;
1986 if (ParseStructBody(Elts)) return true;
1988 Result = StructType::get(Context, Elts, Packed);
2437 SmallVector<Constant*, 16> Elts;
2438 if (ParseGlobalValueVector(Elts) ||
2442 ID.ConstantStructElts = new Constant*[Elts.size()];
2443 ID.UIntVal = Elts
[all...]
/external/clang/lib/CodeGen/
H A DCGValue.h317 static LValue MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts, argument
322 R.VectorElts = Elts;
H A DCGExprConstant.cpp614 SmallVector<llvm::Constant*, 2> Elts; local
616 Elts.push_back(C);
627 Elts.push_back(llvm::UndefValue::get(Ty));
633 return llvm::ConstantStruct::get(STy, Elts);
738 std::vector<llvm::Constant*> Elts; local
739 Elts.reserve(NumInitableElts + NumElements);
748 Elts.push_back(C);
761 Elts.resize(NumElements, fillC);
767 for (unsigned i = 0, e = Elts.size(); i < e; ++i)
768 Types.push_back(Elts[
1173 std::vector<llvm::Constant*> Elts; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_context.h207 GLuint *Elts; member in struct:vertex_buffer
/external/clang/lib/AST/
H A DDeclObjC.cpp27 void ObjCListBase::set(void *const* InList, unsigned Elts, ASTContext &Ctx) { argument
29 if (Elts == 0) return; // Setting to an empty list is a noop.
32 List = new (Ctx) void*[Elts];
33 NumElts = Elts;
34 memcpy(List, InList, sizeof(void*)*Elts);
37 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts, argument
39 if (Elts == 0)
42 Locations = new (Ctx) SourceLocation[Elts];
43 memcpy(Locations, Locs, sizeof(SourceLocation) * Elts);
44 set(InList, Elts, Ct
[all...]
H A DExprConstant.cpp2043 unsigned Elts = CAT->getSize().getZExtValue(); local
2045 std::min(S->getLength(), Elts), Elts);
5344 SmallVector<APValue, 4> Elts(NElts, Val);
5345 return Success(Elts, E);
5356 SmallVector<APValue, 4> Elts;
5368 Elts.push_back(APValue(APFloat(Sem, Elt)));
5377 Elts.push_back(APValue(APSInt(Elt, EltTy->isSignedIntegerType())));
5382 return Success(Elts, E);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1064 SmallVector<Value*, 8> Elts; local
1070 Elts.push_back(MDValueList.getValueFwdRef(Record[i+1]));
1072 Elts.push_back(ValueList.getValueFwdRef(Record[i+1], Ty));
1074 Elts.push_back(nullptr);
1076 Value *V = MDNode::getWhenValsUnresolved(Context, Elts, IsFunctionLocal);
1275 SmallVector<Constant*, 16> Elts; local
1279 Elts.push_back(ValueList.getConstantFwdRef(Record[i],
1281 V = ConstantStruct::get(STy, Elts);
1285 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy));
1286 V = ConstantArray::get(ATy, Elts);
[all...]
/external/llvm/lib/Linker/
H A DLinkModules.cpp1362 SmallSetVector<Value*, 16> Elts; local
1366 Elts.insert(DstValue->getOperand(i));
1368 Elts.insert(SrcValue->getOperand(i));
1370 ArrayRef<Value*>(Elts.begin(),
1371 Elts.end())));
/external/llvm/lib/Target/R600/
H A DSIISelLowering.cpp1080 SmallVector<SDValue, 4> Elts; local
1082 DAG.ExtractVectorElements(NewLoad, Elts);
1084 Elts.push_back(NewLoad);
1089 for (SDValue Elt : Elts) {
/external/mesa3d/src/mesa/tnl/
H A Dt_context.h207 GLuint *Elts; member in struct:vertex_buffer
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_context.h353 GLuint *Elts; member in struct:r100_tcl_info

Completed in 247 milliseconds

12