Home
last modified time | relevance | path

Searched refs:MOps (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp190 static bool matchAndOrChain(Value *V, MaskOps &MOps) { in matchAndOrChain() argument
192 if (MOps.MatchAndChain) { in matchAndOrChain()
197 MOps.FoundAnd1 = true; in matchAndOrChain()
198 return matchAndOrChain(Op0, MOps); in matchAndOrChain()
201 return matchAndOrChain(Op0, MOps) && matchAndOrChain(Op1, MOps); in matchAndOrChain()
205 return matchAndOrChain(Op0, MOps) && matchAndOrChain(Op1, MOps); in matchAndOrChain()
216 if (!MOps.Root) in matchAndOrChain()
217 MOps.Root = Candidate; in matchAndOrChain()
220 if (BitIndex && BitIndex->uge(MOps.Mask.getBitWidth())) in matchAndOrChain()
224 MOps.Mask.setBit(BitIndex ? BitIndex->getZExtValue() : 0); in matchAndOrChain()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp176 static bool matchAndOrChain(Value *V, MaskOps &MOps) { in matchAndOrChain() argument
178 if (MOps.MatchAndChain) { in matchAndOrChain()
183 MOps.FoundAnd1 = true; in matchAndOrChain()
184 return matchAndOrChain(Op0, MOps); in matchAndOrChain()
187 return matchAndOrChain(Op0, MOps) && matchAndOrChain(Op1, MOps); in matchAndOrChain()
191 return matchAndOrChain(Op0, MOps) && matchAndOrChain(Op1, MOps); in matchAndOrChain()
202 if (!MOps.Root) in matchAndOrChain()
203 MOps.Root = Candidate; in matchAndOrChain()
206 if (BitIndex >= MOps.Mask.getBitWidth()) in matchAndOrChain()
210 MOps.Mask.setBit(BitIndex); in matchAndOrChain()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp3431 SmallVector<MachineOperand, 2> MOps; in swapMIOperands() local
3434 MOps.push_back(MI.getOperand(i)); in swapMIOperands()
3444 MI.addOperand(MOps.back()); in swapMIOperands()
3445 MOps.pop_back(); in swapMIOperands()
3678 SmallVector<MachineOperand, 2> MOps; in transformToImmFormFedByAdd() local
3680 MOps.push_back(MI.getOperand(i)); in transformToImmFormFedByAdd()
3685 MOps.pop_back(); in transformToImmFormFedByAdd()
3689 for (auto &MO : MOps) in transformToImmFormFedByAdd()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp3864 SmallVector<MachineOperand, 2> MOps; in swapMIOperands() local
3867 MOps.push_back(MI.getOperand(i)); in swapMIOperands()
3877 MI.addOperand(MOps.back()); in swapMIOperands()
3878 MOps.pop_back(); in swapMIOperands()
4454 SmallVector<MachineOperand, 2> MOps; in transformToImmFormFedByAdd() local
4456 MOps.push_back(MI.getOperand(i)); in transformToImmFormFedByAdd()
4461 MOps.pop_back(); in transformToImmFormFedByAdd()
4465 for (auto &MO : MOps) in transformToImmFormFedByAdd()