Searched refs:FoldBitCast (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 46 static Constant *FoldBitCast(Constant *C, Type *DestTy, in FoldBitCast() function 63 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD); in FoldBitCast() 96 C = FoldBitCast(C, DestIVTy, TD); in FoldBitCast() 266 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), TD); in ReadDataFromGlobal() 270 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), TD); in ReadDataFromGlobal() 383 C = FoldBitCast(C, MapTy, TD); in FoldReinterpretLoadFromConstPtr() 385 return FoldBitCast(Res, LoadTy, TD); in FoldReinterpretLoadFromConstPtr() 716 C = FoldBitCast(C, ResultTy, *TD); in SymbolicallyEvaluateGEP() 865 return FoldBitCast(CE->getOperand(0), DestTy, *TD); in ConstantFoldInstOperands() 880 return FoldBitCast(Ops[0], DestTy, *TD); in ConstantFoldInstOperands()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 55 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) { in FoldBitCast() function 113 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast() 145 C = FoldBitCast(C, DestIVTy, DL); in FoldBitCast() 316 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); in ReadDataFromGlobal() 320 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); in ReadDataFromGlobal() 324 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); in ReadDataFromGlobal() 434 C = FoldBitCast(C, MapTy->getPointerTo(AS), DL); in FoldReinterpretLoadFromConstPtr() 436 return FoldBitCast(Res, LoadTy, DL); in FoldReinterpretLoadFromConstPtr() 908 C = FoldBitCast(C, ResTy, DL); in SymbolicallyEvaluateGEP() 1220 return FoldBitCast(CE->getOperand(0), DestTy, DL); in ConstantFoldCastOperand() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 100 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function 719 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 98 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function 687 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()
|