/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | InlineSpiller.cpp | 179 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 …]
|
D | StrongPHIElimination.cpp | 346 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()
|
D | LiveIntervalAnalysis.cpp | 745 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/ |
D | LiveRangeEdit.cpp | 363 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()
|
D | AtomicExpandPass.cpp | 378 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()
|
D | RenameIndependentSubregs.cpp | 143 LiveInterval &NewLI = LIS->createEmptyInterval(NewVReg); in INITIALIZE_PASS_DEPENDENCY() local 144 Intervals.push_back(&NewLI); in INITIALIZE_PASS_DEPENDENCY()
|
D | LiveIntervals.cpp | 1649 LiveInterval &NewLI = createEmptyInterval(NewVReg); in splitSeparateComponents() local 1650 SplitLIs.push_back(&NewLI); in splitSeparateComponents()
|
/external/llvm/lib/CodeGen/ |
D | LiveRangeEdit.cpp | 337 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()
|
D | RenameIndependentSubregs.cpp | 143 LiveInterval &NewLI = LIS->createEmptyInterval(NewVReg); in INITIALIZE_PASS_DEPENDENCY() local 144 Intervals.push_back(&NewLI); in INITIALIZE_PASS_DEPENDENCY()
|
D | AtomicExpandPass.cpp | 368 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()
|
D | LiveIntervalAnalysis.cpp | 1565 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/ |
D | HexagonCFGOptimizer.cpp | 230 for (const auto &NewLI : NewLiveIn) in runOnMachineFunction() local 231 LayoutSucc->addLiveIn(NewLI); in runOnMachineFunction()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonCFGOptimizer.cpp | 223 for (const auto &NewLI : NewLiveIn) in runOnMachineFunction() local 224 LayoutSucc->addLiveIn(NewLI); in runOnMachineFunction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 343 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/ |
D | Local.h | 423 void copyNonnullMetadata(const LoadInst &OldLI, MDNode *N, LoadInst &NewLI); 430 LoadInst &NewLI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 599 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()
|
D | InstCombineLoadStoreAlloca.cpp | 1375 LoadInst *NewLI = combineLoadToNewType( in removeBitcastsFromLoadStoreOnMinMax() local 1381 combineStoreToNewValue(IC, *USI, NewLI); in removeBitcastsFromLoadStoreOnMinMax()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 381 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/ |
D | Local.cpp | 2415 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/ |
D | SROA.cpp | 2475 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/ |
D | LoopVectorize.cpp | 2586 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/ |
D | SROA.cpp | 2389 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/ |
D | LoopVectorize.cpp | 2498 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()
|