Home
last modified time | relevance | path

Searched refs:SimplifyBinOp (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp42 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/
DInstructionSimplify.cpp64 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 …]
DLoopUnrollAnalyzer.cpp85 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
DInlineCost.cpp771 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp194 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 …]
DInstCombineSelect.cpp297 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/
DInstructionCombining.cpp208 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/
DInstructionSimplify.h146 Value *SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS,
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h288 Value *SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS,