Home
last modified time | relevance | path

Searched refs:isNoopCast (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp664 if (CI->isNoopCast(*DL)) in findValueImpl()
674 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp294 return CastInst::isNoopCast(Instruction::CastOps(I2P->getOpcode()), in isNoopPtrIntCastPair()
297 CastInst::isNoopCast(Instruction::CastOps(P2I->getOpcode()), in isNoopPtrIntCastPair()
H A DRewriteStatepointsForGC.cpp2274 if (!CI->isNoopCast(CI->getDataLayout())) in findRematerializableChainToBasePointer()
2296 assert(CI->isNoopCast(CI->getDataLayout()) && in chainToBasePointerCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h664 static bool isNoopCast(
674 bool isNoopCast(const DataLayout &DL) const;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2717 bool CastInst::isNoopCast(Instruction::CastOps Opcode, in isNoopCast() function in CastInst
2747 bool CastInst::isNoopCast(const DataLayout &DL) const { in isNoopCast() function in CastInst
2748 return isNoopCast(getOpcode(), getOperand(0)->getType(), getType(), DL); in isNoopCast()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp677 if (CastUser->isNoopCast(IC.getDataLayout()) && in combineLoadToOperationType()
H A DInstructionCombining.cpp3397 if (!Cast || !Cast->isNoopCast(DL)) in tryToMoveFreeBeforeNullTest()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2560 if (CI->isNoopCast(DL)) { in salvageDebugInfoImpl()