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.cpp31 /// ComputeLinearIndex - Given an LLVM IR aggregate type and a sequence
35 unsigned llvm::ComputeLinearIndex(Type *Ty, function in class:llvm
50 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex);
51 CurIndex = ComputeLinearIndex(*EI, 0, 0, CurIndex);
60 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex);
61 CurIndex = ComputeLinearIndex(EltTy, 0, 0, CurIndex);

Completed in 134 milliseconds