Home
last modified time | relevance | path

Searched refs:getIntegerCast (Results 1 – 20 of 20) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp289 UMin->replaceAllUsesWith(ConstantExpr::getIntegerCast( in processUse()
313 ConstantExpr::getIntegerCast(KnownSize, GroupSize->getType(), false)); in processUse()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLocal.cpp63 ConstantExpr::getIntegerCast(OpC, IntIdxTy, true /*SExt*/); in emitGEPOffset()
H A DConstantFolding.cpp1239 Constant *C = ConstantExpr::getIntegerCast(CE0->getOperand(0), in ConstantFoldCompareInstOperands()
1264 Constant *C0 = ConstantExpr::getIntegerCast(CE0->getOperand(0), in ConstantFoldCompareInstOperands()
1266 Constant *C1 = ConstantExpr::getIntegerCast(CE1->getOperand(0), in ConstantFoldCompareInstOperands()
1423 FoldedValue = ConstantExpr::getIntegerCast( in ConstantFoldCastOperand()
1453 return ConstantExpr::getIntegerCast(FoldedValue, DestTy, in ConstantFoldCastOperand()
H A DValueTracking.cpp4064 ConstantExpr::getIntegerCast(CE->getOperand(0), in isBytewiseValue()
6500 CastedTo = ConstantExpr::getIntegerCast(C, SrcTy, CmpI->isSigned()); in lookThroughCast()
H A DInstructionSimplify.cpp896 return ConstantExpr::getIntegerCast(Result, Op0->getType(), true); in simplifySubInst()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DConstantFolder.h193 return ConstantExpr::getIntegerCast(C, DestTy, isSigned); in CreateIntCast()
H A DConstants.h1196 getIntegerCast(Constant *C, ///< The integer constant to be casted
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetFolder.h198 return Fold(ConstantExpr::getIntegerCast(C, DestTy, isSigned)); in CreateIntCast()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp369 C = ConstantExpr::getIntegerCast(C, Ty, false); in getReducedOperand()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp193 C = ConstantExpr::getIntegerCast(C, Ty, isSigned /*Sext or ZExt*/); in EvaluateInDifferentType()
731 auto *ShAmt = ConstantExpr::getIntegerCast(C, A->getType(), true); in narrowBinOp()
H A DInstCombineCalls.cpp2164 CV0 = ConstantExpr::getIntegerCast(CV0, NewVT, /*isSigned=*/!Zext); in visitCallInst()
2165 CV1 = ConstantExpr::getIntegerCast(CV1, NewVT, /*isSigned=*/!Zext); in visitCallInst()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp2025 Op = ConstantExpr::getIntegerCast(Op, DL.getIntPtrType(CV->getType()), in lowerConstantForGV()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprConstant.cpp1901 C = llvm::ConstantExpr::getIntegerCast(getOffset(), intptrTy, in tryEmitAbsolute()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2949 Op = ConstantExpr::getIntegerCast(Op, DL.getIntPtrType(CV->getType()), in lowerConstant()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp2067 Constant *ConstantExpr::getIntegerCast(Constant *C, Type *Ty, bool isSigned) { in getIntegerCast() function in ConstantExpr
H A DInstructions.cpp798 Constant *Scale = ConstantExpr::getIntegerCast(CO, IntPtrTy, in createMalloc()
H A DCore.cpp1771 return wrap(ConstantExpr::getIntegerCast(unwrap<Constant>(ConstantVal), in LLVMConstIntCast()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp504 ConstantExpr::getIntegerCast(CI, PtrTy, /*isSigned=*/false)); in GetConstantInt()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1263 See the method [llvm::ConstantExpr::getIntegerCast]. *)
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp5714 Operands.back().push_back(ConstantExpr::getIntegerCast( in buildTree_rec()