Home
last modified time | relevance | path

Searched refs:BestMatchIdx (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp272 int BestMatchIdx = -1; in getAlignmentInfo() local
284 if (Alignments[i].TypeBitWidth > BitWidth && (BestMatchIdx == -1 || in getAlignmentInfo()
285 Alignments[i].TypeBitWidth < Alignments[BestMatchIdx].TypeBitWidth)) in getAlignmentInfo()
286 BestMatchIdx = i; in getAlignmentInfo()
297 if (BestMatchIdx == -1) { in getAlignmentInfo()
300 BestMatchIdx = LargestInt; in getAlignmentInfo()
317 return ABIInfo ? Alignments[BestMatchIdx].ABIAlign in getAlignmentInfo()
318 : Alignments[BestMatchIdx].PrefAlign; in getAlignmentInfo()
/external/llvm/lib/IR/
DDataLayout.cpp461 int BestMatchIdx = -1; in getAlignmentInfo() local
473 if (Alignments[i].TypeBitWidth > BitWidth && (BestMatchIdx == -1 || in getAlignmentInfo()
474 Alignments[i].TypeBitWidth < Alignments[BestMatchIdx].TypeBitWidth)) in getAlignmentInfo()
475 BestMatchIdx = i; in getAlignmentInfo()
486 if (BestMatchIdx == -1) { in getAlignmentInfo()
489 BestMatchIdx = LargestInt; in getAlignmentInfo()
509 if (BestMatchIdx == -1) { in getAlignmentInfo()
517 return ABIInfo ? Alignments[BestMatchIdx].ABIAlign in getAlignmentInfo()
518 : Alignments[BestMatchIdx].PrefAlign; in getAlignmentInfo()