Searched refs:FoldBitCast (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 53 static Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) { in FoldBitCast() function 108 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast() 140 C = FoldBitCast(C, DestIVTy, DL); in FoldBitCast() 310 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); in ReadDataFromGlobal() 314 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); in ReadDataFromGlobal() 318 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); in ReadDataFromGlobal() 429 C = FoldBitCast(C, MapTy, DL); in FoldReinterpretLoadFromConstPtr() 431 return FoldBitCast(Res, LoadTy, DL); in FoldReinterpretLoadFromConstPtr() 876 C = FoldBitCast(C, ResultTy, DL); in SymbolicallyEvaluateGEP() 1062 return FoldBitCast(CE->getOperand(0), DestTy, DL); in ConstantFoldInstOperands() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 102 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function 720 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()
|