Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp109 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) { in FoldBitCast() function
158 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast()
190 C = FoldBitCast(C, DestIVTy, DL); in FoldBitCast()
458 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); in ReadDataFromGlobal()
462 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); in ReadDataFromGlobal()
466 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); in ReadDataFromGlobal()
583 C = FoldBitCast(C, MapTy->getPointerTo(AS), DL); in FoldReinterpretLoadFromConstPtr()
590 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConstPtr()
1076 C = FoldBitCast(C, ResTy, DL); in SymbolicallyEvaluateGEP()
1410 return FoldBitCast(CE->getOperand(0), DestTy, DL); in ConstantFoldCastOperand()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp111 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() function
523 return FoldBitCast(V, DestTy); in ConstantFoldCastInstruction()