Home
last modified time | relevance | path

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

12

/external/clang/tools/libclang/
DCXTranslationUnit.h30 clang::CIndexer *CIdx; member
41 CXTranslationUnitImpl *MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU);
DIndexing.cpp406 CXIndex CIdx; member
410 : CIdx(cIdx), SkipBodyData(new SessionSkipBodyData) {} in IndexSessionData()
440 CIndexer *CXXIdx = static_cast<CIndexer *>(IdxSession->CIdx); in clang_indexSourceFile_Impl()
647 CIndexer *CXXIdx = TU->CIdx; in clang_indexTranslationUnit_Impl()
824 CXIndexAction clang_IndexAction_create(CXIndex CIdx) { in clang_IndexAction_create() argument
825 return new IndexSessionData(CIdx); in clang_IndexAction_create()
DCIndex.cpp71 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit() argument
74 assert(CIdx); in MakeCXTranslationUnit()
76 D->CIdx = CIdx; in MakeCXTranslationUnit()
3092 void clang_disposeIndex(CXIndex CIdx) { in clang_disposeIndex() argument
3093 if (CIdx) in clang_disposeIndex()
3094 delete static_cast<CIndexer *>(CIdx); in clang_disposeIndex()
3097 void clang_CXIndex_setGlobalOptions(CXIndex CIdx, unsigned options) { in clang_CXIndex_setGlobalOptions() argument
3098 if (CIdx) in clang_CXIndex_setGlobalOptions()
3099 static_cast<CIndexer *>(CIdx)->setCXGlobalOptFlags(options); in clang_CXIndex_setGlobalOptions()
3102 unsigned clang_CXIndex_getGlobalOptions(CXIndex CIdx) { in clang_CXIndex_getGlobalOptions() argument
[all …]
/external/llvm-project/clang/tools/libclang/
DCXTranslationUnit.h29 clang::CIndexer *CIdx; member
46 CXTranslationUnitImpl *MakeCXTranslationUnit(CIndexer *CIdx,
DIndexing.cpp433 CXIndex CIdx; member
437 explicit IndexSessionData(CXIndex cIdx) : CIdx(cIdx) {} in IndexSessionData()
467 CIndexer *CXXIdx = static_cast<CIndexer *>(IdxSession->CIdx); in clang_indexSourceFile_Impl()
676 CIndexer *CXXIdx = TU->CIdx; in clang_indexTranslationUnit_Impl()
852 CXIndexAction clang_IndexAction_create(CXIndex CIdx) { in clang_IndexAction_create() argument
853 return new IndexSessionData(CIdx); in clang_IndexAction_create()
DCIndex.cpp73 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, in MakeCXTranslationUnit() argument
77 assert(CIdx); in MakeCXTranslationUnit()
79 D->CIdx = CIdx; in MakeCXTranslationUnit()
3419 void clang_disposeIndex(CXIndex CIdx) { in clang_disposeIndex() argument
3420 if (CIdx) in clang_disposeIndex()
3421 delete static_cast<CIndexer *>(CIdx); in clang_disposeIndex()
3424 void clang_CXIndex_setGlobalOptions(CXIndex CIdx, unsigned options) { in clang_CXIndex_setGlobalOptions() argument
3425 if (CIdx) in clang_CXIndex_setGlobalOptions()
3426 static_cast<CIndexer *>(CIdx)->setCXGlobalOptFlags(options); in clang_CXIndex_setGlobalOptions()
3429 unsigned clang_CXIndex_getGlobalOptions(CXIndex CIdx) { in clang_CXIndex_getGlobalOptions() argument
[all …]
/external/llvm-project/polly/test/Isl/CodeGen/
Dannotated_alias_scopes.ll8 ; SCOPES: %[[CIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} float* %C, i64 %polly.indvar
9 ; SCOPES: load float, float* %[[CIdx]], align 4, !alias.scope ![[AliasScopeC:[0-9]*]], !noalia…
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp209 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local
212 Idx = CIdx; in FlattenParallelAndOr()
213 else if (CIdx != Idx) in FlattenParallelAndOr()
/external/llvm-project/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp209 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local
212 Idx = CIdx; in FlattenParallelAndOr()
213 else if (CIdx != Idx) in FlattenParallelAndOr()
/external/clang/tools/c-index-test/
Dc-index-test.c2156 CXIndex CIdx; in perform_code_completion() local
2183 CIdx = clang_createIndex(0, 0); in perform_code_completion()
2188 Err = clang_parseTranslationUnit2(CIdx, 0, in perform_code_completion()
2275 clang_disposeIndex(CIdx); in perform_code_completion()
2294 CXIndex CIdx; in inspect_cursor_at() local
2331 CIdx = clang_createIndex(1, 1); in inspect_cursor_at()
2332 Err = clang_parseTranslationUnit2(CIdx, argv[argc - 1], in inspect_cursor_at()
2382 clang_disposeIndex(CIdx); in inspect_cursor_at()
2578 CXIndex CIdx; in find_file_refs_at() local
2615 CIdx = clang_createIndex(1, 1); in find_file_refs_at()
[all …]
/external/llvm-project/clang/tools/c-index-test/
Dc-index-test.c2653 CXIndex CIdx; in perform_code_completion() local
2685 CIdx = clang_createIndex(0, 0); in perform_code_completion()
2688 clang_CXIndex_setInvocationEmissionPathOption(CIdx, InvocationPath); in perform_code_completion()
2693 Err = clang_parseTranslationUnit2(CIdx, 0, in perform_code_completion()
2780 clang_disposeIndex(CIdx); in perform_code_completion()
2799 CXIndex CIdx; in inspect_cursor_at() local
2837 CIdx = clang_createIndex(1, 1); in inspect_cursor_at()
2838 Err = clang_parseTranslationUnit2(CIdx, argv[argc - 1], in inspect_cursor_at()
2888 clang_disposeIndex(CIdx); in inspect_cursor_at()
3093 CXIndex CIdx; in find_file_refs_at() local
[all …]
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp688 unsigned CIdx = 0, CEnd = ClassInstrs.size(); in createInstRWClass() local
689 for (; CIdx != CEnd; ++CIdx) { in createInstRWClass()
690 if (ClassInstrs[CIdx].first == SCIdx) in createInstRWClass()
693 if (CIdx == CEnd) { in createInstRWClass()
695 ClassInstrs[CIdx].first = SCIdx; in createInstRWClass()
697 ClassInstrs[CIdx].second.push_back(*I); in createInstRWClass()
701 unsigned CIdx = 0, CEnd = ClassInstrs.size(); in createInstRWClass() local
702 for (; CIdx != CEnd; ++CIdx) { in createInstRWClass()
703 unsigned OldSCIdx = ClassInstrs[CIdx].first; in createInstRWClass()
704 ArrayRef<Record*> InstDefs = ClassInstrs[CIdx].second; in createInstRWClass()
/external/clang/include/clang-c/
DIndex.h1077 CXIndex CIdx,
1091 CXIndex CIdx,
1103 CXIndex CIdx,
1246 clang_parseTranslationUnit(CXIndex CIdx,
1299 clang_parseTranslationUnit2(CXIndex CIdx,
1314 CXIndex CIdx, const char *source_filename,
5820 CINDEX_LINKAGE CXIndexAction clang_IndexAction_create(CXIndex CIdx);
/external/llvm-project/clang/include/clang-c/
DIndex.h1167 CXIndex CIdx, const char *source_filename, int num_clang_command_line_args,
1178 clang_createTranslationUnit(CXIndex CIdx, const char *ast_filename);
1189 clang_createTranslationUnit2(CXIndex CIdx, const char *ast_filename,
1369 CXIndex CIdx, const char *source_filename,
1419 CXIndex CIdx, const char *source_filename,
1430 CXIndex CIdx, const char *source_filename,
6602 CINDEX_LINKAGE CXIndexAction clang_IndexAction_create(CXIndex CIdx);
/external/llvm-project/llvm/lib/IR/
DConstantFold.cpp849 auto *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldExtractElementInstruction() local
850 if (!CIdx) in ConstantFoldExtractElementInstruction()
855 if (CIdx->uge(ValFVTy->getNumElements())) in ConstantFoldExtractElementInstruction()
879 APSInt(CIdx->getValue()))) { in ConstantFoldExtractElementInstruction()
882 return ConstantExpr::getExtractElement(CE->getOperand(0), CIdx); in ConstantFoldExtractElementInstruction()
891 if (!CIdx->uge(ValSVTy->getMinNumElements())) { in ConstantFoldExtractElementInstruction()
893 return CAZ->getElementValue(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction()
898 return Val->getAggregateElement(CIdx); in ConstantFoldExtractElementInstruction()
907 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
908 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp795 auto *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldExtractElementInstruction() local
796 if (!CIdx) in ConstantFoldExtractElementInstruction()
800 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
824 return Val->getAggregateElement(CIdx); in ConstantFoldExtractElementInstruction()
833 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
834 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
843 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
849 uint64_t IdxVal = CIdx->getZExtValue(); in ConstantFoldInsertElementInstruction()
/external/llvm/lib/IR/
DConstantFold.cpp790 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx)) { in ConstantFoldExtractElementInstruction() local
792 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
794 return Val->getAggregateElement(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction()
805 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
806 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
809 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
815 uint64_t IdxVal = CIdx->getZExtValue(); in ConstantFoldInsertElementInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInlineSpiller.cpp1208 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills() local
1209 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1210 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
/external/llvm-project/llvm/lib/CodeGen/
DInlineSpiller.cpp1238 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills() local
1239 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1240 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
/external/llvm/lib/CodeGen/
DInlineSpiller.cpp1120 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills() local
1121 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1122 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp428 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
429 if (CIdx->isZero()) in DecomposeGEPExpression()
432 DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue(); in DecomposeGEPExpression()
/external/llvm-project/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp514 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
515 if (CIdx->isZero()) in DecomposeGEPExpression()
519 CIdx->getValue().sextOrTrunc(MaxPointerSize); in DecomposeGEPExpression()
DValueTracking.cpp1678 auto *CIdx = dyn_cast<ConstantInt>(I->getOperand(2)); in computeKnownBitsFromOperator() local
1681 if (!CIdx || CIdx->getValue().uge(NumElts)) { in computeKnownBitsFromOperator()
1687 unsigned EltIdx = CIdx->getZExtValue(); in computeKnownBitsFromOperator()
1709 auto *CIdx = dyn_cast<ConstantInt>(Idx); in computeKnownBitsFromOperator() local
1717 if (CIdx && CIdx->getValue().ult(NumElts)) in computeKnownBitsFromOperator()
1718 DemandedVecElts = APInt::getOneBitSet(NumElts, CIdx->getZExtValue()); in computeKnownBitsFromOperator()
2455 auto *CIdx = dyn_cast<ConstantInt>(Idx); in isKnownNonZero() local
2459 if (CIdx && CIdx->getValue().ult(NumElts)) in isKnownNonZero()
2460 DemandedVecElts = APInt::getOneBitSet(NumElts, CIdx->getZExtValue()); in isKnownNonZero()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp556 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
557 if (CIdx->isZero()) in DecomposeGEPExpression()
561 CIdx->getValue().sextOrSelf(MaxPointerSize)) in DecomposeGEPExpression()

12