Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp104 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) { in FoldBitCast() function
153 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast()
185 C = FoldBitCast(C, DestIVTy, DL); in FoldBitCast()
453 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); in ReadDataFromGlobal()
457 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); in ReadDataFromGlobal()
461 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); in ReadDataFromGlobal()
578 C = FoldBitCast(C, MapTy->getPointerTo(AS), DL); in FoldReinterpretLoadFromConstPtr()
585 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConstPtr()
1039 C = FoldBitCast(C, ResTy, DL); in SymbolicallyEvaluateGEP()
1372 return FoldBitCast(CE->getOperand(0), DestTy, DL); in ConstantFoldCastOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp111 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function
763 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()