Home
last modified time | relevance | path

Searched refs:CurIdx (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/CodeGen/
DCGExprScalar.cpp869 unsigned CurIdx = 0; in VisitInitListExpr() local
889 if (CurIdx == 0) { in VisitInitListExpr()
900 for (unsigned j = 0; j != CurIdx; ++j) in VisitInitListExpr()
912 ++CurIdx; in VisitInitListExpr()
917 V = Builder.CreateInsertElement(V, Init, Builder.getInt32(CurIdx), in VisitInitListExpr()
920 ++CurIdx; in VisitInitListExpr()
929 unsigned Offset = (CurIdx == 0) ? 0 : ResElts; in VisitInitListExpr()
936 for (unsigned j = 0; j != CurIdx; ++j) { in VisitInitListExpr()
968 for (unsigned j = 0; j != CurIdx; ++j) in VisitInitListExpr()
977 if (CurIdx == 0) in VisitInitListExpr()
[all …]
/external/llvm/lib/VMCore/
DInstructions.cpp1354 unsigned CurIdx = 1; in getIndexedTypeInternal() local
1355 for (; CurIdx != IdxList.size(); ++CurIdx) { in getIndexedTypeInternal()
1358 IndexTy Index = IdxList[CurIdx]; in getIndexedTypeInternal()
1362 return CurIdx == IdxList.size() ? Agg : 0; in getIndexedTypeInternal()
1691 for (unsigned CurIdx = 0; CurIdx != Idxs.size(); ++CurIdx) { in getIndexedType() local
1692 unsigned Index = Idxs[CurIdx]; in getIndexedType()
/external/clang/tools/libclang/
DCIndex.cpp5118 unsigned CurIdx; member in __anon13c93c800611::MarkMacroArgTokensVisitor
5123 : SM(SM), Tokens(tokens), NumTokens(numTokens), CurIdx(0) { } in MarkMacroArgTokensVisitor()
5133 for (; CurIdx < NumTokens; ++CurIdx) { in visit()
5134 if (!SM.isBeforeInTranslationUnit(getTokenLoc(CurIdx), in visit()
5139 if (CurIdx == NumTokens) in visit()
5142 for (; CurIdx < NumTokens; ++CurIdx) { in visit()
5143 SourceLocation tokLoc = getTokenLoc(CurIdx); in visit()
5147 setFunctionMacroTokenLoc(CurIdx, SM.getMacroArgExpandedLocation(tokLoc)); in visit()
5150 if (CurIdx == NumTokens) in visit()