Home
last modified time | relevance | path

Searched refs:isPacked (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp374 bool isPacked) { in get() argument
376 const AnonStructTypeKeyInfo::KeyTy Key(ETypes, isPacked); in get()
390 ST->setBody(ETypes, isPacked); in get()
445 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() argument
449 if (isPacked) in setBody()
520 StructType *StructType::get(LLVMContext &Context, bool isPacked) { in get() argument
521 return get(Context, std::nullopt, isPacked); in get()
525 StringRef Name, bool isPacked) { in create() argument
527 ST->setBody(Elements, isPacked); in create()
540 bool isPacked) { in create() argument
[all …]
H A DLLVMContextImpl.h96 bool isPacked;
98 KeyTy(const ArrayRef<Type *> &E, bool P) : ETypes(E), isPacked(P) {}
101 : ETypes(ST->elements()), isPacked(ST->isPacked()) {}
104 if (isPacked != that.isPacked)
123 hash_combine_range(Key.ETypes.begin(), Key.ETypes.end()), Key.isPacked);
H A DDataLayout.cpp60 const Align TyAlign = ST->isPacked() ? Align(1) : DL.getABITypeAlign(Ty); in StructLayout()
805 if (cast<StructType>(Ty)->isPacked() && abi_or_pref) in getAlignment()
H A DAsmWriter.cpp668 if (STy->isPacked()) in printStructBody()
683 if (STy->isPacked()) in printStructBody()
1663 if (CS->getType()->isPacked()) in WriteConstantInternal()
1685 if (CS->getType()->isPacked()) in WriteConstantInternal()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeUDT.cpp66 dumpSymbolField(OS, "packed", isPacked(), Indent); in dump()
191 bool NativeTypeUDT::isPacked() const { in isPacked() function in NativeTypeUDT
193 return UnmodifiedType->isPacked(); in isPacked()
H A DNativeTypeEnum.cpp158 dumpSymbolField(OS, "packed", isPacked(), Indent); in dump()
331 bool NativeTypeEnum::isPacked() const { in isPacked() function in NativeTypeEnum
333 return UnmodifiedType->isPacked(); in isPacked()
H A DNativeRawSymbol.cpp631 bool NativeRawSymbol::isPacked() const { in isPacked() function in NativeRawSymbol
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h244 bool isPacked = false);
247 StringRef Name, bool isPacked = false);
258 bool isPacked = false);
261 static StructType *get(LLVMContext &Context, bool isPacked = false);
278 bool isPacked() const { return (getSubclassData() & SCDB_Packed) != 0; } in isPacked() function
316 void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeTypedef.h36 FORWARD_SYMBOL_METHOD(isPacked)
H A DPDBSymbolTypeUDT.h41 FORWARD_SYMBOL_METHOD(isPacked)
H A DPDBSymbolTypeEnum.h43 FORWARD_SYMBOL_METHOD(isPacked)
H A DPDBSymbolTypeBaseClass.h42 FORWARD_SYMBOL_METHOD(isPacked)
H A DIPDBRawSymbol.h226 virtual bool isPacked() const = 0;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeTypeEnum.h55 bool isPacked() const override;
H A DNativeTypeUDT.h56 bool isPacked() const override;
H A DNativeRawSymbol.h204 bool isPacked() const override;
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp186 DSTy->isPacked() != SSTy->isPacked()) in areTypesIsomorphic()
221 DstSTy->setBody(Elements, SrcSTy->isPacked()); in linkDefinedTypeBodies()
230 DTy->setBody(ETypes, STy->isPacked()); in finishType()
324 bool IsPacked = STy->isPacked(); in get()
1685 : ETypes(ST->elements()), IsPacked(ST->isPacked()) {} in KeyTy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp567 if (STyL->isPacked() != STyR->isPacked()) in cmpTypes()
568 return cmpNumbers(STyL->isPacked(), STyR->isPacked()); in cmpTypes()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIARawSymbol.h199 bool isPacked() const override;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp290 assert(ty->isPacked() == Packed); in finishStruct()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp624 LTy->isPacked() != RTy->isPacked()) in equivalentAsOperands()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h477 if (structTy) this->Packed = structTy->isPacked(); in ConstantStructBuilderTemplateBase()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h480 static bool isPacked(const MachineInstr &MI) { in isPacked() function
484 bool isPacked(uint16_t Opcode) const { in isPacked() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp823 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in removeDeadStuffFromFunction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp809 bool isPacked, const FieldDecl *D);
2289 unsigned UnpackedAlign, bool isPacked, const FieldDecl *D) { in CheckFieldPadding() argument
2327 if (isPacked && Offset != UnpackedOffset) { in CheckFieldPadding()

12