/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 61 static void getFieldsFromClassHierarchy(QualType Type, FieldSet &Fields) { in getFieldsFromClassHierarchy() argument 67 Fields.insert(Field); in getFieldsFromClassHierarchy() 70 getFieldsFromClassHierarchy(Base.getType(), Fields); in getFieldsFromClassHierarchy() 75 FieldSet Fields; in getObjectFields() local 76 getFieldsFromClassHierarchy(Type, Fields); in getObjectFields() 77 return Fields; in getObjectFields() 80 bool containsSameFields(const FieldSet &Fields, in containsSameFields() argument 82 if (Fields.size() != FieldLocs.size()) in containsSameFields() 85 if (!Fields.contains(cast_or_null<FieldDecl>(Field))) in containsSameFields() 100 std::vector<const FieldDecl *> Fields; in getFieldsForInitListExpr() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | ArchiveYAML.h | 37 Fields["Name"] = {"", 16}; in Child() 38 Fields["LastModified"] = {"0", 12}; in Child() 39 Fields["UID"] = {"0", 6}; in Child() 40 Fields["GID"] = {"0", 6}; in Child() 41 Fields["AccessMode"] = {"0", 8}; in Child() 42 Fields["Size"] = {"0", 10}; in Child() 43 Fields["Terminator"] = {"`\n", 2}; in Child() 46 MapVector<StringRef, Field> Fields; member
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | OptimizedStructLayout.cpp | 21 static void checkValidLayout(ArrayRef<Field> Fields, uint64_t Size, in checkValidLayout() argument 25 for (auto &Field : Fields) { in checkValidLayout() 43 llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { in performOptimizedStructLayout() argument 49 for (auto &Field : Fields) { in performOptimizedStructLayout() 70 auto FirstFlexible = Fields.begin(), E = Fields.end(); in performOptimizedStructLayout() 79 if (!Fields.empty()) in performOptimizedStructLayout() 80 Size = Fields.back().getEndOffset(); in performOptimizedStructLayout() 83 checkValidLayout(Fields, Size, MaxAlign); in performOptimizedStructLayout() 136 for (auto I = Fields.begin(); I != FirstFlexible; ++I) { in performOptimizedStructLayout() 165 checkValidLayout(Fields, LastEnd, MaxAlign); in performOptimizedStructLayout() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | MarkupFilter.cpp | 106 reportLocation(Node.Fields[0].begin()); in tryMMap() 157 reportLocation(Node.Fields[0].begin()); in tryModule() 231 OS << llvm::demangle(Node.Fields.front().str()); in trySymbol() 243 std::optional<uint64_t> Addr = parseAddr(Node.Fields[0]); in tryPC() 250 if (Node.Fields.size() == 2) { in tryPC() 251 std::optional<PCType> ParsedType = parsePCType(Node.Fields[1]); in tryPC() 261 reportLocation(Node.Fields[0].begin()); in tryPC() 296 std::optional<uint64_t> FrameNumber = parseFrameNumber(Node.Fields[0]); in tryBackTrace() 300 std::optional<uint64_t> Addr = parseAddr(Node.Fields[1]); in tryBackTrace() 306 if (Node.Fields in tryBackTrace() [all...] |
H A D | Markup.cpp | 137 FieldsContent.split(Element.Fields, ":"); in parseElement() 139 Element.Fields.push_back(FieldsContent); in parseElement()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterFlagsDetector_arm64.h | 55 using Fields = std::vector<RegisterFlags::Field>; 56 using DetectorFn = std::function<Fields(uint64_t, uint64_t)>; 58 static Fields DetectCPSRFields(uint64_t hwcap, uint64_t hwcap2); 59 static Fields DetectFPSRFields(uint64_t hwcap, uint64_t hwcap2); 60 static Fields DetectFPCRFields(uint64_t hwcap, uint64_t hwcap2); 61 static Fields DetectMTECtrlFields(uint64_t hwcap, uint64_t hwcap2); 62 static Fields DetectSVCRFields(uint64_t hwcap, uint64_t hwcap2);
|
H A D | RegisterFlagsDetector_arm64.cpp | 29 Arm64RegisterFlagsDetector::Fields 45 Arm64RegisterFlagsDetector::Fields 65 Arm64RegisterFlagsDetector::Fields 104 Arm64RegisterFlagsDetector::Fields 124 Arm64RegisterFlagsDetector::Fields
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SearchableTableEmitter.cpp | 69 SmallVector<GenericField, 1> Fields; member 79 SmallVector<GenericField, 2> Fields; member 86 for (const auto &Field : Fields) { in getFieldByName() 218 assert(Index.Fields.size() == 1); in getNumericKey() 222 if (Index.Fields[0].IsInstruction) { in getNumericKey() 223 Record *TheDef = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey() 226 if (Index.Fields[0].Enum) { in getNumericKey() 227 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey() 228 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second; in getNumericKey() 231 return getInt(Rec, Index.Fields[0].Name); in getNumericKey() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CXXFieldCollector.h | 29 SmallVector<FieldDecl*, 32> Fields; variable 56 Fields.push_back(D); in Add() 68 FieldDecl **getCurFields() { return &*(Fields.end() - getCurNumFields()); } in getCurFields() 72 Fields.resize(Fields.size() - getCurNumFields()); in FinishClass()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
H A D | BitcodeConvenience.h | 186 template <typename ElementTy, typename... Fields> class BCRecordCoding { 195 BCRecordCoding<Fields...>::emit(Stream, buffer, code, in emit() 204 BCRecordCoding<Fields...>::read(buffer.slice(1), in read() 211 BCRecordCoding<Fields...>::read(buffer.slice(1), in read() 357 template <typename IDField, typename... Fields> class BCGenericRecordLayout { 385 detail::emitOps<IDField, Fields...>(*Abbrev); 399 static_assert(sizeof...(data) <= sizeof...(Fields) || 400 detail::has_array<Fields...>::value, 402 static_assert(sizeof...(data) >= sizeof...(Fields), 405 detail::BCRecordCoding<IDField, Fields...>::emit( [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | MDBuilder.cpp | 240 MDNode *MDBuilder::createTBAAStructNode(ArrayRef<TBAAStructField> Fields) { in createTBAAStructNode() argument 241 SmallVector<Metadata *, 4> Vals(Fields.size() * 3); in createTBAAStructNode() 243 for (unsigned i = 0, e = Fields.size(); i != e; ++i) { in createTBAAStructNode() 244 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode() 245 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode() 246 Vals[i * 3 + 2] = Fields[i].Type; in createTBAAStructNode() 254 StringRef Name, ArrayRef<std::pair<MDNode *, uint64_t>> Fields) { in createTBAAStructTypeNode() argument 255 SmallVector<Metadata *, 4> Ops(Fields.size() * 2 + 1); in createTBAAStructTypeNode() 258 for (unsigned i = 0, e = Fields.size(); i != e; ++i) { in createTBAAStructTypeNode() 259 Ops[i * 2 + 1] = Fields[i].first; in createTBAAStructTypeNode() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Record.h | 78 return llvm::make_range(Fields.begin(), Fields.end()); in fields() 81 unsigned getNumFields() const { return Fields.size(); } in getNumFields() 82 const Field *getField(unsigned I) const { return &Fields[I]; } in getField() 109 Record(const RecordDecl *, BaseList &&Bases, FieldList &&Fields, 121 FieldList Fields; variable
|
H A D | Record.cpp | 18 : Decl(Decl), Bases(std::move(SrcBases)), Fields(std::move(SrcFields)), in Record() 25 for (Field &F : Fields) in Record()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 333 Fields, in CollectFields() 342 Fields.push_back( in CollectFields() 385 Fields.push_back( in CollectFields() 391 if (!CollectFields(Offset, FieldQTy, Fields, in CollectFields() 403 Fields.push_back(llvm::MDBuilder::TBAAStructField(Offset, Size, TBAATag)); in CollectFields() 417 SmallVector<llvm::MDBuilder::TBAAStructField, 4> Fields; in getTBAAStructInfo() local 418 if (CollectFields(0, QTy, Fields, TypeHasMayAlias(QTy))) in getTBAAStructInfo() 419 return MDHelper.createTBAAStructNode(Fields); in getTBAAStructInfo() 430 SmallVector<TBAAStructField, 4> Fields; in getBaseTypeInfoHelper() local 452 Fields.push_back( in getBaseTypeInfoHelper() [all …]
|
H A D | CGObjCGNU.cpp | 245 void PushPropertyAttributes(ConstantStructBuilder &Fields, in PushPropertyAttributes() argument 257 Fields.addInt(Int8Ty, attrs & 0xff); in PushPropertyAttributes() 267 Fields.addInt(Int8Ty, attrs & 0xff); in PushPropertyAttributes() 269 Fields.addInt(Int8Ty, 0); in PushPropertyAttributes() 270 Fields.addInt(Int8Ty, 0); in PushPropertyAttributes() 275 virtual ConstantArrayBuilder PushPropertyListHeader(ConstantStructBuilder &Fields, in PushPropertyListHeader() argument 278 Fields.addInt(IntTy, count); in PushPropertyListHeader() 282 Fields.addInt(IntTy, td.getTypeSizeInBits(PropertyMetadataTy) / in PushPropertyListHeader() 286 Fields.add(NULLPtr); in PushPropertyListHeader() 288 return Fields.beginArray(PropertyMetadataTy); in PushPropertyListHeader() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 251 SmallVector<FieldInfo, 20> Fields; in calculateOptimalPad() local 265 std::back_inserter(Fields), GatherSizesAndAlignments); in calculateOptimalPad() 266 llvm::sort(Fields); in calculateOptimalPad() 274 while (!Fields.empty()) { in calculateOptimalPad() 288 auto Iter = llvm::upper_bound(Fields, InsertPoint); in calculateOptimalPad() 289 if (Iter != Fields.begin()) { in calculateOptimalPad() 294 Fields.erase(Iter); in calculateOptimalPad() 299 CharUnits NextOffset = NewOffset.alignTo(Fields[0].Align); in calculateOptimalPad()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
H A D | Markup.h | 42 SmallVector<StringRef> Fields; member 45 return Text == Other.Text && Tag == Other.Tag && Fields == Other.Fields;
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaARM.cpp | 218 SmallVector<StringRef, 6> Fields; in BuiltinARMSpecialReg() local 219 Reg.split(Fields, ":"); in BuiltinARMSpecialReg() 221 if (Fields.size() != ExpectedFieldNum && !(AllowName && Fields.size() == 1)) in BuiltinARMSpecialReg() 229 if (Fields.size() > 1) { in BuiltinARMSpecialReg() 230 bool FiveFields = Fields.size() == 5; in BuiltinARMSpecialReg() 234 ValidString &= Fields[0].starts_with_insensitive("cp") || in BuiltinARMSpecialReg() 235 Fields[0].starts_with_insensitive("p"); in BuiltinARMSpecialReg() 237 Fields[0] = Fields[0].drop_front( in BuiltinARMSpecialReg() 238 Fields[0].starts_with_insensitive("cp") ? 2 : 1); in BuiltinARMSpecialReg() 240 ValidString &= Fields[2].starts_with_insensitive("c"); in BuiltinARMSpecialReg() [all …]
|
H A D | HLSLExternalSemaSource.cpp | 36 llvm::StringMap<FieldDecl *> Fields; member 100 Fields[Name] = Field; in addMemberVariable() 183 Expr *Handle = MemberExpr::CreateImplicit(AST, This, false, Fields["h"], in addDefaultHandleConstructor() 184 Fields["h"]->getType(), VK_LValue, in addDefaultHandleConstructor() 220 assert(Fields.count("h") > 0 && in addArraySubscriptOperator() 223 FieldDecl *Handle = Fields["h"]; in addArraySubscriptOperator()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | ASTOps.h | 48 bool containsSameFields(const FieldSet &Fields, 73 RecordInitListHelper(QualType Ty, std::vector<const FieldDecl *> Fields, 138 FieldSet Fields; member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MDBuilder.h | 209 MDNode *createTBAAStructNode(ArrayRef<TBAAStructField> Fields); 215 ArrayRef<std::pair<MDNode *, uint64_t>> Fields); 230 ArrayRef<TBAAStructField> Fields =
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ArchiveYAML.cpp | 39 for (auto &P : E.Fields) in mapping() 48 for (auto &P : C.Fields) in validate()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Randstruct.cpp | 41 SmallVector<FieldDecl *, 64> Fields; member in __anon49e3dfbb0111::Bucket 47 SmallVector<FieldDecl *, 64> &fields() { return Fields; } in fields() 58 Fields.push_back(Field); in addField()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 3819 Field Fields[5] = {0, 10 + Bias, 19 + 2 * Bias, 42 + 2 * Bias, 53 + 2 * Bias}; in printRelRelaReloc() local 3822 Fields[0].Str = to_string(format_hex_no_prefix(R.Offset, Width)); in printRelRelaReloc() 3823 Fields[1].Str = to_string(format_hex_no_prefix(R.Info, Width)); in printRelRelaReloc() 3827 Fields[2].Str = RelocName.c_str(); in printRelRelaReloc() 3830 Fields[3].Str = in printRelRelaReloc() 3833 Fields[4].Str = "<null>"; in printRelRelaReloc() 3835 Fields[4].Str = std::string(RelSym.Name); in printRelRelaReloc() 3837 for (const Field &F : Fields) in printRelRelaReloc() 3843 if (!Fields[4].Str.empty()) { in printRelRelaReloc() 4112 Field Fields[11] = { in printSectionHeaders() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | InstCombineTables.td | 6 let Fields = ["Intr"];
|