Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp95 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) { in FoldBitCast() function
141 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast()
173 C = FoldBitCast(C, DestIVTy, DL); in FoldBitCast()
405 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); in ReadDataFromGlobal()
409 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); in ReadDataFromGlobal()
413 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); in ReadDataFromGlobal()
523 C = FoldBitCast(C, MapTy->getPointerTo(AS), DL); in FoldReinterpretLoadFromConstPtr()
525 return FoldBitCast(Res, LoadTy, DL); in FoldReinterpretLoadFromConstPtr()
987 C = FoldBitCast(C, ResTy, DL); in SymbolicallyEvaluateGEP()
1316 return FoldBitCast(CE->getOperand(0), DestTy, DL); in ConstantFoldCastOperand()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantFold.cpp101 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function
725 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()