| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 317 auto *BitCast = dyn_cast<BitCastInst>(IntrI->getOperand(0)); in optimizePredicateStore() local 318 if (!BitCast) in optimizePredicateStore() 322 if (BitCast->getOperand(0)->getType() != PredType) in optimizePredicateStore() 333 if (BitCast->getNumUses() == 0) in optimizePredicateStore() 334 BitCast->eraseFromParent(); in optimizePredicateStore() 359 auto *BitCast = dyn_cast<BitCastInst>(I); in optimizePredicateLoad() local 360 if (!BitCast || BitCast->getType() != PredType) in optimizePredicateLoad() 364 auto *IntrI = dyn_cast<IntrinsicInst>(BitCast->getOperand(0)); in optimizePredicateLoad() 387 BitCast->replaceAllUsesWith(LoadPred); in optimizePredicateLoad() 388 BitCast->eraseFromParent(); in optimizePredicateLoad() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 309 if (auto *BitCast = dyn_cast_or_null<BitCastInst>(Next)) { in versionCallSite() local 310 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 auto NewBitCast = BitCast->clone(); in versionCallSite() 316 Next = BitCast->getNextNode(); in versionCallSite()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 430 if (CE->getOpcode() == BitCast) in hasFnAttrOnCalledFunction() 442 if (CE->getOpcode() == BitCast) in hasFnAttrOnCalledFunction() 461 if (CE->getOpcode() == BitCast) in getFnAttrOnCalledFunction() 3058 case Instruction::BitCast: in isIntegerCast() 3091 case Instruction::BitCast: in isNoopCast() 3237 return Instruction::BitCast; in isEliminableCastPair() 3244 return Instruction::BitCast; in isEliminableCastPair() 3280 return Instruction::BitCast; in isEliminableCastPair() 3623 return BitCast; in getCastOpcode() 3689 return BitCast; in getCastOpcode() [all …]
|
| H A D | Constants.cpp | 1471 case Instruction::BitCast: in getWithOperands() 1975 case Instruction::BitCast: in getCast() 2058 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast() 2065 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced); in getBitCast() 2191 case Instruction::BitCast: in isDesirableCastOp() 2213 case Instruction::BitCast: in isSupportedCastOp() 3238 case Instruction::BitCast: in getAsInstruction()
|
| H A D | Globals.cpp | 358 case Instruction::BitCast: in findBaseObject()
|
| H A D | Value.cpp | 654 } else if (Operator::getOpcode(V) == Instruction::BitCast) { in stripPointerCastsAndOffsets() 766 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripAndAccumulateConstantOffsets()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 856 Value *BitCast = Builder.CreateBitCast(VecOp, BitCastTo); in visitTrunc() local 2179 case Instruction::BitCast: in collectInsertionElements() 2256 if (!match(BitCast.getOperand(0), in canonicalizeBitCastExtElt() 2262 Type *DestType = BitCast.getType(); in canonicalizeBitCastExtElt() 2280 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast, in foldBitCastBitwiseLogic() argument 2282 Type *DestTy = BitCast.getType(); in foldBitCastBitwiseLogic() 2285 if (!match(BitCast.getOperand(0), m_OneUse(m_BinOp(BO))) || in foldBitCastBitwiseLogic() 2352 static Instruction *foldBitCastSelect(BitCastInst &BitCast, in foldBitCastSelect() argument 2355 if (!match(BitCast.getOperand(0), in foldBitCastSelect() 2361 Type *DestTy = BitCast.getType(); in foldBitCastSelect() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 113 if (auto *BitCast = dyn_cast<BitCastInst>(V)) variable 114 if (!OneUseOnly || BitCast->hasOneUse()) 115 return BitCast->getOperand(0);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 100 CastInst::Create(Instruction::BitCast, Operand, in maybeGenerateBitcast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteKernelArguments.cpp | 86 case Instruction::BitCast: in enqueueUsers()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 316 case Instruction::BitCast: in isAddressExpression() 346 case Instruction::BitCast: in getPointerOperands() 660 case Instruction::BitCast: in cloneInstructionWithNewAddressSpace() 722 if (CE->getOpcode() == Instruction::BitCast) { in cloneConstantExprWithNewAddressSpace()
|
| H A D | SpeculativeExecution.cpp | 230 case Instruction::BitCast: in ComputeSpeculationCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanAnalysis.cpp | 164 case Instruction::BitCast: in inferScalarTypeForRecipe()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 293 case Instruction::BitCast: in ResolveConstantValue() 496 case Instruction::BitCast: in CanResolveConstant() 553 case Instruction::BitCast: in CanInterpret() 949 case Instruction::BitCast: in Interpret()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 312 if (auto *BitCast = dyn_cast<BitCastInst>(Ptr)) { in lookThroughBitcast() local 313 auto *BCTy = cast<FixedVectorType>(BitCast->getType()); in lookThroughBitcast() 314 auto *BCSrcTy = cast<FixedVectorType>(BitCast->getOperand(0)->getType()); in lookThroughBitcast() 318 Ptr = BitCast->getOperand(0); in lookThroughBitcast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 165 void traceBitCast(BitCastInst *BitCast, CallInst *Parent, 573 void BPFAbstractMemberAccess::traceBitCast(BitCastInst *BitCast, in traceBitCast() argument 576 for (User *U : BitCast->users()) { in traceBitCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CaptureTracking.cpp | 370 case Instruction::BitCast: in DetermineUseCaptureKind()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXIntrinsics.cpp | 218 auto *BitCast = cast<BitCastInst>(Tile); in createTileLoadStoreLoops() local 219 Value *Vec = BitCast->getOperand(0); in createTileLoadStoreLoops()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 637 case Instruction::BitCast: in determinePointerAccessAttrs() 1077 case Instruction::BitCast: in isFunctionMallocLike() 1188 case Instruction::BitCast: in isReturnNonNull()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | IRDynamicChecks.cpp | 437 case llvm::Instruction::BitCast: in GetFunction()
|
| H A D | IRForTarget.cpp | 986 case Instruction::BitCast: in MaybeHandleVariable() 1335 case Instruction::BitCast: { in UnfoldConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 538 : public ConcreteOperator<Operator, Instruction::BitCast> {
|
| H A D | Instruction.def | 195 HANDLE_CAST_INST(49, BitCast , BitCastInst ) // Type cast
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 314 case Instruction::BitCast: in HasAddressTaken()
|
| H A D | MachineFunction.cpp | 1446 A = ConstantFoldCastOperand(Instruction::BitCast, const_cast<Constant *>(A), in CanShareConstantPoolEntry() 1452 B = ConstantFoldCastOperand(Instruction::BitCast, const_cast<Constant *>(B), in CanShareConstantPoolEntry()
|