Home
last modified time | relevance | path

Searched refs:ABIAlign (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/IR/
DDataLayout.cpp107 retval.ABIAlign = abi_align; in get()
116 && ABIAlign == rhs.ABIAlign in operator ==()
129 PointerAlignElem::get(uint32_t AddressSpace, unsigned ABIAlign, in get() argument
131 assert(ABIAlign <= PrefAlign && "Preferred alignment worse than ABI!"); in get()
134 retval.ABIAlign = ABIAlign; in get()
142 return (ABIAlign == rhs.ABIAlign in operator ==()
188 setAlignment((AlignTypeEnum)E.AlignType, E.ABIAlign, E.PrefAlign, in reset()
315 unsigned ABIAlign = inBytes(getInt(Tok)); in parseSpecifier() local
316 if (AlignType != AGGREGATE_ALIGN && !ABIAlign) in parseSpecifier()
321 unsigned PrefAlign = ABIAlign; in parseSpecifier()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDataLayout.cpp112 retval.ABIAlign = abi_align; in get()
121 && ABIAlign == rhs.ABIAlign in operator ==()
131 PointerAlignElem::get(uint32_t AddressSpace, unsigned ABIAlign, in get() argument
134 assert(ABIAlign <= PrefAlign && "Preferred alignment worse than ABI!"); in get()
137 retval.ABIAlign = ABIAlign; in get()
146 return (ABIAlign == rhs.ABIAlign in operator ==()
193 setAlignment((AlignTypeEnum)E.AlignType, E.ABIAlign, E.PrefAlign, in reset()
351 unsigned ABIAlign = inBytes(getInt(Tok)); in parseSpecifier() local
352 if (AlignType != AGGREGATE_ALIGN && !ABIAlign) in parseSpecifier()
357 unsigned PrefAlign = ABIAlign; in parseSpecifier()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp106 retval.ABIAlign = abi_align; in get()
115 && ABIAlign == rhs.ABIAlign in operator ==()
203 unsigned ABIAlign = getInt(Split.first) / 8; in init() local
208 PrefAlign = ABIAlign; in init()
209 setAlignment(AlignType, ABIAlign, PrefAlign, Size); in init()
256 Alignments[i].ABIAlign = abi_align; in setAlignment()
277 return ABIInfo ? Alignments[i].ABIAlign : Alignments[i].PrefAlign; in getAlignmentInfo()
317 return ABIInfo ? Alignments[BestMatchIdx].ABIAlign in getAlignmentInfo()
387 << AI.ABIAlign*8 << ':' << AI.PrefAlign*8; in getStringRepresentation()
510 return Alignments[i].ABIAlign; in getCallFrameTypeAlignment()
/external/llvm/include/llvm/IR/
DDataLayout.h69 unsigned ABIAlign : 16; member
84 unsigned ABIAlign; member
90 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
150 bool ABIAlign, Type *Ty) const;
151 void setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDataLayout.h75 unsigned ABIAlign : 16; member
91 unsigned ABIAlign; member
98 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
169 bool ABIAlign, Type *Ty) const;
170 void setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp164 unsigned ABIAlign = DL.getABITypeAlignment(ArgTy); in lowerFormalArguments() local
166 uint64_t ArgOffset = alignTo(ExplicitArgOffset, ABIAlign) + BaseOffset; in lowerFormalArguments()
167 ExplicitArgOffset = alignTo(ExplicitArgOffset, ABIAlign) + AllocSize; in lowerFormalArguments()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetData.h57 unsigned ABIAlign; //< ABI alignment for this type/bitw member
103 bool ABIAlign, Type *Ty) const;
/external/clang/lib/CodeGen/
DTargetInfo.cpp4232 uint64_t ABIAlign = getParamTypeAlignment(Ty).getQuantity(); in classifyArgumentType() local
4261 uint64_t RegBits = ABIAlign * 8; in classifyArgumentType()
4271 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(ABIAlign), in classifyArgumentType()
4273 /*Realign=*/TyAlign > ABIAlign); in classifyArgumentType()
5314 uint64_t ABIAlign = 4; in classifyArgumentType() local
5318 ABIAlign = std::min(std::max(TyAlign, (uint64_t)4), (uint64_t)8); in classifyArgumentType()
5322 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(ABIAlign), in classifyArgumentType()
5324 /*Realign=*/TyAlign > ABIAlign); in classifyArgumentType()
/external/clang/lib/AST/
DASTContext.cpp1891 unsigned ABIAlign = TI.Align; in getPreferredTypeAlign() local
1900 return ABIAlign; in getPreferredTypeAlign()
1913 return std::max(ABIAlign, (unsigned)getTypeSize(T)); in getPreferredTypeAlign()
1915 return ABIAlign; in getPreferredTypeAlign()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6542 unsigned ABIAlign = TLI.getTargetData()->getABITypeAlignment(IntVTTy); in TransformFPLoadStorePair() local
6543 if (LDAlign < ABIAlign || STAlign < ABIAlign) in TransformFPLoadStorePair()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp11010 unsigned ABIAlign = DAG.getDataLayout().getABITypeAlignment(IntVTTy); in TransformFPLoadStorePair() local
11011 if (LDAlign < ABIAlign || STAlign < ABIAlign) in TransformFPLoadStorePair()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp13544 unsigned ABIAlign = DAG.getDataLayout().getABITypeAlignment(IntVTTy); in TransformFPLoadStorePair() local
13545 if (LDAlign < ABIAlign || STAlign < ABIAlign) in TransformFPLoadStorePair()