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

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
Bitfields.h 10 /// This file implements methods to test, set and extract typed bits from packed
18 /// packed together but are not required to. This is problematic when storage is
117 /// type so it can be packed and unpacked into a `bits` sized integer,
169 /// `LastBit` of `Packed` leaving the rest unchanged.
170 static void update(StorageType &Packed, IntegerType UserValue) {
172 Packed &= ~Mask;
173 Packed |= StorageValue << Bitfield::Shift;
176 /// Interprets bits between `FirstBit` and `LastBit` of `Packed` as
178 static IntegerType extract(StorageType Packed) {
179 const StorageType StorageValue = (Packed & Mask) >> Bitfield::Shift
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGRecordLayoutBuilder.cpp 95 CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, bool Packed);
200 /// Determines if we need a packed llvm struct.
223 bool Packed : 1;
231 bool Packed)
236 IsZeroInitializableAsBase(true), Packed(Packed) {}
273 // 5) Insert padding everywhere it is needed. This phase requires 'Packed' to
362 // case of packed bitfields on Itanium) then just use an I8 array.
367 // Set packed if we need it.
369 Packed = true
    [all...]
ConstantInitBuilder.cpp 211 if (!Packed)
251 if (!Packed)
287 ty = llvm::StructType::get(Builder.CGM.getLLVMContext(), {}, Packed);
291 assert(ty->isPacked() == Packed);
294 constant = llvm::ConstantStruct::getAnon(elts, Packed);
CGExprConstant.cpp 93 /// non-packed LLVM struct will give the correct layout.
448 bool Packed = false;
453 // The natural layout would be the wrong size; force use of a packed layout.
455 Packed = true;
465 // as a non-packed struct and do so opportunistically if possible.
476 Packed = true;
482 // If we're using the packed layout, pad it out to the desired size if
484 if (Packed) {
493 CGM.getLLVMContext(), Packed ? PackedElems : UnpackedElems, Packed);
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_stack_store.h 44 // packed once. As soon trace from that block was requested, it will unpack
97 Packed,
sanitizer_stack_store.cpp 261 case State::Packed:
308 case State::Packed:
318 u8 *packed =
320 PackedHeader *header = reinterpret_cast<PackedHeader *>(packed);
321 u8 *alloc_end = packed + kBlockSizeBytes;
339 header->size = packed_end - packed;
341 VPrintf(1, "Packed block of %zu KiB to %zu KiB\n", kBlockSizeBytes >> 10,
347 store->Unmap(packed, kBlockSizeBytes);
353 store->Unmap(packed + packed_size_aligned,
355 MprotectReadOnly(reinterpret_cast<uptr>(packed), packed_size_aligned)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
ConstantInitBuilder.h 105 bool Packed = false;
158 Finished(other.Finished), Frozen(other.Frozen), Packed(other.Packed),
474 if (structTy) this->Packed = structTy->isPacked();
478 void setPacked(bool packed) {
479 this->Packed = packed;
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Constants.h 461 static Constant *getAnon(ArrayRef<Constant *> V, bool Packed = false) {
462 return get(getTypeForElements(V, Packed), V);
465 bool Packed = false) {
466 return get(getTypeForElements(Ctx, V, Packed), V);
472 bool Packed = false);
476 bool Packed = false);
564 /// as densely packed data, instead of as Value*'s.
675 /// stores all of the elements of the constant as densely packed data, instead
749 /// stores all of the elements of the constant as densely packed data, instead
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
NativeTypeUDT.cpp 65 dumpSymbolField(OS, "packed", isPacked(), Indent);
194 return (Tag->Options & ClassOptions::Packed) != ClassOptions::None;
NativeTypeEnum.cpp 155 dumpSymbolField(OS, "packed", isPacked(), Indent);
330 return bool(Record->getOptions() & codeview::ClassOptions::Packed);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
CodeView.h 203 Packed = 0x0001,
  /src/external/apache2/llvm/dist/clang/lib/AST/
RecordLayoutBuilder.cpp 595 /// The alignment if attribute packed is not used.
611 /// Packed - Whether the record is packed or not.
612 unsigned Packed : 1;
659 /// the flag of field offset changing due to packed attribute.
697 InferAlignment(false), Packed(false), IsUnion(false),
1010 CharUnits BaseAlign = Packed ? CharUnits::One() : UnpackedBaseAlign;
1222 // Clang <= 6 incorrectly applied the 'packed' attribute to base classes.
1224 return (Packed && ((Context.getLangOpts().getClangABICompat() <=
1293 // computed. Assume that the structure is packed
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
Core.h 1294 * whether these can be packed together.
1299 unsigned ElementCount, LLVMBool Packed);
1307 LLVMBool Packed);
1329 unsigned ElementCount, LLVMBool Packed);
1358 * Determine whether a structure is packed.
2059 unsigned Count, LLVMBool Packed);
2070 LLVMBool Packed);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Core.cpp 704 unsigned ElementCount, LLVMBool Packed) {
706 return wrap(StructType::get(*unwrap(C), Tys, Packed != 0));
710 unsigned ElementCount, LLVMBool Packed) {
712 ElementCount, Packed);
729 unsigned ElementCount, LLVMBool Packed) {
731 unwrap<StructType>(StructTy)->setBody(Tys, Packed != 0);
1454 unsigned Count, LLVMBool Packed) {
1457 Packed != 0));
1461 LLVMBool Packed) {
1463 Packed);
    [all...]
