Home
last modified time | relevance | path

Searched refs:CIdx (Results 1 – 12 of 12) 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()
492 CIndexer *CXXIdx = static_cast<CIndexer *>(IdxSession->CIdx); in clang_indexSourceFile_Impl()
714 CIndexer *CXXIdx = TU->CIdx; in clang_indexTranslationUnit_Impl()
901 CXIndexAction clang_IndexAction_create(CXIndex CIdx) { in clang_IndexAction_create() argument
902 return new IndexSessionData(CIdx); in clang_IndexAction_create()
DCIndex.cpp74 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit() argument
77 assert(CIdx); in MakeCXTranslationUnit()
79 D->CIdx = CIdx; in MakeCXTranslationUnit()
2984 void clang_disposeIndex(CXIndex CIdx) { in clang_disposeIndex() argument
2985 if (CIdx) in clang_disposeIndex()
2986 delete static_cast<CIndexer *>(CIdx); in clang_disposeIndex()
2989 void clang_CXIndex_setGlobalOptions(CXIndex CIdx, unsigned options) { in clang_CXIndex_setGlobalOptions() argument
2990 if (CIdx) in clang_CXIndex_setGlobalOptions()
2991 static_cast<CIndexer *>(CIdx)->setCXGlobalOptFlags(options); in clang_CXIndex_setGlobalOptions()
2994 unsigned clang_CXIndex_getGlobalOptions(CXIndex CIdx) { in clang_CXIndex_getGlobalOptions() argument
[all …]
DCIndexCodeCompletion.cpp673 CIndexer *CXXIdx = TU->CIdx; in clang_codeCompleteAt_Impl()
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp197 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local
200 Idx = CIdx; in FlattenParallelAndOr()
201 else if (CIdx != Idx) in FlattenParallelAndOr()
/external/clang/tools/c-index-test/
Dc-index-test.c2120 CXIndex CIdx; in perform_code_completion() local
2147 CIdx = clang_createIndex(0, 0); in perform_code_completion()
2152 Err = clang_parseTranslationUnit2(CIdx, 0, in perform_code_completion()
2239 clang_disposeIndex(CIdx); in perform_code_completion()
2254 CXIndex CIdx; in inspect_cursor_at() local
2291 CIdx = clang_createIndex(1, 1); in inspect_cursor_at()
2292 Err = clang_parseTranslationUnit2(CIdx, argv[argc - 1], in inspect_cursor_at()
2407 clang_disposeIndex(CIdx); in inspect_cursor_at()
2425 CXIndex CIdx; in find_file_refs_at() local
2462 CIdx = clang_createIndex(1, 1); in find_file_refs_at()
[all …]
/external/clang/include/clang-c/
DIndex.h1077 CXIndex CIdx,
1091 CXIndex CIdx,
1103 CXIndex CIdx,
1235 clang_parseTranslationUnit(CXIndex CIdx,
1288 clang_parseTranslationUnit2(CXIndex CIdx,
1303 CXIndex CIdx, const char *source_filename,
5644 CINDEX_LINKAGE CXIndexAction clang_IndexAction_create(CXIndex CIdx);
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp681 unsigned CIdx = 0, CEnd = ClassInstrs.size(); in createInstRWClass() local
682 for (; CIdx != CEnd; ++CIdx) { in createInstRWClass()
683 if (ClassInstrs[CIdx].first == SCIdx) in createInstRWClass()
686 if (CIdx == CEnd) { in createInstRWClass()
688 ClassInstrs[CIdx].first = SCIdx; in createInstRWClass()
690 ClassInstrs[CIdx].second.push_back(*I); in createInstRWClass()
694 unsigned CIdx = 0, CEnd = ClassInstrs.size(); in createInstRWClass() local
695 for (; CIdx != CEnd; ++CIdx) { in createInstRWClass()
696 unsigned OldSCIdx = ClassInstrs[CIdx].first; in createInstRWClass()
697 ArrayRef<Record*> InstDefs = ClassInstrs[CIdx].second; in createInstRWClass()
/external/llvm/lib/IR/
DConstantFold.cpp791 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx)) { in ConstantFoldExtractElementInstruction() local
793 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
795 return Val->getAggregateElement(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction()
806 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
807 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
810 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
816 uint64_t IdxVal = CIdx->getZExtValue(); in ConstantFoldInsertElementInstruction()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp405 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
406 if (CIdx->isZero()) in DecomposeGEPExpression()
408 BaseOffs += DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue(); in DecomposeGEPExpression()
DInstructionSimplify.cpp3622 if (auto *CIdx = dyn_cast<Constant>(Idx)) in SimplifyExtractElementInst() local
3623 return ConstantFoldExtractElementInstruction(CVec, CIdx); in SimplifyExtractElementInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp928 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local
929 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()