Home
last modified time | relevance | path

Searched refs:castOp (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp573 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 DCIROpenACCTypeInterfaces.cpp28 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 DFloat2Int.cpp172 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 DConstantRange.h365 LLVM_ABI ConstantRange castOp(Instruction::CastOps CastOp,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp930 return ValueLatticeElement::getRange(LHSRange.castOp(CI->getOpcode(), in solveBlockValueCast()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1402 OpRange.castOp(I.getOpcode(), DestTy->getScalarSizeInBits()); in visitCastInst()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp788 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, in castOp() function in ConstantRange
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp9433 T.unionAssumed(OpAA->getAssumed().castOp(CastI->getOpcode(), in calculateCastInst()