Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp745 Constant *OperandVal = nullptr; in visitPHINode() local
756 if (!OperandVal) { // Grab the first value. in visitPHINode()
757 OperandVal = IV.getConstant(); in visitPHINode()
767 if (IV.getConstant() != OperandVal) in visitPHINode()
775 if (OperandVal) in visitPHINode()
776 markConstant(&PN, OperandVal); // Acquire operand value in visitPHINode()
DLoopStrengthReduce.cpp785 Instruction *Inst, Value *OperandVal) { in isAddressUse() argument
788 if (SI->getPointerOperand() == OperandVal) in isAddressUse()
796 if (II->getArgOperand(0) == OperandVal) in isAddressUse()
801 if (II->getArgOperand(0) == OperandVal || in isAddressUse()
802 II->getArgOperand(1) == OperandVal) in isAddressUse()
808 if (IntrInfo.PtrVal == OperandVal) in isAddressUse()
814 if (RMW->getPointerOperand() == OperandVal) in isAddressUse()
817 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()
825 Instruction *Inst, Value *OperandVal) { in getAccessType() argument
841 AccessTy.MemTy = OperandVal->getType(); in getAccessType()
[all …]
DLoopInterchange.cpp1085 const SCEV *OperandVal = SE->getSCEV(GEP->getOperand(i)); in getInstrOrderCost() local
1086 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(OperandVal); in getInstrOrderCost()
/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/lib/Transforms/Scalar/
DSCCP.cpp732 Constant *OperandVal = 0; in visitPHINode() local
743 if (OperandVal == 0) { // Grab the first value. in visitPHINode()
744 OperandVal = IV.getConstant(); in visitPHINode()
754 if (IV.getConstant() != OperandVal) in visitPHINode()
763 if (OperandVal) in visitPHINode()
764 markConstant(&PN, OperandVal); // Acquire operand value in visitPHINode()
DLoopStrengthReduce.cpp588 static bool isAddressUse(Instruction *Inst, Value *OperandVal) { in isAddressUse() argument
591 if (SI->getOperand(1) == OperandVal) in isAddressUse()
603 if (II->getArgOperand(0) == OperandVal) in isAddressUse()