Home
last modified time | relevance | path

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

/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/4.0/
H A DInstCombinePHI.cpp302 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
306 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
314 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
315 unsigned LoadAlignment = FirstLI->getAlignment(); in FoldPHIArgLoadIntoPHI()
316 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
320 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
321 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
328 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
362 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
366 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp544 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
548 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
556 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
557 MaybeAlign LoadAlignment(FirstLI->getAlignment()); in FoldPHIArgLoadIntoPHI()
558 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
562 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
563 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
570 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
604 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
608 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp544 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
548 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
556 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
557 Align LoadAlignment = FirstLI->getAlign(); in FoldPHIArgLoadIntoPHI()
558 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
562 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
563 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
570 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
599 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
603 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp544 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
548 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
556 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
557 MaybeAlign LoadAlignment(FirstLI->getAlignment()); in FoldPHIArgLoadIntoPHI()
558 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
562 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
563 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
570 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
604 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
608 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp544 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
548 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
556 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
557 Align LoadAlignment = FirstLI->getAlign(); in FoldPHIArgLoadIntoPHI()
558 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
562 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
563 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
570 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
599 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
603 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp544 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
548 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
556 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
557 MaybeAlign LoadAlignment(FirstLI->getAlignment()); in FoldPHIArgLoadIntoPHI()
558 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
562 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
563 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
570 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
604 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
608 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp532 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
536 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
544 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
545 unsigned LoadAlignment = FirstLI->getAlignment(); in FoldPHIArgLoadIntoPHI()
546 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
550 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
551 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
558 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
592 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
596 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/
H A DInstCombinePHI.cpp541 LoadInst* FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
545 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
553 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
554 unsigned LoadAlignment = FirstLI->getAlignment(); in FoldPHIArgLoadIntoPHI()
555 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
559 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
560 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
567 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
601 PHINode* NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
605 Value* InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp533 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
537 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
545 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
546 unsigned LoadAlignment = FirstLI->getAlignment(); in FoldPHIArgLoadIntoPHI()
547 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
551 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
552 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
559 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
593 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
597 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp533 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
537 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
545 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
546 unsigned LoadAlignment = FirstLI->getAlignment(); in FoldPHIArgLoadIntoPHI()
547 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
551 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
552 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
559 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
593 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
597 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp636 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
640 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
648 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
649 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
650 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
654 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
655 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
662 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
691 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
695 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp630 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
634 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
642 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
643 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
644 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
648 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
649 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
656 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
685 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
689 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp636 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
640 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
648 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
649 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
650 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
654 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
655 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
662 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
691 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
695 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp636 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
640 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
648 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
649 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
650 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
654 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
655 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
662 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
691 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
695 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp636 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
640 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
648 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
649 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
650 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
654 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
655 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
662 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
691 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
695 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp636 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
640 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
648 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
649 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
650 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
654 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
655 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
662 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
691 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
695 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp659 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
663 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
671 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
672 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
673 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
677 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
678 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
685 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
714 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
718 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp636 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
640 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
648 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
649 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
650 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
654 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
655 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
662 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
691 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
695 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp636 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in foldPHIArgLoadIntoPHI() local
640 if (FirstLI->isAtomic()) in foldPHIArgLoadIntoPHI()
648 bool isVolatile = FirstLI->isVolatile(); in foldPHIArgLoadIntoPHI()
649 Align LoadAlignment = FirstLI->getAlign(); in foldPHIArgLoadIntoPHI()
650 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in foldPHIArgLoadIntoPHI()
654 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in foldPHIArgLoadIntoPHI()
655 !isSafeAndProfitableToSinkLoad(FirstLI)) in foldPHIArgLoadIntoPHI()
662 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in foldPHIArgLoadIntoPHI()
691 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in foldPHIArgLoadIntoPHI()
695 Value *InVal = FirstLI->getOperand(0); in foldPHIArgLoadIntoPHI()
[all …]