Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp
H A DEvaluator.cpp195 MV->Val = ConstantExpr::getBitCast(V, MVType); in write()
475 InstResult = ConstantExpr::getBitCast(InstResult, II->getType()); in EvaluateBlock()
H A DValueMapper.cpp455 return getVM()[E] = llvm::ConstantExpr::getBitCast( in mapValue()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp316 Constant *C0 = ConstantExpr::getBitCast(const_cast<Constant *>(this), IntTy); in isElementWiseEqual()
317 Constant *C1 = ConstantExpr::getBitCast(cast<Constant>(Y), IntTy); in isElementWiseEqual()
1990 return llvm::ConstantExpr::getBitCast(NewEquiv, getType()); in handleOperandChangeImpl()
2003 return llvm::ConstantExpr::getBitCast(NewEquiv, getType()); in handleOperandChangeImpl()
2047 return llvm::ConstantExpr::getBitCast(NewNC, getType()); in handleOperandChangeImpl()
2231 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
2239 return getBitCast(C, Ty); in getTruncOrBitCast()
2255 return getBitCast(S, Ty); in getPointerCast()
2266 return getBitCast(S, Ty); in getPointerBitCastOrAddrSpaceCast()
2311 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy, in getBitCast() function in ConstantExpr
H A DConstantFold.cpp83 return ConstantExpr::getBitCast(ConstantVector::get(V), DestTy); in FoldBitCast()
102 return ConstantExpr::getBitCast(ConstantVector::get(V), DestTy); in FoldBitCast()
H A DCore.cpp1868 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal), in LLVMConstBitCast()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp99 return ConstantExpr::getBitCast(C, DestTy); in foldConstVectorToAPInt()
132 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
151 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
164 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
169 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
175 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
199 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
209 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
240 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
273 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
[all …]
H A DValueTracking.cpp6113 return Ty ? isBytewiseValue(ConstantExpr::getBitCast(CFP, Ty), DL) in isBytewiseValue()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1242 llvm::Value *Args[3] = {llvm::ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in emitMCDCParameters()
1276 llvm::Value *Args[4] = {llvm::ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in emitMCDCTestVectorBitmapUpdate()
H A DCGBlocks.cpp889 llvm::ConstantExpr::getBitCast(InvokeFn, VoidPtrTy); in EmitBlockLiteral()
H A DCGObjCMac.cpp6670 llvm::ConstantExpr::getBitCast(fn, ObjCTypes.Int8PtrProgramASTy); in emitMethodConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2299 return collectInsertionElements(ConstantExpr::getBitCast(C, VecEltTy), in collectInsertionElements()
2305 C = ConstantExpr::getBitCast(C, IntegerType::get(V->getContext(), in collectInsertionElements()
2673 NewV = ConstantExpr::getBitCast(C, DestTy); in optimizeBitCastFromPhi()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1165 LLVM_ABI static Constant *getBitCast(Constant *C, Type *Ty,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp784 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc255 NamePtr, llvm::ConstantExpr::getBitCast(NamePtr, \
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc255 NamePtr, llvm::ConstantExpr::getBitCast(NamePtr, \
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp32 V = ConstantExpr::getBitCast(V, IntTy); in getNegativeIsTrueBoolVec()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3796 ConstantExpr::getBitCast(const_cast<Constant *>(CV), IntT), DL)); in emitGlobalConstantVector()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6873 ValMap[C] = ConstantExpr::getBitCast(C, ConvertTy); in optimizePhiType()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc20917 {"_ZN4llvm12ConstantExpr10getBitCastEPNS_8ConstantEPKNS_4TypeE", "llvm::ConstantExpr::getBitCast(ll…