HomeSort by: relevance | last modified time | path
    Searched refs:DIType (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGDebugInfo.h 68 llvm::DIType *VTablePtrType = nullptr;
69 llvm::DIType *ClassTy = nullptr;
71 llvm::DIType *SelTy = nullptr;
73 llvm::DIType *SingletonId = nullptr;
75 llvm::DIType *OCLSamplerDITy = nullptr;
76 llvm::DIType *OCLEventDITy = nullptr;
77 llvm::DIType *OCLClkEventDITy = nullptr;
78 llvm::DIType *OCLQueueDITy = nullptr;
79 llvm::DIType *OCLNDRangeDITy = nullptr;
80 llvm::DIType *OCLReserveIDDITy = nullptr
    [all...]
CGDebugInfo.cpp 649 llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) {
750 llvm::DIType *ElemTy =
809 llvm::DIType *ElemTy =
914 llvm::DIType *CGDebugInfo::CreateType(const AutoType *Ty) {
918 llvm::DIType *CGDebugInfo::CreateType(const ExtIntType *Ty) {
929 llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) {
939 llvm::DIType *CGDebugInfo::CreateQualifiedType(QualType Ty,
973 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty,
986 llvm::DIType *CGDebugInfo::CreateType(const PointerType *Ty,
1085 if (llvm::DIType *T = getTypeOrNull(CGM.getContext().getRecordType(RD))
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
DIBuilder.h 212 DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy);
220 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
232 createMemberPointerType(DIType *PointeeTy, DIType *Class,
238 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
251 DIDerivedType *createTypedef(DIType *Ty, StringRef Name, DIFile *File,
256 DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy);
266 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy
    [all...]
DebugInfo.h 113 void processType(DIType *DT);
118 bool addType(DIType *DT);
126 using type_iterator = SmallVectorImpl<DIType *>::const_iterator;
159 SmallVector<DIType *, 8> TYs;
DebugInfoMetadata.h 83 DIType *operator[](unsigned I) const {
84 return cast_or_null<DIType>(N->getOperand(I));
92 using value_type = DIType *;
95 using reference = DIType *;
100 DIType *operator*() const { return cast_or_null<DIType>(*I); }
662 class DIType : public DIScope {
670 DIType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
676 ~DIType() = default;
697 return TempDIType(cast<DIType>(MDNode::clone().release()))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
CodeViewDebug.h 151 std::vector<std::tuple<const MCSymbol *, const MCSymbol *, const DIType *>>
246 /// {DIType*, DIType*} and {DISubprogram*, DIType*}.
250 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex>
270 std::vector<std::pair<std::string, const DIType *>> LocalUDTs;
271 std::vector<std::pair<std::string, const DIType *>> GlobalUDTs;
313 const std::vector<std::pair<std::string, const DIType *>> &UDTs);
376 /// Translates the DIType to codeview if necessary and returns a type index
378 codeview::TypeIndex getTypeIndex(const DIType *Ty
    [all...]
DwarfUnit.h 121 virtual void addGlobalType(const DIType *Ty, const DIE &Die,
207 void addSourceLine(DIE &Die, const DIType *Ty);
211 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty);
212 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty);
214 void addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty);
233 void addType(DIE &Entity, const DIType *Ty,
244 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty);
344 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
377 void addGlobalType(const DIType *Ty, const DIE &Die,
DebugHandlerBase.cpp 148 uint64_t DebugHandlerBase::getBaseTypeSize(const DIType *Ty) {
161 DIType *BaseType = DDTy->getBaseType();
176 bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) {
DwarfUnit.cpp 199 return (isa<DIType>(D) || isa<DISubprogram>(D)) && !DD->generateTypeUnits();
446 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) {
464 const DIType *Ty) {
468 void DwarfUnit::addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty) {
479 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) {
534 addType(TT, cast<DIType>(Ty));
541 if (auto *T = dyn_cast<DIType>(Context))
569 const DIType *Ty) {
605 auto *Ty = cast<DIType>(TyNode);
629 const DIType *Ty, const DIE &TyDIE)
    [all...]
CodeViewDebug.cpp 347 assert(!isa<DIType>(Scope) && "shouldn't make a namespace scope for a type");
422 const DIType *ReturnTy = nullptr;
472 const DIType *ClassTy) {
1140 const DIType *DITy = std::get<2>(HeapAllocSite);
1478 static bool shouldEmitUdt(const DIType *T) {
1509 void CodeViewDebug::addToUDTs(const DIType *Ty) {
1537 TypeIndex CodeViewDebug::lowerType(const DIType *Ty, const DIType *ClassTy) {
1603 const DIType *ElementType = Ty->getBaseType();
1855 const DIType *BaseTy = Ty
    [all...]
DwarfCompileUnit.h 318 void addGlobalType(const DIType *Ty, const DIE &Die,
322 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
DwarfCompileUnit.cpp 144 const DIType *GTy = GV->getType();
1255 else if (auto *T = dyn_cast<DIType>(Entity))
1386 void DwarfCompileUnit::addGlobalType(const DIType *Ty, const DIE &Die,
1394 void DwarfCompileUnit::addGlobalTypeUnitType(const DIType *Ty,
  /src/external/apache2/llvm/dist/llvm/lib/IR/
DIBuilder.cpp 276 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) {
282 DIType *PointeeTy,
294 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy,
295 DIType *Base,
305 unsigned Tag, DIType *RTy,
315 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name,
324 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) {
331 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy
    [all...]
DebugInfo.cpp 175 if (auto *T = dyn_cast<DIType>(RT))
181 if (auto *T = dyn_cast<DIType>(Entity))
208 void DebugInfoFinder::processType(DIType *DT) {
213 for (DIType *Ref : ST->getTypeArray())
220 if (auto *T = dyn_cast<DIType>(D))
235 if (auto *Ty = dyn_cast<DIType>(Scope)) {
297 bool DebugInfoFinder::addType(DIType *DT) {
304 TYs.push_back(const_cast<DIType *>(DT));
434 // Strip heapallocsite attachments, they point into the DIType system.
519 DIType *ContainingType
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
DebugHandlerBase.h 136 static uint64_t getBaseTypeSize(const DIType *Ty);
139 static bool isUnsignedDIType(const DIType *Ty);
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFAbstractMemberAccess.cpp 238 static DIType * stripQualifiers(DIType *Ty, bool skipTypedef = true) {
247 static const DIType * stripQualifiers(const DIType *Ty) {
428 const DIType *PType = stripQualifiers(cast<DIType>(ParentType));
429 const DIType *CType = stripQualifiers(cast<DIType>(ChildType));
462 DIType *Ty;
466 Ty = dyn_cast<DIType>(PTy->getElements()[ParentAI])
    [all...]
BPFPreserveDIType.cpp 87 DIType *Ty = cast<DIType>(MD);
BTFDebug.h 29 class DIType;
260 std::unordered_map<const DIType *, uint32_t> DIToIdMap;
275 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty);
282 void visitTypeEntry(const DIType *Ty);
283 void visitTypeEntry(const DIType *Ty, uint32_t &TypeId, bool CheckPointer,
299 void visitMapDefType(const DIType *Ty, uint32_t &TypeId);
321 unsigned populateType(const DIType *Ty);
358 /// Get the type id for a particular DIType.
359 uint32_t getTypeId(const DIType *Ty) {
362 "DIType not added in the BDIToIdMap")
    [all...]
BTFDebug.cpp 80 const DIType *ResolvedType = DTy->getBaseType();
411 const DIType *Ty) {
509 const DIType *ElemType = CTy->getBaseType();
591 const DIType *Base = DTy->getBaseType();
630 void BTFDebug::visitTypeEntry(const DIType *Ty, uint32_t &TypeId,
679 llvm_unreachable("Unknown DIType");
682 void BTFDebug::visitTypeEntry(const DIType *Ty) {
687 void BTFDebug::visitMapDefType(const DIType *Ty, uint32_t &TypeId) {
694 const DIType *OrigTy = Ty;
994 unsigned BTFDebug::populateType(const DIType *Ty)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/opt/
BreakpointPrinter.cpp 36 } else if (auto *TY = dyn_cast<DIType>(Context)) {
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/debuginfo/
llvm_debuginfo.mli 475 (** [dibuild_create_object_pointer_type dib ty] Create a uniqued DIType* clone
585 (** [dibuild_create_artificial_type dib ty] Create a uniqued DIType* clone with
590 (** [di_type_get_name m] Get the name of DIType [m]. *)
593 (** [di_type_get_size_in_bits m] Get size in bits of DIType [m]. *)
596 (** [di_type_get_offset_in_bits m] Get offset in bits of DIType [m]. *)
599 (** [di_type_get_align_in_bits m] Get alignment in bits of DIType [m]. *)
602 (** [di_type_get_line m] Get source line where DIType [m] is declared. *)
605 (** [di_type_get_flags m] Get the flags associated with DIType [m]. *)
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ModuleDebugInfoPrinter.cpp 107 for (const DIType *T : Finder.types()) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroFrame.cpp 831 static DIType *solveDIType(DIBuilder &Builder, Type *Ty, DataLayout &Layout,
833 DenseMap<Type *, DIType *> &DITypeCache) {
834 if (DIType *DT = DITypeCache.lookup(Ty))
839 DIType *RetType = nullptr;
869 DIType *DITy = solveDIType(Builder, StructTy->getElementType(I), Layout,
906 /// build the DIType by Type. We did this in solveDIType. We only handle
963 DenseMap<unsigned, DIType *> TyCache;
1008 DenseMap<Type *, DIType *> DITypeCache;
1022 DIType *DITy = nullptr;
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
toy.cpp 94 DIType *DblTy;
98 DIType *getDoubleTy();
835 DIType *DebugInfo::getDoubleTy() {
857 DIType *DblTy = KSDbgInfo.getDoubleTy();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
Debugify.cpp 89 // Get a DIType which corresponds to Ty.
90 DenseMap<uint64_t, DIType *> TypeCache;
91 auto getCachedDIType = [&](Type *Ty) -> DIType * {
93 DIType *&DTy = TypeCache[Size];

Completed in 51 milliseconds

1 2