Searched defs:ComputeLinearIndex (Results 1 - 2 of 2) sorted by relevance

/external/llvm/include/llvm/CodeGen/
H A DAnalysis.h33 /// ComputeLinearIndex - Given an LLVM IR aggregate type and a sequence
37 unsigned ComputeLinearIndex(Type *Ty,
42 inline unsigned ComputeLinearIndex(Type *Ty, function in namespace:llvm
45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp29 /// ComputeLinearIndex - Given an LLVM IR aggregate type and a sequence
33 unsigned llvm::ComputeLinearIndex(Type *Ty, function in class:llvm
48 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex);
49 CurIndex = ComputeLinearIndex(*EI, 0, 0, CurIndex);
58 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex);
59 CurIndex = ComputeLinearIndex(EltTy, 0, 0, CurIndex);

Completed in 159 milliseconds