Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DBackgroundRebuild.cpp92 std::unique_ptr<SymbolIndex> NewIndex; in maybeRebuild() local
97 NewIndex = Source->buildIndex(IndexType::Heavy, DuplicateHandling::Merge); in maybeRebuild()
105 NewIndex->estimateMemoryUsage()); in maybeRebuild()
106 Target->reset(std::move(NewIndex)); in maybeRebuild()
H A DFileIndex.cpp442 auto NewIndex = PreambleSymbols.buildIndex( in updatePreamble() local
451 PreambleIndex.reset(std::move(NewIndex)); in updatePreamble()
477 auto NewIndex = MainFileSymbols.buildIndex( in updateMain() local
486 MainFileIndex.reset(std::move(NewIndex)); in updateMain()
/llvm-project-15.0.7/clang/lib/Sema/
H A DTypeLocBuilder.cpp49 unsigned NewIndex = Index + NewCapacity - Capacity; in grow() local
50 memcpy(&NewBuffer[NewIndex], in grow()
59 Index = NewIndex; in grow()
H A DSemaChecking.cpp1029 unsigned NewIndex = Index < DABIndices in checkFortifiedBuiltinMemoryFunction() local
1032 if (NewIndex >= TheCall->getNumArgs()) in checkFortifiedBuiltinMemoryFunction()
1034 return NewIndex; in checkFortifiedBuiltinMemoryFunction()
1042 unsigned NewIndex = *IndexOptional; in checkFortifiedBuiltinMemoryFunction() local
1044 Expr *SizeArg = TheCall->getArg(NewIndex); in checkFortifiedBuiltinMemoryFunction()
1067 unsigned NewIndex = *IndexOptional; in checkFortifiedBuiltinMemoryFunction() local
1069 const Expr *ObjArg = TheCall->getArg(NewIndex); in checkFortifiedBuiltinMemoryFunction()
1082 unsigned NewIndex = *IndexOptional; in checkFortifiedBuiltinMemoryFunction() local
1084 const Expr *ObjArg = TheCall->getArg(NewIndex); in checkFortifiedBuiltinMemoryFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp104 Value *NewIndex = in createMemCpyLoopKnownSize() local
106 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemCpyLoopKnownSize()
110 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize()
257 Value *NewIndex = in createMemCpyLoopUnknownSize() local
259 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemCpyLoopUnknownSize()
294 LoopBuilder.CreateICmpULT(NewIndex, RuntimeLoopCount), LoopBB, in createMemCpyLoopUnknownSize()
352 LoopBuilder.CreateICmpULT(NewIndex, RuntimeLoopCount), LoopBB, in createMemCpyLoopUnknownSize()
508 Value *NewIndex = in createMemSetLoop() local
510 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemSetLoop()
512 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, CopyLen), LoopBB, in createMemSetLoop()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp72 EntryIndex &NewIndex) { in startDbgValue() argument
86 NewIndex = Entries.size() - 1; in startDbgValue()
367 EntryIndex NewIndex; in handleNewDebugValue() local
368 if (HistMap.startDbgValue(Var, DV, NewIndex)) { in handleNewDebugValue()
382 Entry.endEntry(NewIndex); in handleNewDebugValue()
398 LiveEntries[Var].insert(NewIndex); in handleNewDebugValue()
412 LiveEntries[Var].insert(NewIndex); in handleNewDebugValue()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp398 std::unique_ptr<clang::clangd::SymbolIndex> NewIndex = in hotReload() local
400 if (!NewIndex) { in hotReload()
404 Index.reset(std::move(NewIndex)); in hotReload()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp509 std::unique_ptr<ModuleSummaryIndex> NewIndex = nullptr; in writeThinLTOBitcode() local
528 NewIndex = std::make_unique<ModuleSummaryIndex>( in writeThinLTOBitcode()
530 Index = NewIndex.get(); in writeThinLTOBitcode()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DDbgEntityHistoryCalculator.h104 EntryIndex &NewIndex);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DStratifiedSets.h349 auto NewIndex = getNewUnlinkedIndex(); in add() local
350 return addAtMerging(Main, NewIndex); in add()
/llvm-project-15.0.7/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp621 auto NewIndex = std::make_unique<SwapIndex>(std::make_unique<MemIndex>()); in loadExternalIndex() local
623 PlaceHolder = NewIndex.get()] { in loadExternalIndex()
633 return std::move(NewIndex); in loadExternalIndex()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp400 unsigned NewIndex, IRBuilder<> &Builder) { in createShiftShuffle() argument
406 ShufMask[NewIndex] = OldIndex; in createShiftShuffle()
415 unsigned NewIndex, in translateExtract() argument
430 NewIndex, Builder); in translateExtract()
431 return cast<ExtractElementInst>(Builder.CreateExtractElement(Shuf, NewIndex)); in translateExtract()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveIntervals.cpp1519 SlotIndex NewIndex = Indexes->insertMachineInstrInMaps(MI); in handleMove() local
1524 HMEditor HME(*this, *MRI, *TRI, OldIndex, NewIndex, UpdateFlags); in handleMove()
1533 const SlotIndex NewIndex = Indexes->insertMachineInstrInMaps(BundleStart); in handleMoveIntoNewBundle() local
1547 HMEditor HME(*this, *MRI, *TRI, OldIndex, NewIndex, UpdateFlags); in handleMoveIntoNewBundle()
H A DMachineBlockPlacement.cpp3560 DenseMap<const MachineBasicBlock *, size_t> NewIndex; in assignBlockOrder() local
3562 NewIndex[MBB] = NewIndex.size(); in assignBlockOrder()
3565 return NewIndex[&L] < NewIndex[&R]; in assignBlockOrder()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp892 Instruction *NewIndex = BinaryOperator::Create( in pushOutAdd() local
898 Phi->addIncoming(NewIndex, Phi->getIncomingBlock(StartIndex)); in pushOutAdd()
H A DARMISelLowering.cpp6169 APInt NewIndex(APIntIndex.getBitWidth(), DstNumElt); in CombineVMOVDRRCandidateWithVecOp() local
6170 NewIndex *= APIntIndex; in CombineVMOVDRRCandidateWithVecOp()
6172 if (NewIndex.getBitWidth() > 32) in CombineVMOVDRRCandidateWithVecOp()
6184 DAG.getConstant(NewIndex.getZExtValue(), dl, MVT::i32)); in CombineVMOVDRRCandidateWithVecOp()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DInterp.h749 APSInt NewIndex = Add ? (APIndex + APOffset) : (APIndex - APOffset); in OffsetHelper() local
751 << NewIndex in OffsetHelper()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DRewriteInstance.cpp4482 const uint32_t NewIndex = NewSectionIndex[OldIndex]; in updateELFSymbolTable() local
4487 if (IsDynSym && NewIndex != OldIndex && NewIndex == ELF::SHN_UNDEF) in updateELFSymbolTable()
4489 return NewIndex; in updateELFSymbolTable()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1966 SDValue NewIndex = in LowerSIGN_EXTEND_INREG() local
1970 DAG.getBitcast(ExtractedVecT, Extract.getOperand(0)), NewIndex); in LowerSIGN_EXTEND_INREG()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6203 uint64_t NewIndex = DestIndexMap[Op.getArg(0)]; in appendToVectors() local
6204 DestExpr.push_back(NewIndex); in appendToVectors()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp21723 SDValue NewIndex = DAG.getVectorIdxConstant(ExtIdx * SrcDestRatio, DL); in visitEXTRACT_SUBVECTOR() local
21725 V.getOperand(0), NewIndex); in visitEXTRACT_SUBVECTOR()
21741 SDValue NewIndex = DAG.getVectorIdxConstant(IndexValScaled, DL); in visitEXTRACT_SUBVECTOR() local
21744 V.getOperand(0), NewIndex); in visitEXTRACT_SUBVECTOR()
21749 SDValue NewIndex = DAG.getVectorIdxConstant(IndexValScaled, DL); in visitEXTRACT_SUBVECTOR() local
21752 V.getOperand(0), NewIndex); in visitEXTRACT_SUBVECTOR()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp6176 unsigned NewIndex = (IndexN->getZExtValue() + 1) * Scale - 1; in combineTruncateExtract() local
6183 return combineExtract(DL, ResVT, VecVT, Vec, NewIndex, DCI, true); in combineTruncateExtract()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp52325 SDValue NewIndex = Index.getOperand(0); in combineX86GatherScatter() local
52331 MemOp->getBasePtr(), NewIndex, NewScale, in combineX86GatherScatter()
52336 NewIndex, NewScale, MemOp->getChain(), Subtarget); in combineX86GatherScatter()