Home
last modified time | relevance | path

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

/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/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/Target/Hexagon/
DHexagonCFGOptimizer.cpp223 for (const auto &NewLI : NewLiveIn) in runOnMachineFunction() local
224 LayoutSucc->addLiveIn(NewLI); in runOnMachineFunction()
/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/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-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()