Searched refs:SelectOp (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/ |
| H A D | CIRSimplify.cpp | 74 rewriter.replaceOpWithNewOp<cir::SelectOp>(op, op.getCond(), trueValue, in matchAndRewrite() 124 struct SimplifySelect : public OpRewritePattern<SelectOp> { 125 using OpRewritePattern<SelectOp>::OpRewritePattern; 127 LogicalResult matchAndRewrite(SelectOp op, in matchAndRewrite() 317 if (isa<TernaryOp, SelectOp, SwitchOp, VecSplatOp>(op)) in runOnOperation()
|
| H A D | CIRCanonicalize.cpp | 143 if (isa<BrOp, BrCondOp, CastOp, ScopeOp, SwitchOp, SelectOp, UnaryOp, in runOnOperation()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/ |
| H A D | LowerToLLVM.h | 342 : public mlir::OpConversionPattern<cir::SelectOp> { 344 using mlir::OpConversionPattern<cir::SelectOp>::OpConversionPattern; 347 matchAndRewrite(cir::SelectOp op, OpAdaptor,
|
| H A D | LowerToLLVM.cpp | 479 auto select = rewriter.create<mlir::LLVM::SelectOp>( in matchAndRewrite() 842 rewriter.replaceOpWithNewOp<mlir::LLVM::SelectOp>(baseClassOp, isNull, in matchAndRewrite() 1816 cir::SelectOp op, OpAdaptor adaptor, in matchAndRewrite() 1852 rewriter.replaceOpWithNewOp<mlir::LLVM::SelectOp>( in matchAndRewrite() 2376 rewriter.replaceOpWithNewOp<mlir::LLVM::SelectOp>( in matchAndRewrite()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/ |
| H A D | CIRBaseBuilder.h | 335 return create<cir::SelectOp>(loc, trueValue.getType(), condition, trueValue, in createSelect()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 3658 unsigned SelectOp; in selectFirstBitSet64() local 3666 SelectOp = SPIRV::OpSelectSISCond; in selectFirstBitSet64() 3675 SelectOp = SPIRV::OpSelectVIVCond; in selectFirstBitSet64() 3702 SelectOp)) in selectFirstBitSet64() 3708 {BReg, SecondaryShiftReg, PrimaryShiftReg}, SelectOp)) in selectFirstBitSet64()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRDialect.cpp | 1602 OpFoldResult cir::SelectOp::fold(FoldAdaptor adaptor) { in fold()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/ |
| H A D | CIROps.td | 1452 // SelectOp 1455 def SelectOp : CIR_Op<"select", [Pure,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 1059 auto MatchSelectAndCast = [&](Value *CastOp, Value *SelectOp) { in foldBinOpOfSelectAndCastOfSelectCondition() argument 1062 match(SelectOp, m_Select(m_Value(CondVal), m_Value(TrueVal), in foldBinOpOfSelectAndCastOfSelectCondition()
|