Home
last modified time | relevance | path

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

/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 …]
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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp210 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local
213 Idx = CIdx; in FlattenParallelAndOr()
214 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/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp796 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx)) { in ConstantFoldExtractElementInstruction() local
798 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
800 return Val->getAggregateElement(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction()
811 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
812 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
815 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
821 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/lib/Analysis/
DBasicAliasAnalysis.cpp331 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
332 if (CIdx->isZero()) continue; in DecomposeGEPExpression()
333 BaseOffs += TD->getTypeAllocSize(*GTI)*CIdx->getSExtValue(); in DecomposeGEPExpression()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp763 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx)) { in ConstantFoldExtractElementInstruction() local
764 uint64_t Index = CIdx->getZExtValue(); in ConstantFoldExtractElementInstruction()
768 return CVal->getOperand(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction()
780 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
781 if (!CIdx) return 0; in ConstantFoldInsertElementInstruction()
782 APInt idxVal = CIdx->getValue(); in ConstantFoldInsertElementInstruction()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInlineSpiller.cpp1177 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills() local
1178 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1179 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()
DInstructionSimplify.cpp3682 if (auto *CIdx = dyn_cast<Constant>(Idx)) in SimplifyExtractElementInst() local
3683 return ConstantFoldExtractElementInstruction(CVec, CIdx); in SimplifyExtractElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp500 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
501 if (CIdx->isZero()) in DecomposeGEPExpression()
504 DL.getTypeAllocSize(GTI.getIndexedType()) * CIdx->getSExtValue(); in DecomposeGEPExpression()
DInstructionSimplify.cpp4071 if (auto *CIdx = dyn_cast<Constant>(Idx)) in SimplifyExtractElementInst() local
4072 return ConstantFoldExtractElementInstruction(CVec, CIdx); in SimplifyExtractElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1505 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedVectorElts() local
1509 if (CIdx && CIdx->getAPIntValue().ult(NumElts)) { in SimplifyDemandedVectorElts()
1510 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedVectorElts()
DLegalizeVectorTypes.cpp1114 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local
1115 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp650 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local
651 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp985 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local
986 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()