Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp
H A DCtorUtils.cpp
H A DEvaluator.cpp194 MV->Val = ConstantExpr::getBitCast(V, MVType); in write()
504 InstResult = ConstantExpr::getBitCast(InstResult, II->getType()); in EvaluateBlock()
H A DValueMapper.cpp454 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()
1974 return llvm::ConstantExpr::getBitCast(NewEquiv, getType()); in handleOperandChangeImpl()
1987 return llvm::ConstantExpr::getBitCast(NewEquiv, getType()); in handleOperandChangeImpl()
2031 return llvm::ConstantExpr::getBitCast(NewNC, getType()); in handleOperandChangeImpl()
2203 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
2211 return getBitCast(C, Ty); in getTruncOrBitCast()
2227 return getBitCast(S, Ty); in getPointerCast()
2238 return getBitCast(S, Ty); in getPointerBitCastOrAddrSpaceCast()
2283 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy, in getBitCast() function in ConstantExpr
H A DConstantFold.cpp85 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
H A DCore.cpp1869 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal), in LLVMConstBitCast()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp92 return ConstantExpr::getBitCast(C, DestTy); in foldConstVectorToAPInt()
125 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
144 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
155 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
161 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
185 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
195 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
227 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
260 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
270 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
H A DValueTracking.cpp5999 return Ty ? isBytewiseValue(ConstantExpr::getBitCast(CFP, Ty), DL) in isBytewiseValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp720 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
725 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
733 return ConstantExpr::getBitCast(Src, TargetType); in cloneConstantExprWithNewAddressSpace()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp
H A DCodeGenPrepare.cpp6483 ValMap[C] = ConstantExpr::getBitCast(C, ConvertTy); in optimizePhiType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp96 Value = ConstantExpr::getBitCast(Value, IntrTy); in replaceWithConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp889 {ConstantExpr::getBitCast(Thunk.Src, PtrTy), in runOnModule()
890 ConstantExpr::getBitCast(Thunk.Dst, PtrTy), in runOnModule()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1230 llvm::Value *Args[3] = {llvm::ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in emitMCDCParameters()
1264 llvm::Value *Args[4] = {llvm::ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in emitMCDCTestVectorBitmapUpdate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2237 return collectInsertionElements(ConstantExpr::getBitCast(C, VecEltTy), in collectInsertionElements()
2243 C = ConstantExpr::getBitCast(C, IntegerType::get(V->getContext(), in collectInsertionElements()
2606 NewV = ConstantExpr::getBitCast(C, DestTy); in optimizeBitCastFromPhi()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1130 static Constant *getBitCast(Constant *C, Type *Ty,
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp984 Constant *Ret = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
/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/Transforms/Instrumentation/
H A DInstrProfiling.cpp1506 return ConstantExpr::getBitCast(GV, Int8PtrTy); in getVTableAddrForProfData()
/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.cpp3444 ConstantExpr::getBitCast(const_cast<ConstantVector *>(CV), IntT), DL)); in emitGlobalConstantVector()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8864 LoadInput = ConstantExpr::getBitCast(const_cast<Constant *>(LoadInput), in getMemCmpLoad()