Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDConstantFolding.cpp97 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) { in FoldBitCast() function
146 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast()
178 C = FoldBitCast(C, DestIVTy, DL); in FoldBitCast()
410 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); in ReadDataFromGlobal()
414 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); in ReadDataFromGlobal()
418 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); in ReadDataFromGlobal()
528 C = FoldBitCast(C, MapTy->getPointerTo(AS), DL); in FoldReinterpretLoadFromConstPtr()
534 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConstPtr()
1007 C = FoldBitCast(C, ResTy, DL); in SymbolicallyEvaluateGEP()
1348 return FoldBitCast(CE->getOperand(0), DestTy, DL); in ConstantFoldCastOperand()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDConstantFold.cpp101 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function
727 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()