Searched refs:castOp (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/ |
| H A D | LowerToLLVM.cpp | 573 cir::CastOp castOp, OpAdaptor adaptor, in matchAndRewrite() argument 579 switch (castOp.getKind()) { in matchAndRewrite() 581 const auto ptrTy = mlir::cast<cir::PointerType>(castOp.getType()); in matchAndRewrite() 588 castOp, targetType, elementTy, sourceValue, offset); in matchAndRewrite() 594 castOp.getLoc(), llvmSrcVal.getType(), 0); in matchAndRewrite() 596 castOp, mlir::LLVM::ICmpPredicate::ne, llvmSrcVal, zeroInt); in matchAndRewrite() 600 mlir::Type srcType = castOp.getSrc().getType(); in matchAndRewrite() 601 mlir::Type dstType = castOp.getType(); in matchAndRewrite() 608 rewriter.replaceOp(castOp, getLLVMIntCast(rewriter, llvmSrcVal, llvmDstType, in matchAndRewrite() 616 mlir::Type llvmDstTy = getTypeConverter()->convertType(castOp.getType()); in matchAndRewrite() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/OpenACC/ |
| H A D | CIROpenACCTypeInterfaces.cpp | 28 if (auto castOp = mlir::dyn_cast<cir::CastOp>(*op)) in getBaseType() local 29 return getBaseType(castOp.getSrc()); in getBaseType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 172 seen(I, validateRange(Input.castOp(CastOp, MaxIntegerBW+1))); in walkBackwards() 281 return OpRanges[0].castOp(CastOp, MaxIntegerBW+1); in calcRange()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 365 LLVM_ABI ConstantRange castOp(Instruction::CastOps CastOp,
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 930 return ValueLatticeElement::getRange(LHSRange.castOp(CI->getOpcode(), in solveBlockValueCast()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 1402 OpRange.castOp(I.getOpcode(), DestTy->getScalarSizeInBits()); in visitCastInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 788 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, in castOp() function in ConstantRange
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9433 T.unionAssumed(OpAA->getAssumed().castOp(CastI->getOpcode(), in calculateCastInst()
|