Home
last modified time | relevance | path

Searched refs:ConstantFoldBinaryInstruction (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DConstantFolder.h50 return ConstantFoldBinaryInstruction(Opc, LC, RC); in FoldBinOp()
63 return ConstantFoldBinaryInstruction(Opc, LC, RC); in FoldExactBinOp()
81 return ConstantFoldBinaryInstruction(Opc, LC, RC); in FoldNoWrapBinOp()
H A DConstantFold.h51 Constant *ConstantFoldBinaryInstruction(unsigned Opcode, Constant *V1,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp873 Constant *llvm::ConstantFoldBinaryInstruction(unsigned Opcode, Constant *C1, in ConstantFoldBinaryInstruction() function in llvm
1225 : ConstantFoldBinaryInstruction(Opcode, C1Splat, C2Splat); in ConstantFoldBinaryInstruction()
1247 : ConstantFoldBinaryInstruction(Opcode, LHS, RHS); in ConstantFoldBinaryInstruction()
1273 return ConstantFoldBinaryInstruction(Opcode, C2, C1); in ConstantFoldBinaryInstruction()
2238 ConstantFoldBinaryInstruction(Instruction::SRem, CurrIdx, Factor); in ConstantFoldGetElementPtr()
2241 ConstantFoldBinaryInstruction(Instruction::SDiv, CurrIdx, Factor); in ConstantFoldGetElementPtr()
H A DConstants.cpp2311 if (Constant *FC = ConstantFoldBinaryInstruction(Opcode, C1, C2)) in get()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DConstantFolding.cpp1348 return ConstantFoldBinaryInstruction(Opcode, LHS, RHS); in ConstantFoldBinaryOpOperands()