Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DInlineSpiller.cpp179 void insertReload(LiveInterval &NewLI, SlotIndex,
181 void insertSpill(LiveInterval &NewLI, const LiveInterval &OldLI,
890 LiveInterval &NewLI = Edit->createFrom(Original, LIS, VRM); in reMaterializeFor() local
891 NewLI.markNotSpillable(); in reMaterializeFor()
894 SlotIndex DefIdx = Edit->rematerializeAt(*MI->getParent(), MI, NewLI.reg, RM, in reMaterializeFor()
903 MO.setReg(NewLI.reg); in reMaterializeFor()
909 VNInfo *DefVNI = NewLI.getNextValue(DefIdx, 0, LIS.getVNInfoAllocator()); in reMaterializeFor()
910 NewLI.addRange(LiveRange(DefIdx, UseIdx.getDefIndex(), DefVNI)); in reMaterializeFor()
911 DEBUG(dbgs() << "\tinterval: " << NewLI << '\n'); in reMaterializeFor()
1059 void InlineSpiller::insertReload(LiveInterval &NewLI, in insertReload() argument
[all …]
DStrongPHIElimination.cpp346 LiveInterval &NewLI = LI->getInterval(NewReg); in runOnMachineFunction() local
352 VNInfo *NewVNI = NewLI.getVNInfoAt(DestLR->start); in runOnMachineFunction()
354 NewVNI = NewLI.createValueCopy(DestLR->valno, LI->getVNInfoAllocator()); in runOnMachineFunction()
360 NewLI.addRange(NewLR); in runOnMachineFunction()
807 LiveInterval &NewLI = LI->getInterval(NewReg); in MergeLIsAndRename() local
818 NewVN = NewLI.createValueCopy(OldVN, LI->getVNInfoAllocator()); in MergeLIsAndRename()
823 NewLI.addRange(LR); in MergeLIsAndRename()
DLiveIntervalAnalysis.cpp745 LiveInterval *NewLI = createInterval(li->reg); in dupInterval() local
746 NewLI->Copy(*li, mri_, getVNInfoAllocator()); in dupInterval()
747 return NewLI; in dupInterval()
791 LiveInterval NewLI(li->reg, 0); in shrinkToUses() local
797 NewLI.addRange(LiveRange(VNI->def, VNI->def.getNextSlot(), VNI)); in shrinkToUses()
819 if (VNInfo *ExtVNI = NewLI.extendInBlock(BlockStart, Idx.getNextSlot())) { in shrinkToUses()
840 NewLI.addRange(LiveRange(BlockStart, Idx.getNextSlot(), VNI)); in shrinkToUses()
860 LiveInterval::iterator LII = NewLI.FindLiveRangeContaining(VNI->def); in shrinkToUses()
861 assert(LII != NewLI.end() && "Missing live range for PHI"); in shrinkToUses()
867 NewLI.removeRange(*LII); in shrinkToUses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveRangeEdit.cpp363 LiveInterval &NewLI = createEmptyIntervalFrom(Dest, false); in eliminateDeadDef() local
364 VNInfo *VNI = NewLI.getNextValue(Idx, LIS.getVNInfoAllocator()); in eliminateDeadDef()
365 NewLI.addSegment(LiveInterval::Segment(Idx, Idx.getDeadSlot(), VNI)); in eliminateDeadDef()
369 MI->substituteRegister(Dest, NewLI.reg, 0, TRI); in eliminateDeadDef()
DAtomicExpandPass.cpp378 auto *NewLI = Builder.CreateLoad(NewAddr); in convertAtomicLoadToIntegerType() local
379 NewLI->setAlignment(LI->getAlignment()); in convertAtomicLoadToIntegerType()
380 NewLI->setVolatile(LI->isVolatile()); in convertAtomicLoadToIntegerType()
381 NewLI->setAtomic(LI->getOrdering(), LI->getSyncScopeID()); in convertAtomicLoadToIntegerType()
382 LLVM_DEBUG(dbgs() << "Replaced " << *LI << " with " << *NewLI << "\n"); in convertAtomicLoadToIntegerType()
384 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType()
387 return NewLI; in convertAtomicLoadToIntegerType()
DRenameIndependentSubregs.cpp143 LiveInterval &NewLI = LIS->createEmptyInterval(NewVReg); in INITIALIZE_PASS_DEPENDENCY() local
144 Intervals.push_back(&NewLI); in INITIALIZE_PASS_DEPENDENCY()
DLiveIntervals.cpp1649 LiveInterval &NewLI = createEmptyInterval(NewVReg); in splitSeparateComponents() local
1650 SplitLIs.push_back(&NewLI); in splitSeparateComponents()
/external/llvm/lib/CodeGen/
DLiveRangeEdit.cpp337 LiveInterval &NewLI = createEmptyIntervalFrom(Dest); in eliminateDeadDef() local
338 VNInfo *VNI = NewLI.getNextValue(Idx, LIS.getVNInfoAllocator()); in eliminateDeadDef()
339 NewLI.addSegment(LiveInterval::Segment(Idx, Idx.getDeadSlot(), VNI)); in eliminateDeadDef()
343 MI->substituteRegister(Dest, NewLI.reg, 0, TRI); in eliminateDeadDef()
DRenameIndependentSubregs.cpp143 LiveInterval &NewLI = LIS->createEmptyInterval(NewVReg); in INITIALIZE_PASS_DEPENDENCY() local
144 Intervals.push_back(&NewLI); in INITIALIZE_PASS_DEPENDENCY()
DAtomicExpandPass.cpp368 auto *NewLI = Builder.CreateLoad(NewAddr); in convertAtomicLoadToIntegerType() local
369 NewLI->setAlignment(LI->getAlignment()); in convertAtomicLoadToIntegerType()
370 NewLI->setVolatile(LI->isVolatile()); in convertAtomicLoadToIntegerType()
371 NewLI->setAtomic(LI->getOrdering(), LI->getSynchScope()); in convertAtomicLoadToIntegerType()
372 DEBUG(dbgs() << "Replaced " << *LI << " with " << *NewLI << "\n"); in convertAtomicLoadToIntegerType()
374 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType()
377 return NewLI; in convertAtomicLoadToIntegerType()
DLiveIntervalAnalysis.cpp1565 LiveInterval &NewLI = createEmptyInterval(NewVReg); in splitSeparateComponents() local
1566 SplitLIs.push_back(&NewLI); in splitSeparateComponents()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp230 for (const auto &NewLI : NewLiveIn) in runOnMachineFunction() local
231 LayoutSucc->addLiveIn(NewLI); in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp223 for (const auto &NewLI : NewLiveIn) in runOnMachineFunction() local
224 LayoutSucc->addLiveIn(NewLI); in runOnMachineFunction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp343 LoadInst *NewLI = new LoadInst(NewPN, "", isVolatile, LoadAlignment); in FoldPHIArgLoadIntoPHI() local
358 NewLI->setMetadata(ID, FirstLI->getMetadata(ID)); in FoldPHIArgLoadIntoPHI()
363 combineMetadata(NewLI, LI, KnownIDs); in FoldPHIArgLoadIntoPHI()
373 NewLI->setOperand(0, InVal); in FoldPHIArgLoadIntoPHI()
386 NewLI->setDebugLoc(FirstLI->getDebugLoc()); in FoldPHIArgLoadIntoPHI()
387 return NewLI; in FoldPHIArgLoadIntoPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DLocal.h423 void copyNonnullMetadata(const LoadInst &OldLI, MDNode *N, LoadInst &NewLI);
430 LoadInst &NewLI);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp599 LoadInst *NewLI = new LoadInst(NewPN, "", isVolatile, LoadAlignment); in FoldPHIArgLoadIntoPHI() local
614 NewLI->setMetadata(ID, FirstLI->getMetadata(ID)); in FoldPHIArgLoadIntoPHI()
619 combineMetadata(NewLI, LI, KnownIDs); in FoldPHIArgLoadIntoPHI()
629 NewLI->setOperand(0, InVal); in FoldPHIArgLoadIntoPHI()
642 PHIArgMergedDebugLoc(NewLI, PN); in FoldPHIArgLoadIntoPHI()
643 return NewLI; in FoldPHIArgLoadIntoPHI()
DInstCombineLoadStoreAlloca.cpp1375 LoadInst *NewLI = combineLoadToNewType( in removeBitcastsFromLoadStoreOnMinMax() local
1381 combineStoreToNewValue(IC, *USI, NewLI); in removeBitcastsFromLoadStoreOnMinMax()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp381 LoadInst *NewLI = new LoadInst(PhiVal, "", isVolatile, LoadAlignment); in FoldPHIArgLoadIntoPHI() local
382 NewLI->setDebugLoc(FirstLI->getDebugLoc()); in FoldPHIArgLoadIntoPHI()
383 return NewLI; in FoldPHIArgLoadIntoPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp2415 LoadInst &NewLI) { in copyNonnullMetadata() argument
2416 auto *NewTy = NewLI.getType(); in copyNonnullMetadata()
2420 NewLI.setMetadata(LLVMContext::MD_nonnull, N); in copyNonnullMetadata()
2429 MDBuilder MDB(NewLI.getContext()); in copyNonnullMetadata()
2435 NewLI.setMetadata(LLVMContext::MD_range, in copyNonnullMetadata()
2440 MDNode *N, LoadInst &NewLI) { in copyRangeMetadata() argument
2441 auto *NewTy = NewLI.getType(); in copyRangeMetadata()
2453 NewLI.setMetadata(LLVMContext::MD_nonnull, NN); in copyRangeMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2475 LoadInst *NewLI = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), in visitLoadInst() local
2478 NewLI->setAAMetadata(AATags); in visitLoadInst()
2480 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2493 copyNonnullMetadata(LI, N, *NewLI); in visitLoadInst()
2496 V = NewLI; in visitLoadInst()
2511 LoadInst *NewLI = IRB.CreateAlignedLoad(getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst() local
2515 NewLI->setAAMetadata(AATags); in visitLoadInst()
2517 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2519 V = NewLI; in visitLoadInst()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2586 Instruction *NewLI; in vectorizeMemoryInstruction() local
2589 NewLI = Builder.CreateMaskedGather(VectorGep[Part], Alignment, MaskPart, in vectorizeMemoryInstruction()
2591 Entry[Part] = NewLI; in vectorizeMemoryInstruction()
2608 NewLI = Builder.CreateMaskedLoad(VecPtr, Alignment, Mask[Part], in vectorizeMemoryInstruction()
2612 NewLI = Builder.CreateAlignedLoad(VecPtr, Alignment, "wide.load"); in vectorizeMemoryInstruction()
2613 Entry[Part] = Reverse ? reverseVector(NewLI) : NewLI; in vectorizeMemoryInstruction()
2615 addMetadata(NewLI, LI); in vectorizeMemoryInstruction()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2389 LoadInst *NewLI = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), in visitLoadInst() local
2392 NewLI->setAtomic(LI.getOrdering(), LI.getSynchScope()); in visitLoadInst()
2393 V = NewLI; in visitLoadInst()
2408 LoadInst *NewLI = IRB.CreateAlignedLoad(getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst() local
2412 NewLI->setAtomic(LI.getOrdering(), LI.getSynchScope()); in visitLoadInst()
2414 V = NewLI; in visitLoadInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2498 Value *NewLI; in vectorizeMemoryInstruction() local
2502 NewLI = Builder.CreateMaskedGather(VectorGep, Alignment, MaskPart, in vectorizeMemoryInstruction()
2504 addMetadata(NewLI, LI); in vectorizeMemoryInstruction()
2508 NewLI = Builder.CreateMaskedLoad(VecPtr, Alignment, Mask[Part], in vectorizeMemoryInstruction()
2512 NewLI = Builder.CreateAlignedLoad(VecPtr, Alignment, "wide.load"); in vectorizeMemoryInstruction()
2515 addMetadata(NewLI, LI); in vectorizeMemoryInstruction()
2517 NewLI = reverseVector(NewLI); in vectorizeMemoryInstruction()
2519 VectorLoopValueMap.setVectorValue(Instr, Part, NewLI); in vectorizeMemoryInstruction()