Home
last modified time | relevance | path

Searched refs:CIdx (Results 1 – 11 of 11) sorted by relevance

/external/clang/tools/libclang/
DCXTranslationUnit.h30 clang::CIndexer *CIdx; member
41 CXTranslationUnitImpl *MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU);
DIndexing.cpp458 CXIndex CIdx; member
462 : CIdx(cIdx), SkipBodyData(new SessionSkipBodyData) {} in IndexSessionData()
516 CIndexer *CXXIdx = static_cast<CIndexer *>(IdxSession->CIdx); in clang_indexSourceFile_Impl()
759 CIndexer *CXXIdx = TU->CIdx; in clang_indexTranslationUnit_Impl()
946 CXIndexAction clang_IndexAction_create(CXIndex CIdx) { in clang_IndexAction_create() argument
947 return new IndexSessionData(CIdx); in clang_IndexAction_create()
DCIndex.cpp73 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit() argument
76 assert(CIdx); in MakeCXTranslationUnit()
78 D->CIdx = CIdx; in MakeCXTranslationUnit()
2832 void clang_disposeIndex(CXIndex CIdx) { in clang_disposeIndex() argument
2833 if (CIdx) in clang_disposeIndex()
2834 delete static_cast<CIndexer *>(CIdx); in clang_disposeIndex()
2837 void clang_CXIndex_setGlobalOptions(CXIndex CIdx, unsigned options) { in clang_CXIndex_setGlobalOptions() argument
2838 if (CIdx) in clang_CXIndex_setGlobalOptions()
2839 static_cast<CIndexer *>(CIdx)->setCXGlobalOptFlags(options); in clang_CXIndex_setGlobalOptions()
2842 unsigned clang_CXIndex_getGlobalOptions(CXIndex CIdx) { in clang_CXIndex_getGlobalOptions() argument
[all …]
DCIndexCodeCompletion.cpp686 CIndexer *CXXIdx = TU->CIdx; in clang_codeCompleteAt_Impl()
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp198 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local
201 Idx = CIdx; in FlattenParallelAndOr()
202 else if (CIdx != Idx) in FlattenParallelAndOr()
/external/clang/tools/c-index-test/
Dc-index-test.c2058 CXIndex CIdx; in perform_code_completion() local
2085 CIdx = clang_createIndex(0, 0); in perform_code_completion()
2090 Err = clang_parseTranslationUnit2(CIdx, 0, in perform_code_completion()
2177 clang_disposeIndex(CIdx); in perform_code_completion()
2192 CXIndex CIdx; in inspect_cursor_at() local
2229 CIdx = clang_createIndex(1, 1); in inspect_cursor_at()
2230 Err = clang_parseTranslationUnit2(CIdx, argv[argc - 1], in inspect_cursor_at()
2345 clang_disposeIndex(CIdx); in inspect_cursor_at()
2363 CXIndex CIdx; in find_file_refs_at() local
2400 CIdx = clang_createIndex(1, 1); in find_file_refs_at()
[all …]
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp689 unsigned CIdx = 0, CEnd = ClassInstrs.size(); in createInstRWClass() local
690 for (; CIdx != CEnd; ++CIdx) { in createInstRWClass()
691 if (ClassInstrs[CIdx].first == SCIdx) in createInstRWClass()
694 if (CIdx == CEnd) { in createInstRWClass()
696 ClassInstrs[CIdx].first = SCIdx; in createInstRWClass()
698 ClassInstrs[CIdx].second.push_back(*I); in createInstRWClass()
702 unsigned CIdx = 0, CEnd = ClassInstrs.size(); in createInstRWClass() local
703 for (; CIdx != CEnd; ++CIdx) { in createInstRWClass()
704 unsigned OldSCIdx = ClassInstrs[CIdx].first; in createInstRWClass()
705 ArrayRef<Record*> InstDefs = ClassInstrs[CIdx].second; in createInstRWClass()
/external/clang/include/clang-c/
DIndex.h1079 CXIndex CIdx,
1093 CXIndex CIdx,
1105 CXIndex CIdx,
1229 clang_parseTranslationUnit(CXIndex CIdx,
1282 clang_parseTranslationUnit2(CXIndex CIdx,
5562 CINDEX_LINKAGE CXIndexAction clang_IndexAction_create(CXIndex CIdx);
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp361 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
362 if (CIdx->isZero()) continue; in DecomposeGEPExpression()
363 BaseOffs += DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue(); in DecomposeGEPExpression()
/external/llvm/lib/IR/
DConstantFold.cpp791 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx)) { in ConstantFoldExtractElementInstruction() local
792 uint64_t Index = CIdx->getZExtValue(); in ConstantFoldExtractElementInstruction()
804 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
805 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
806 const APInt &IdxVal = CIdx->getValue(); in ConstantFoldInsertElementInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp887 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local
888 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()