Home
last modified time | relevance | path

Searched defs:DivRemPairWorklistEntry (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp78 struct DivRemPairWorklistEntry { struct
80 AssertingVH<Instruction> DivInst;
84 AssertingVH<Instruction> RemInst;
86 DivRemPairWorklistEntry(Instruction *DivInst_, Instruction *RemInst_) in DivRemPairWorklistEntry() function
97 Type *getType() const { return DivInst->getType(); } in getType()
100 bool isSigned() const { return DivInst->getOpcode() == Instruction::SDiv; } in isSigned()
103 Value *getDividend() const { return DivInst->getOperand(0); } in getDividend()
104 Value *getDivisor() const { return DivInst->getOperand(1); } in getDivisor()
106 bool isRemExpanded() const { in isRemExpanded()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp76 struct DivRemPairWorklistEntry { struct
84 DivRemPairWorklistEntry(Instruction *DivInst_, Instruction *RemInst_) in DivRemPairWorklistEntry() argument
114 using DivRemWorklistTy = SmallVector<DivRemPairWorklistEntry, 4>; argument