Constants.cpp 1302 bool Packed) {
1308 return StructType::get(Context, EltTypes, Packed);
1313 bool Packed) {
1316 return getTypeForElements(V[0]->getContext(), V, Packed);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
EnumTables.cpp 312 CV_ENUM_CLASS_ENT(ClassOptions, Packed),
TypeDumpVisitor.cpp 32 ENUM_ENTRY(ClassOptions, Packed),
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroFrame.cpp 715 // We need to produce a packed struct type if there's a field whose
717 bool Packed = [&] {
736 // building a packed struct or the padding gap is more than we'd
740 if (Packed || alignTo(LastOffset, F.TyAlignment) != Offset)
752 Ty->setBody(FieldTypes, Packed);
1105 // We can rely on these being perfectly packed.
  /src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
LLParser.h 407 bool parseAnonStructType(Type *&Result, bool Packed);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
MinimalTypeDumper.cpp 70 PUSH_FLAG(ClassOptions, Packed, Options, "packed");
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm_ocaml.c 520 value llvm_struct_set_body(LLVMTypeRef Ty, value ElementTypes, value Packed) {
522 Bool_val(Packed));
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaAttr.cpp 234 // Note that '#pragma options align=packed' is not equivalent to attribute
235 // packed, it has a different precedence relative to attribute aligned.
238 ModeVal = AlignPackInfo::Packed;
SemaDecl.cpp 18202 bool Packed = Enum->hasAttr<PackedAttr>();
18203 // -fshort-enums is the equivalent to specifying the packed attribute on all
18206 Packed = true;
18222 // If it's packed, check also if it fits a char or a short.
18223 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) {
18226 } else if (Packed && NumNegativeBits <= ShortWidth &&
18250 // If it's packed, check also if it fits a char or a short.
18251 if (Packed && NumPositiveBits <= CharWidth) {
18255 } else if (Packed && NumPositiveBits <= ShortWidth) {
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXCursor.cpp 59 case attr::Packed:
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUISelDAGToDAG.cpp 56 // This is only used for packed vectors, where ussing 0 for undef should
764 if (SDNode *Packed = packConstantV2I16(N, *CurDAG)) {
765 ReplaceNode(N, Packed);
2839 // Packed instructions do not have abs modifiers.

Completed in 126 milliseconds

1 2