Lines Matching refs:Alignments
252 for (unsigned i = 0, e = Alignments.size(); i != e; ++i) { in setAlignment()
253 if (Alignments[i].AlignType == align_type && in setAlignment()
254 Alignments[i].TypeBitWidth == bit_width) { in setAlignment()
256 Alignments[i].ABIAlign = abi_align; in setAlignment()
257 Alignments[i].PrefAlign = pref_align; in setAlignment()
262 Alignments.push_back(TargetAlignElem::get(align_type, abi_align, in setAlignment()
274 for (unsigned i = 0, e = Alignments.size(); i != e; ++i) { in getAlignmentInfo()
275 if (Alignments[i].AlignType == AlignType && in getAlignmentInfo()
276 Alignments[i].TypeBitWidth == BitWidth) in getAlignmentInfo()
277 return ABIInfo ? Alignments[i].ABIAlign : Alignments[i].PrefAlign; in getAlignmentInfo()
281 Alignments[i].AlignType == INTEGER_ALIGN) { in getAlignmentInfo()
284 if (Alignments[i].TypeBitWidth > BitWidth && (BestMatchIdx == -1 || in getAlignmentInfo()
285 Alignments[i].TypeBitWidth < Alignments[BestMatchIdx].TypeBitWidth)) in getAlignmentInfo()
290 Alignments[i].TypeBitWidth > Alignments[LargestInt].TypeBitWidth) in getAlignmentInfo()
317 return ABIInfo ? Alignments[BestMatchIdx].ABIAlign in getAlignmentInfo()
318 : Alignments[BestMatchIdx].PrefAlign; in getAlignmentInfo()
384 for (unsigned i = 0, e = Alignments.size(); i != e; ++i) { in getStringRepresentation()
385 const TargetAlignElem &AI = Alignments[i]; in getStringRepresentation()
508 for (unsigned i = 0, e = Alignments.size(); i != e; ++i) in getCallFrameTypeAlignment()
509 if (Alignments[i].AlignType == STACK_ALIGN) in getCallFrameTypeAlignment()
510 return Alignments[i].ABIAlign; in getCallFrameTypeAlignment()