Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DInstructionSimplify.cpp42 static Value *SimplifyBinOp(unsigned, Value *, Value *, const TargetData *,
90 if (Value *L = SimplifyBinOp(Opcode, A, C, TD, DT, MaxRecurse)) in ExpandBinOp()
91 if (Value *R = SimplifyBinOp(Opcode, B, C, TD, DT, MaxRecurse)) { in ExpandBinOp()
100 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT, in ExpandBinOp()
114 if (Value *L = SimplifyBinOp(Opcode, A, B, TD, DT, MaxRecurse)) in ExpandBinOp()
115 if (Value *R = SimplifyBinOp(Opcode, A, C, TD, DT, MaxRecurse)) { in ExpandBinOp()
124 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT, in ExpandBinOp()
165 if (Value *V = SimplifyBinOp(Opcode, B, DD, TD, DT, MaxRecurse)) { in FactorizeBinOp()
174 if (Value *W = SimplifyBinOp(OpcodeToExtract, A, V, TD, DT, MaxRecurse)) { in FactorizeBinOp()
188 if (Value *V = SimplifyBinOp(Opcode, A, CC, TD, DT, MaxRecurse)) { in FactorizeBinOp()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp155 if (Value *V = SimplifyBinOp(Opcode, B, C, TD)) { in SimplifyAssociativeOrCommutative()
175 if (Value *V = SimplifyBinOp(Opcode, A, B, TD)) { in SimplifyAssociativeOrCommutative()
197 if (Value *V = SimplifyBinOp(Opcode, C, A, TD)) { in SimplifyAssociativeOrCommutative()
217 if (Value *V = SimplifyBinOp(Opcode, C, A, TD)) { in SimplifyAssociativeOrCommutative()
343 Value *V = SimplifyBinOp(TopLevelOpcode, B, D, TD); in SimplifyUsingDistributiveLaws()
365 Value *V = SimplifyBinOp(TopLevelOpcode, A, C, TD); in SimplifyUsingDistributiveLaws()
387 if (Value *L = SimplifyBinOp(TopLevelOpcode, A, C, TD)) in SimplifyUsingDistributiveLaws()
388 if (Value *R = SimplifyBinOp(TopLevelOpcode, B, C, TD)) { in SimplifyUsingDistributiveLaws()
396 if (Value *V = SimplifyBinOp(InnerOpcode, L, R, TD)) in SimplifyUsingDistributiveLaws()
412 if (Value *L = SimplifyBinOp(TopLevelOpcode, A, B, TD)) in SimplifyUsingDistributiveLaws()
[all …]
DInstCombineSelect.cpp296 return SimplifyBinOp(B->getOpcode(), RepOp, B->getOperand(1), TD); in SimplifyWithOpReplaced()
298 return SimplifyBinOp(B->getOpcode(), B->getOperand(0), RepOp, TD); in SimplifyWithOpReplaced()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h139 Value *SimplifyBinOp(unsigned Opcode, Value *LHS, Value *RHS,