Home
last modified time | relevance | path

Searched refs:PointerOptions (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeTypePointer.cpp134 return (Record->getOptions() & PointerOptions::Const) != PointerOptions::None; in isConstType()
140 return (Record->getOptions() & PointerOptions::Restrict) != in isRestrictedType()
141 PointerOptions::None; in isRestrictedType()
147 return (Record->getOptions() & PointerOptions::Volatile) != in isVolatileType()
148 PointerOptions::None; in isVolatileType()
154 return (Record->getOptions() & PointerOptions::Unaligned) != in isUnalignedType()
155 PointerOptions::None; in isUnalignedType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeTypePointer.cpp134 return (Record->getOptions() & PointerOptions::Const) != PointerOptions::None; in isConstType()
140 return (Record->getOptions() & PointerOptions::Restrict) != in isRestrictedType()
141 PointerOptions::None; in isRestrictedType()
147 return (Record->getOptions() & PointerOptions::Volatile) != in isVolatileType()
148 PointerOptions::None; in isVolatileType()
154 return (Record->getOptions() & PointerOptions::Unaligned) != in isUnalignedType()
155 PointerOptions::None; in isUnalignedType()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h294 PointerOptions PO, uint8_t Size) in PointerRecord()
299 PointerOptions PO, uint8_t Size, const MemberPointerInfo &MPI) in PointerRecord()
315 PointerOptions getOptions() const { in getOptions()
316 return static_cast<PointerOptions>(Attrs & PointerOptionMask); in getOptions()
330 bool isFlat() const { return !!(Attrs & uint32_t(PointerOptions::Flat32)); } in isFlat()
331 bool isConst() const { return !!(Attrs & uint32_t(PointerOptions::Const)); } in isConst()
334 return !!(Attrs & uint32_t(PointerOptions::Volatile)); in isVolatile()
338 return !!(Attrs & uint32_t(PointerOptions::Unaligned)); in isUnaligned()
342 return !!(Attrs & uint32_t(PointerOptions::Restrict)); in isRestrict()
346 return !!(Attrs & uint32_t(PointerOptions::LValueRefThisPointer)); in isLValueReferenceThisPtr()
[all …]
DCodeView.h357 enum class PointerOptions : uint32_t { enum
368 CV_DEFINE_ENUM_CLASS_FLAGS_OPERATORS(PointerOptions)
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h288 PointerOptions PO, uint8_t Size) in PointerRecord()
293 PointerOptions PO, uint8_t Size, const MemberPointerInfo &MPI) in PointerRecord()
309 PointerOptions getOptions() const { in getOptions()
310 return static_cast<PointerOptions>(Attrs & PointerOptionMask); in getOptions()
324 bool isFlat() const { return !!(Attrs & uint32_t(PointerOptions::Flat32)); } in isFlat()
325 bool isConst() const { return !!(Attrs & uint32_t(PointerOptions::Const)); } in isConst()
328 return !!(Attrs & uint32_t(PointerOptions::Volatile)); in isVolatile()
332 return !!(Attrs & uint32_t(PointerOptions::Unaligned)); in isUnaligned()
336 return !!(Attrs & uint32_t(PointerOptions::Restrict)); in isRestrict()
340 return !!(Attrs & uint32_t(PointerOptions::LValueRefThisPointer)); in isLValueReferenceThisPtr()
[all …]
DCodeView.h357 enum class PointerOptions : uint32_t { enum
368 CV_DEFINE_ENUM_CLASS_FLAGS_OPERATORS(PointerOptions)
/external/llvm-project/llvm/tools/llvm-pdbutil/
DMinimalTypeDumper.cpp77 static std::string pointerOptions(PointerOptions Options) { in pointerOptions()
79 PUSH_FLAG(PointerOptions, Flat32, Options, "flat32"); in pointerOptions()
80 PUSH_FLAG(PointerOptions, Volatile, Options, "volatile"); in pointerOptions()
81 PUSH_FLAG(PointerOptions, Const, Options, "const"); in pointerOptions()
82 PUSH_FLAG(PointerOptions, Unaligned, Options, "unaligned"); in pointerOptions()
83 PUSH_FLAG(PointerOptions, Restrict, Options, "restrict"); in pointerOptions()
84 PUSH_FLAG(PointerOptions, WinRTSmartPointer, Options, "winrt"); in pointerOptions()
202 PointerOptions Opts = Record.getOptions(); in formatPointerAttrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h403 codeview::PointerOptions PO = codeview::PointerOptions::None);
406 codeview::PointerOptions PO = codeview::PointerOptions::None);
DCodeViewDebug.cpp1697 PointerOptions PO) { in lowerTypePointer()
1702 if (PointeeTI.isSimple() && PO == PointerOptions::None && in lowerTypePointer()
1728 PO |= PointerOptions::Const; in lowerTypePointer()
1768 PointerOptions PO) { in lowerTypeMemberPointer()
1802 PointerOptions PO = PointerOptions::None; in lowerTypeModifier()
1810 PO |= PointerOptions::Const; in lowerTypeModifier()
1814 PO |= PointerOptions::Volatile; in lowerTypeModifier()
1819 PO |= PointerOptions::Restrict; in lowerTypeModifier()
2450 PointerOptions PO = PointerOptions::None; in getVBPTypeIndex()
2481 PointerOptions Options = PointerOptions::None; in getTypeIndexForThisPtr()
[all …]
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h404 codeview::PointerOptions PO = codeview::PointerOptions::None);
407 codeview::PointerOptions PO = codeview::PointerOptions::None);
DCodeViewDebug.cpp1717 PointerOptions PO) { in lowerTypePointer()
1722 if (PointeeTI.isSimple() && PO == PointerOptions::None && in lowerTypePointer()
1748 PO |= PointerOptions::Const; in lowerTypePointer()
1788 PointerOptions PO) { in lowerTypeMemberPointer()
1823 PointerOptions PO = PointerOptions::None; in lowerTypeModifier()
1831 PO |= PointerOptions::Const; in lowerTypeModifier()
1835 PO |= PointerOptions::Volatile; in lowerTypeModifier()
1840 PO |= PointerOptions::Restrict; in lowerTypeModifier()
2480 PointerOptions PO = PointerOptions::None; in getVBPTypeIndex()
2511 PointerOptions Options = PointerOptions::None; in getTypeIndexForThisPtr()
[all …]
/external/llvm-project/llvm/lib/ObjectYAML/
DCodeViewYAMLTypes.cpp65 LLVM_YAML_DECLARE_BITSET_TRAITS(PointerOptions)
327 void ScalarBitSetTraits<PointerOptions>::bitset(IO &IO, in bitset()
328 PointerOptions &Options) { in bitset()
329 IO.bitSetCase(Options, "None", PointerOptions::None); in bitset()
330 IO.bitSetCase(Options, "Flat32", PointerOptions::Flat32); in bitset()
331 IO.bitSetCase(Options, "Volatile", PointerOptions::Volatile); in bitset()
332 IO.bitSetCase(Options, "Const", PointerOptions::Const); in bitset()
333 IO.bitSetCase(Options, "Unaligned", PointerOptions::Unaligned); in bitset()
334 IO.bitSetCase(Options, "Restrict", PointerOptions::Restrict); in bitset()
336 PointerOptions::WinRTSmartPointer); in bitset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypes.cpp65 LLVM_YAML_DECLARE_BITSET_TRAITS(PointerOptions)
327 void ScalarBitSetTraits<PointerOptions>::bitset(IO &IO, in bitset()
328 PointerOptions &Options) { in bitset()
329 IO.bitSetCase(Options, "None", PointerOptions::None); in bitset()
330 IO.bitSetCase(Options, "Flat32", PointerOptions::Flat32); in bitset()
331 IO.bitSetCase(Options, "Volatile", PointerOptions::Volatile); in bitset()
332 IO.bitSetCase(Options, "Const", PointerOptions::Const); in bitset()
333 IO.bitSetCase(Options, "Unaligned", PointerOptions::Unaligned); in bitset()
334 IO.bitSetCase(Options, "Restrict", PointerOptions::Restrict); in bitset()
336 PointerOptions::WinRTSmartPointer); in bitset()
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h301 PointerOptions Options, uint8_t Size) in PointerRecord()
306 PointerOptions Options, uint8_t Size, in PointerRecord()
322 PointerOptions getOptions() const { return Options; } in getOptions()
331 return !!(uint32_t(Options) & uint32_t(PointerOptions::Flat32)); in isFlat()
334 return !!(uint32_t(Options) & uint32_t(PointerOptions::Const)); in isConst()
337 return !!(uint32_t(Options) & uint32_t(PointerOptions::Volatile)); in isVolatile()
340 return !!(uint32_t(Options) & uint32_t(PointerOptions::Unaligned)); in isUnaligned()
377 PointerOptions Options;
DCodeView.h336 enum class PointerOptions : uint32_t { enum
345 CV_DEFINE_ENUM_CLASS_FLAGS_OPERATORS(PointerOptions)
/external/llvm-project/llvm/unittests/DebugInfo/CodeView/
DTypeHashingTest.cpp21 PR.setAttrs(PointerKind::Near32, PointerMode::Pointer, PointerOptions::None, in createPointerRecord()
DTypeIndexDiscoveryTest.cpp232 PointerMode::Pointer, PointerOptions::Const, 3);
235 PointerOptions::Const, 3,
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbAstBuilder.cpp740 if ((pointer.getOptions() & PointerOptions::Const) != PointerOptions::None) in CreatePointerType()
743 if ((pointer.getOptions() & PointerOptions::Volatile) != PointerOptions::None) in CreatePointerType()
746 if ((pointer.getOptions() & PointerOptions::Restrict) != PointerOptions::None) in CreatePointerType()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1174 PointerOptions PO = PointerOptions::None; in lowerTypePointer()
1221 PointerOptions PO = PointerOptions::None; // FIXME in lowerTypeMemberPointer()
1735 PointerOptions PO = PointerOptions::None; in getVBPTypeIndex()
/external/llvm/lib/DebugInfo/CodeView/
DTypeRecord.cpp93 PointerOptions Options = static_cast<PointerOptions>(Opts); in deserialize()