Home
last modified time | relevance | path

Searched refs:FoldBitCast (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp104 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) { in FoldBitCast() function
150 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast()
182 C = FoldBitCast(C, DestIVTy, DL); in FoldBitCast()
445 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); in ReadDataFromGlobal()
449 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); in ReadDataFromGlobal()
453 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); in ReadDataFromGlobal()
572 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConst()
1448 return FoldBitCast(CE->getOperand(0), DestTy, DL); in ConstantFoldCastOperand()
1465 return FoldBitCast(C, DestTy, DL); in ConstantFoldCastOperand()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp70 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function
259 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()