/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 42 static Value *SimplifyBinOp(unsigned, Value *, Value *, const TargetData *, 110 if (Value *L = SimplifyBinOp(Opcode, A, C, TD, DT, MaxRecurse)) in ExpandBinOp() 111 if (Value *R = SimplifyBinOp(Opcode, B, C, TD, DT, MaxRecurse)) { in ExpandBinOp() 120 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT, in ExpandBinOp() 134 if (Value *L = SimplifyBinOp(Opcode, A, B, TD, DT, MaxRecurse)) in ExpandBinOp() 135 if (Value *R = SimplifyBinOp(Opcode, A, C, TD, DT, MaxRecurse)) { in ExpandBinOp() 144 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT, in ExpandBinOp() 185 if (Value *V = SimplifyBinOp(Opcode, B, DD, TD, DT, MaxRecurse)) { in FactorizeBinOp() 194 if (Value *W = SimplifyBinOp(OpcodeToExtract, A, V, TD, DT, MaxRecurse)) { in FactorizeBinOp() 208 if (Value *V = SimplifyBinOp(Opcode, A, CC, TD, DT, MaxRecurse)) { in FactorizeBinOp() [all …]
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 64 static Value *SimplifyBinOp(unsigned, Value *, Value *, const Query &, 154 if (Value *L = SimplifyBinOp(Opcode, A, C, Q, MaxRecurse)) in ExpandBinOp() 155 if (Value *R = SimplifyBinOp(Opcode, B, C, Q, MaxRecurse)) { in ExpandBinOp() 164 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, Q, MaxRecurse)) { in ExpandBinOp() 177 if (Value *L = SimplifyBinOp(Opcode, A, B, Q, MaxRecurse)) in ExpandBinOp() 178 if (Value *R = SimplifyBinOp(Opcode, A, C, Q, MaxRecurse)) { in ExpandBinOp() 187 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, Q, MaxRecurse)) { in ExpandBinOp() 218 if (Value *V = SimplifyBinOp(Opcode, B, C, Q, MaxRecurse)) { in SimplifyAssociativeBinOp() 223 if (Value *W = SimplifyBinOp(Opcode, A, V, Q, MaxRecurse)) { in SimplifyAssociativeBinOp() 237 if (Value *V = SimplifyBinOp(Opcode, A, B, Q, MaxRecurse)) { in SimplifyAssociativeBinOp() [all …]
|
D | LoopUnrollAnalyzer.cpp | 85 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
|
D | InlineCost.cpp | 771 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 194 if (Value *V = SimplifyBinOp(Opcode, B, C, TD)) { in SimplifyAssociativeOrCommutative() 223 if (Value *V = SimplifyBinOp(Opcode, A, B, TD)) { in SimplifyAssociativeOrCommutative() 245 if (Value *V = SimplifyBinOp(Opcode, C, A, TD)) { in SimplifyAssociativeOrCommutative() 265 if (Value *V = SimplifyBinOp(Opcode, C, A, TD)) { in SimplifyAssociativeOrCommutative() 392 Value *V = SimplifyBinOp(TopLevelOpcode, B, D, TD); in SimplifyUsingDistributiveLaws() 414 Value *V = SimplifyBinOp(TopLevelOpcode, A, C, TD); in SimplifyUsingDistributiveLaws() 436 if (Value *L = SimplifyBinOp(TopLevelOpcode, A, C, TD)) in SimplifyUsingDistributiveLaws() 437 if (Value *R = SimplifyBinOp(TopLevelOpcode, B, C, TD)) { in SimplifyUsingDistributiveLaws() 445 if (Value *V = SimplifyBinOp(InnerOpcode, L, R, TD)) in SimplifyUsingDistributiveLaws() 461 if (Value *L = SimplifyBinOp(TopLevelOpcode, A, B, TD)) in SimplifyUsingDistributiveLaws() [all …]
|
D | InstCombineSelect.cpp | 297 return SimplifyBinOp(B->getOpcode(), RepOp, B->getOperand(1), TD); in SimplifyWithOpReplaced() 299 return SimplifyBinOp(B->getOpcode(), B->getOperand(0), RepOp, TD); in SimplifyWithOpReplaced()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 208 if (Value *V = SimplifyBinOp(Opcode, B, C, DL)) { in SimplifyAssociativeOrCommutative() 237 if (Value *V = SimplifyBinOp(Opcode, A, B, DL)) { in SimplifyAssociativeOrCommutative() 259 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) { in SimplifyAssociativeOrCommutative() 279 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) { in SimplifyAssociativeOrCommutative() 477 V = SimplifyBinOp(TopLevelOpcode, B, D, DL); in tryFactorization() 496 V = SimplifyBinOp(TopLevelOpcode, A, C, DL); in tryFactorization() 588 if (Value *L = SimplifyBinOp(TopLevelOpcode, A, C, DL)) in SimplifyUsingDistributiveLaws() 589 if (Value *R = SimplifyBinOp(TopLevelOpcode, B, C, DL)) { in SimplifyUsingDistributiveLaws() 597 if (Value *V = SimplifyBinOp(InnerOpcode, L, R, DL)) in SimplifyUsingDistributiveLaws() 613 if (Value *L = SimplifyBinOp(TopLevelOpcode, A, B, DL)) in SimplifyUsingDistributiveLaws() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | InstructionSimplify.h | 146 Value *SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS,
|
/external/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 288 Value *SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS,
|