Home
last modified time | relevance | path

Searched refs:OperandVal (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp697 Constant *OperandVal = nullptr; in visitPHINode() local
708 if (!OperandVal) { // Grab the first value. in visitPHINode()
709 OperandVal = IV.getConstant(); in visitPHINode()
719 if (IV.getConstant() != OperandVal) in visitPHINode()
728 if (OperandVal) in visitPHINode()
729 markConstant(&PN, OperandVal); // Acquire operand value in visitPHINode()
DLoopInterchange.cpp909 const SCEV *OperandVal = SE->getSCEV(GEP->getOperand(i)); in getInstrOrderCost() local
910 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(OperandVal); in getInstrOrderCost()
DLoopStrengthReduce.cpp676 static bool isAddressUse(Instruction *Inst, Value *OperandVal) { in isAddressUse() argument
679 if (SI->getOperand(1) == OperandVal) in isAddressUse()
687 if (II->getArgOperand(0) == OperandVal) in isAddressUse()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp801 Constant *OperandVal = nullptr; in visitPHINode() local
812 if (!OperandVal) { // Grab the first value. in visitPHINode()
813 OperandVal = IV.getConstant(); in visitPHINode()
823 if (IV.getConstant() != OperandVal) in visitPHINode()
831 if (OperandVal) in visitPHINode()
832 markConstant(&PN, OperandVal); // Acquire operand value in visitPHINode()
DLoopStrengthReduce.cpp799 Instruction *Inst, Value *OperandVal) { in isAddressUse() argument
802 if (SI->getPointerOperand() == OperandVal) in isAddressUse()
810 if (II->getArgOperand(0) == OperandVal) in isAddressUse()
815 if (II->getArgOperand(0) == OperandVal || in isAddressUse()
816 II->getArgOperand(1) == OperandVal) in isAddressUse()
822 if (IntrInfo.PtrVal == OperandVal) in isAddressUse()
828 if (RMW->getPointerOperand() == OperandVal) in isAddressUse()
831 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()
839 Instruction *Inst, Value *OperandVal) { in getAccessType() argument
855 AccessTy.MemTy = OperandVal->getType(); in getAccessType()
[all …]
DLoopInterchange.cpp1043 const SCEV *OperandVal = SE->getSCEV(GEP->getOperand(i)); in getInstrOrderCost() local
1044 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(OperandVal); in getInstrOrderCost()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp803 Instruction *Inst, Value *OperandVal) { in isAddressUse() argument
806 if (SI->getPointerOperand() == OperandVal) in isAddressUse()
815 if (II->getArgOperand(0) == OperandVal) in isAddressUse()
819 if (II->getArgOperand(1) == OperandVal) in isAddressUse()
824 if (II->getArgOperand(0) == OperandVal || in isAddressUse()
825 II->getArgOperand(1) == OperandVal) in isAddressUse()
831 if (IntrInfo.PtrVal == OperandVal) in isAddressUse()
837 if (RMW->getPointerOperand() == OperandVal) in isAddressUse()
840 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()
848 Instruction *Inst, Value *OperandVal) { in getAccessType() argument
[all …]
DLoopInterchange.cpp1045 const SCEV *OperandVal = SE->getSCEV(GEP->getOperand(i)); in getInstrOrderCost() local
1046 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(OperandVal); in getInstrOrderCost()