Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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,
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp676 Constant *llvm::ConstantFoldBinaryInstruction(unsigned Opcode, Constant *C1, in ConstantFoldBinaryInstruction() function in llvm
887 : ConstantFoldBinaryInstruction(Opcode, C2, C1); in ConstantFoldBinaryInstruction()
987 : ConstantFoldBinaryInstruction(Opcode, C1Splat, C2Splat); in ConstantFoldBinaryInstruction()
1009 : ConstantFoldBinaryInstruction(Opcode, LHS, RHS); in ConstantFoldBinaryInstruction()
1035 return ConstantFoldBinaryInstruction(Opcode, C2, C1); in ConstantFoldBinaryInstruction()
1684 ConstantFoldBinaryInstruction(Instruction::SRem, CurrIdx, Factor); in ConstantFoldGetElementPtr()
1687 ConstantFoldBinaryInstruction(Instruction::SDiv, CurrIdx, Factor); in ConstantFoldGetElementPtr()
H A DConstants.cpp2110 if (Constant *FC = ConstantFoldBinaryInstruction(Opcode, C1, C2)) in get()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2160 Constant *Piece = ConstantFoldBinaryInstruction( in collectInsertionElements()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1312 return ConstantFoldBinaryInstruction(Opcode, LHS, RHS); in ConstantFoldBinaryOpOperands()