/openbsd-current/gnu/llvm/llvm/include/llvm/TableGen/ |
H A D | SetTheory.h | 78 /// in Elts. 79 virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts, 92 virtual void expand(SetTheory&, Record*, RecSet &Elts) = 0; 119 /// dag Elts = d; 127 /// evaluate - Evaluate Expr and append the resulting set to Elts. 128 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc); 130 /// evaluate - Evaluate a sequence of Inits and append to Elts. 132 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) { argument 134 evaluate(*begin++, Elts, Loc);
|
/openbsd-current/gnu/llvm/llvm/lib/TableGen/ |
H A D | SetTheory.cpp | 39 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, 41 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); 47 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, 57 Elts.insert(I); 63 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, 73 Elts.insert(I); 80 RecSet &Elts, ArrayRef<SMLoc> Loc) = 0; 82 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, 93 apply2(ST, Expr, Set, II->getValue(), Elts, Loc); 100 RecSet &Elts, ArrayRe 281 evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) argument 323 RecSet Elts; local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/IR/ |
H A D | Constants.cpp | 1178 SmallVector<ElementTy, 16> Elts; 1181 Elts.push_back(CI->getZExtValue()); 1184 return SequentialTy::get(V[0]->getContext(), Elts); 1191 SmallVector<ElementTy, 16> Elts; 1194 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); 1197 return SequentialTy::getFP(V[0]->getType(), Elts); 1407 SmallVector<Constant *, 32> Elts(EC.getKnownMinValue(), V); 1408 return get(Elts); 2723 SmallVector<Constant *, 4> Elts; 2730 Elts [all...] |
H A D | DebugInfo.cpp | 1068 auto Elts = 1074 unwrapDI<DIFile>(File), Line, Elts)); 1081 auto Elts = 1087 Line, Elts)); 1094 auto Elts = 1100 Line, {Name, NameLen}, Elts)); 1185 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), 1189 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); 1198 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), 1203 Elts, RunTimeLan [all...] |
H A D | DIBuilder.cpp | 690 SmallVector<llvm::Metadata *, 16> Elts; local 693 Elts.push_back(cast<DIType>(E)); 695 Elts.push_back(E); 697 return DITypeRefArray(MDNode::get(VMContext, Elts));
|
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/ |
H A D | Constants.h | 691 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) { argument 692 const char *Data = reinterpret_cast<const char *>(Elts.data()); 693 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(), 700 static Constant *get(LLVMContext &Context, ArrayTy &Elts) { argument 701 return ConstantDataArray::get(Context, ArrayRef(Elts)); 718 /// argument `Elts'. The amount of bits of the contained type must match the 722 static Constant *getFP(Type *ElementType, ArrayRef<uint16_t> Elts); 723 static Constant *getFP(Type *ElementType, ArrayRef<uint32_t> Elts); 724 static Constant *getFP(Type *ElementType, ArrayRef<uint64_t> Elts); [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 123 explicit TinyPtrVector(ArrayRef<EltTy> Elts) argument 124 : Val(Elts.empty() 126 : Elts.size() == 1 127 ? PtrUnion(Elts[0]) 128 : PtrUnion(new VecTy(Elts.begin(), Elts.end()))) {}
|
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 118 uint64_t Elts = 0; 120 Elts = CArrTy->getSize().getZExtValue(); 121 if (Elts == 0) 128 visitRecord(RT->getDecl(), Elts);
|
/openbsd-current/gnu/llvm/clang/include/clang/AST/ |
H A D | APValue.h | 270 APValue *Elts; member in struct:clang::APValue::Vec 272 Vec() : Elts(nullptr), NumElts(0) {} 273 ~Vec() { delete[] Elts; } 276 APValue *Elts; member in struct:clang::APValue::Arr 282 APValue *Elts; member in struct:clang::APValue::StructData 492 return ((Vec *)(char *)&Data)->Elts[I]; 505 return ((Arr *)(char *)&Data)->Elts[I]; 516 return ((Arr *)(char *)&Data)->Elts[getArrayInitializedElts()]; 541 return ((StructData *)(char *)&Data)->Elts[i]; 546 return ((StructData *)(char *)&Data)->Elts[getStructNumBase [all...] |
/openbsd-current/gnu/llvm/llvm/utils/TableGen/ |
H A D | TableGen.cpp | 233 const std::vector<Record*> *Elts = Sets.expand(Rec); local 234 assert(Elts && "Couldn't expand Set instance"); 235 for (Record *Elt : *Elts)
|
/openbsd-current/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | ThinLTOBitcodeWriter.cpp | 384 SmallVector<Metadata *, 4> Elts; local 385 Elts.push_back(MDString::get(Ctx, F.getName())); 393 Elts.push_back(ConstantAsMetadata::get( 395 append_range(Elts, Types); 396 CfiFunctionMDs.push_back(MDTuple::get(Ctx, Elts)); 412 Metadata *Elts[] = { local 421 FunctionAliases.push_back(MDTuple::get(Ctx, Elts));
|
/openbsd-current/gnu/llvm/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 2952 SmallVector<Type*, 8> Elts; 2953 if (parseStructBody(Elts)) 2956 Result = StructType::get(Context, Elts, Packed); 3452 SmallVector<Constant*, 16> Elts; 3453 if (parseGlobalValueVector(Elts) || 3457 ID.ConstantStructElts = std::make_unique<Constant *[]>(Elts.size()); 3458 ID.UIntVal = Elts.size(); 3459 memcpy(ID.ConstantStructElts.get(), Elts.data(), 3460 Elts.size() * sizeof(Elts[ [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-c-test/ |
H A D | echo.cpp | 125 SmallVector<LLVMTypeRef, 8> Elts; local 127 Elts.push_back(Clone(LLVMStructGetTypeAtIndex(Src, i))); 129 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src)); 131 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount, 313 SmallVector<LLVMValueRef, 8> Elts; local 315 Elts.push_back(clone_constant(LLVMGetAggregateElement(Cst, i), M)); 316 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); 324 SmallVector<LLVMValueRef, 8> Elts; local 326 Elts.push_back(clone_constant(LLVMGetOperand(Cst, i), M)); 328 return LLVMConstNamedStruct(Ty, Elts 372 SmallVector<LLVMValueRef, 8> Elts; local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Bitcode/Reader/ |
H A D | MetadataLoader.cpp | 1254 SmallVector<Metadata *, 8> Elts; local 1261 Elts.push_back(getMD(Record[i + 1])); 1271 Elts.push_back(MD); 1273 Elts.push_back(nullptr); 1275 MetadataList.assignValue(MDNode::get(Context, Elts), NextMetadataNo); 1303 SmallVector<Metadata *, 8> Elts; local 1304 Elts.reserve(Record.size()); 1306 Elts.push_back(getMDOrNull(ID)); 1307 MetadataList.assignValue(IsDistinct ? MDNode::getDistinct(Context, Elts) 1308 : MDNode::get(Context, Elts), 2043 auto Elts = MutableArrayRef<uint64_t>(Record).slice(1); local 2143 SmallVector<ValueAsMetadata *, 4> Elts; local [all...] |
H A D | BitcodeReader.cpp | 3082 SmallVector<unsigned, 16> Elts; local 3084 Elts.push_back(Record[i]); 3088 Alloc, CurTy, BitcodeConstant::ConstantStructOpcode, Elts); 3091 BitcodeConstant::ConstantArrayOpcode, Elts); 3094 Alloc, CurTy, BitcodeConstant::ConstantVectorOpcode, Elts); 3105 SmallString<16> Elts(Record.begin(), Record.end()); 3106 V = ConstantDataArray::getString(Context, Elts, 3120 SmallVector<uint8_t, 16> Elts(Record.begin(), Record.end()); 3122 V = ConstantDataVector::get(Context, Elts); 3124 V = ConstantDataArray::get(Context, Elts); 3249 SmallVector<unsigned, 16> Elts; local [all...] |
/openbsd-current/gnu/llvm/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1575 void apply(SetTheory &ST, DagInit *Expr, SetTheory::RecSet &Elts, 1579 Elts.insert(Elts2.begin(), Elts2.begin() + (Elts2.size() / 2)); 1585 void apply(SetTheory &ST, DagInit *Expr, SetTheory::RecSet &Elts, 1589 Elts.insert(Elts2.begin() + (Elts2.size() / 2), Elts2.end()); 1599 void apply(SetTheory &ST, DagInit *Expr, SetTheory::RecSet &Elts, 1614 Elts.insert(Revved.begin(), Revved.end()); 1624 void expand(SetTheory &ST, Record *R, SetTheory::RecSet &Elts) override { 1633 Elts.insert(R->getRecords().getDef("sv" + utostr(I + Addend))); 1646 SetTheory::RecSet Elts; 1653 ST.evaluate(DI->getArg(2), Elts, st [all...] |
/openbsd-current/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 1083 SmallVector<llvm::Constant*, 2> Elts; 1085 Elts.push_back(C); 1096 Elts.push_back(llvm::UndefValue::get(Ty)); 1101 return llvm::ConstantStruct::get(STy, Elts); 1244 SmallVector<llvm::Constant*, 16> Elts; local 1246 Elts.reserve(NumInitableElts + 1); 1248 Elts.reserve(NumElements); 1260 Elts.push_back(C); 1265 return EmitArrayConstant(CGM, Desired, CommonElementType, NumElements, Elts, 2171 SmallVector<llvm::Constant*, 16> Elts; local [all...] |
H A D | CGValue.h | 429 static LValue MakeExtVectorElt(Address vecAddress, llvm::Constant *Elts, argument 436 R.VectorElts = Elts;
|
/openbsd-current/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 1270 SmallVector<Constant*, 16> Elts; local 1273 Elts.push_back(Poison); 1281 Elts.push_back(Elt); 1287 Constant *NewCV = ConstantVector::get(Elts); 1552 SmallVector<int, 16> Elts; local 1555 Elts.push_back(UndefMaskElem); 1557 Elts.push_back(Shuffle->getMaskValue(i)); 1559 Shuffle->setShuffleMask(Elts);
|
/openbsd-current/gnu/llvm/llvm/tools/bugpoint/ |
H A D | ExtractFunction.cpp | 235 Constant *Elts[] = {ConstantInt::get(Int32Ty, TorList[i].second), local 237 ArrayElts.push_back(ConstantStruct::get(STy, Elts));
|
/openbsd-current/gnu/llvm/clang/lib/AST/ |
H A D | DeclObjC.cpp | 45 void ObjCListBase::set(void *const* InList, unsigned Elts, ASTContext &Ctx) { argument 47 if (Elts == 0) return; // Setting to an empty list is a noop. 49 List = new (Ctx) void*[Elts]; 50 NumElts = Elts; 51 memcpy(List, InList, sizeof(void*)*Elts); 54 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts, argument 56 if (Elts == 0) 59 Locations = new (Ctx) SourceLocation[Elts]; 60 memcpy(Locations, Locs, sizeof(SourceLocation) * Elts); 61 set(InList, Elts, Ct [all...] |
H A D | APValue.cpp | 295 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]), 297 APValue::Arr::~Arr() { delete [] Elts; } 300 Elts(new APValue[NumBases+NumFields]), 303 delete [] Elts; 332 setVector(((const Vec *)(const char *)&RHS.Data)->Elts,
|
/openbsd-current/gnu/llvm/llvm/lib/Linker/ |
H A D | IRMover.cpp | 1483 SmallSetVector<Metadata *, 16> Elts; local 1486 Elts.insert(DstValue->op_begin(), DstValue->op_end()); 1487 Elts.insert(SrcValue->op_begin(), SrcValue->op_end()); 1488 for (auto I = DstValue->getNumOperands(); I < Elts.size(); I++) 1489 DstValue->push_back(Elts[I]);
|
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.h | 218 void appendVectorElts(SmallVectorImpl<Register> &Elts, Register Reg);
|
/openbsd-current/gnu/llvm/llvm/include/llvm/AsmParser/ |
H A D | LLParser.h | 543 bool parseGlobalValueVector(SmallVectorImpl<Constant *> &Elts, 554 bool parseMDNodeVector(SmallVectorImpl<Metadata *> &Elts);
|