Home
last modified time | relevance | path

Searched refs:isBitCastable (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/IR/
H A DInstructionsTest.cpp243 EXPECT_FALSE(CastInst::isBitCastable(V8x8Ty, X86MMXTy)); in TEST()
244 EXPECT_FALSE(CastInst::isBitCastable(X86MMXTy, V8x8Ty)); in TEST()
246 EXPECT_FALSE(CastInst::isBitCastable(V8x64Ty, V8x8Ty)); in TEST()
247 EXPECT_FALSE(CastInst::isBitCastable(V8x8Ty, V8x64Ty)); in TEST()
269 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, FloatTy)); in TEST()
270 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, FloatTy)); in TEST()
271 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, Int32Ty)); in TEST()
272 EXPECT_TRUE(CastInst::isBitCastable(Int16Ty, HalfTy)); in TEST()
273 EXPECT_TRUE(CastInst::isBitCastable(Int32Ty, FloatTy)); in TEST()
277 EXPECT_FALSE(CastInst::isBitCastable(Int32Ty, Int64Ty)); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp362 if (CastInst::isBitCastable(SrcTy, *RI)) { in buildFrom()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGAtomic.cpp1540 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy)) in ConvertIntToValueOrAtomic()
1726 else if (llvm::BitCastInst::isBitCastable(Value->getType(), InputIntTy)) in convertRValueToInt()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstrTypes.h600 static bool isBitCastable(
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp3405 bool CastInst::isBitCastable(Type *SrcTy, Type *DestTy) { in isBitCastable() function in CastInst
3457 return isBitCastable(SrcTy, DestTy); in isBitOrNoopPointerCastable()