/external/llvm/lib/IR/ |
D | DataLayout.cpp | 107 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/ |
D | DataLayout.cpp | 112 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/ |
D | TargetData.cpp | 106 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/ |
D | DataLayout.h | 69 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/ |
D | DataLayout.h | 75 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/ |
D | AMDGPUCallLowering.cpp | 164 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/ |
D | TargetData.h | 57 unsigned ABIAlign; //< ABI alignment for this type/bitw member 103 bool ABIAlign, Type *Ty) const;
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 4232 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/ |
D | ASTContext.cpp | 1891 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/ |
D | DAGCombiner.cpp | 6542 unsigned ABIAlign = TLI.getTargetData()->getABITypeAlignment(IntVTTy); in TransformFPLoadStorePair() local 6543 if (LDAlign < ABIAlign || STAlign < ABIAlign) in TransformFPLoadStorePair()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 11010 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/ |
D | DAGCombiner.cpp | 13544 unsigned ABIAlign = DAG.getDataLayout().getABITypeAlignment(IntVTTy); in TransformFPLoadStorePair() local 13545 if (LDAlign < ABIAlign || STAlign < ABIAlign) in TransformFPLoadStorePair()
|