| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCContract.cpp | 680 Replacement = new BitCastInst(Replacement, UseTy, "", in run() 699 new BitCastInst(Replacement, UseTy, "", in run() 713 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg)) in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | StripGCRelocates.cpp | 45 ReplaceGCRel = new BitCastInst(OrigPtr, GCRel->getType(), "cast", GCRel->getIterator()); in stripGCRelocates()
|
| H A D | BypassSlowDivision.cpp | 202 if (!C && isa<BitCastInst>(Op1)) in isHashLikeValue() 203 C = dyn_cast<ConstantInt>(cast<BitCastInst>(Op1)->getOperand(0)); in isHashLikeValue() 394 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 2376 static Value *optimizeIntegerToVectorInsertions(BitCastInst &CI, in optimizeIntegerToVectorInsertions() 2410 static Instruction *canonicalizeBitCastExtElt(BitCastInst &BitCast, in canonicalizeBitCastExtElt() 2437 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast, in foldBitCastBitwiseLogic() 2509 static Instruction *foldBitCastSelect(BitCastInst &BitCast, in foldBitCastSelect() 2620 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() 2640 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2683 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2710 cast<BitCastInst>(Builder.CreateBitCast(NewPN, SrcTy)); in optimizeBitCastFromPhi() 2715 else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2738 static Value *foldCopySignIdioms(BitCastInst &CI, in foldCopySignIdioms() [all …]
|
| H A D | InstCombineVectorOps.cpp | 216 return new BitCastInst(Trunc, DestTy); in foldBitcastExtElt() 232 return new BitCastInst(Elt, DestTy); in foldBitcastExtElt() 314 return new BitCastInst(Builder.CreateTrunc(Scalar, DestIntTy), DestTy); in foldBitcastExtElt() 1681 return new BitCastInst(NewInsert, VTy); in foldTruncInsEltPair() 1725 return new BitCastInst(NewInsElt, IE.getType()); in visitInsertElementInst() 1740 return new BitCastInst(NewInsElt, IE.getType()); in visitInsertElementInst() 2647 return new BitCastInst(X, Shuf.getType()); in foldIdentityExtractShuffle() 2907 return new BitCastInst(V, SVI.getType()); in visitShuffleVectorInst() 2929 return BitCastInst::Create(Instruction::BitCast, V, SVI.getType()); in visitShuffleVectorInst() 3042 SmallVector<BitCastInst *, 8> BCs; in visitShuffleVectorInst() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 349 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBasePtr)) in IsPtrInBounds() 732 new BitCastInst(PtrInc, BasePtr->getType(), in rewriteForBase() 756 NewBasePtr = new BitCastInst(NewPHI, BasePtr->getType(), in rewriteForBase() 814 ReplNewPtr = new BitCastInst(RealNewPtr, Ptr->getType(), in rewriteForBucketElement() 1183 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBaseI)) in getNodeForInc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXType.cpp | 360 void combineLoadBitcast(LoadInst *LD, BitCastInst *Bitcast); 361 void combineBitcastStore(BitCastInst *Bitcast, StoreInst *ST); 362 bool transformBitcast(BitCastInst *Bitcast); 370 void X86LowerAMXType::combineLoadBitcast(LoadInst *LD, BitCastInst *Bitcast) { in combineLoadBitcast() 394 void X86LowerAMXType::combineBitcastStore(BitCastInst *Bitcast, StoreInst *ST) { in combineBitcastStore() 425 bool X86LowerAMXType::transformBitcast(BitCastInst *Bitcast) { in transformBitcast() 489 auto *Bitcast = dyn_cast<BitCastInst>(&Inst); in visit()
|
| H A D | X86LowerAMXIntrinsics.cpp | 216 auto *BitCast = cast<BitCastInst>(Tile); in createTileLoadStoreLoops() 299 auto *BitCastAcc = cast<BitCastInst>(Acc); in createTileDPLoops() 305 auto *BitCastLHS = cast<BitCastInst>(LHS); in createTileDPLoops() 308 auto *BitCastRHS = cast<BitCastInst>(RHS); in createTileDPLoops()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 132 auto *BCI = dyn_cast<BitCastInst>(U); in processUse() 137 BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 315 auto *BitCast = dyn_cast<BitCastInst>(IntrI->getOperand(0)); in optimizePredicateStore() 357 auto *BitCast = dyn_cast<BitCastInst>(I); in optimizePredicateLoad()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 40 if (isa<BitCastInst>(User)) { in findCallsAtConstantOffset() 62 if (isa<BitCastInst>(User)) { in findLoadCallsAtConstantOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 123 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser()); in runOnFunction()
|
| H A D | NVPTXLowerArgs.cpp | 236 if (auto *BC = dyn_cast<BitCastInst>(I.OldInstruction)) { in INITIALIZE_PASS_DEPENDENCY() 238 return BitCastInst::Create(BC->getOpcode(), I.NewParam, NewBCType, in INITIALIZE_PASS_DEPENDENCY() 390 else if (isa<BitCastInst>(CurUser) || isa<AddrSpaceCastInst>(CurUser)) in adjustByValArgAlignment()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackColoring.cpp | 951 BitCastInst *Cast = new BitCastInst(Inst, From->getType()); in remapInstructions() 978 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions()
|
| H A D | InterleavedLoadCombinePass.cpp | 719 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() 731 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Reg2Mem.cpp | 66 CastInst *AllocaInsertionPoint = new BitCastInst( in runPass()
|
| H A D | CallSiteSplitting.cpp | 244 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn()
|
| H A D | ConstantHoisting.cpp | 742 Mat = new BitCastInst(Mat, Adj->Ty, "mat_bitcast", in emitBaseConstants() 868 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP); in emitBaseConstants() 871 Base = new BitCastInst(ConstInfo.BaseInt, Ty, "const", IP); in emitBaseConstants()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 165 void traceBitCast(BitCastInst *BitCast, CallInst *Parent, 541 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceAICall() 565 void BPFAbstractMemberAccess::traceBitCast(BitCastInst *BitCast, in traceBitCast() 573 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceBitCast() 603 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceGEP()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 260 void visitBitCastInst(BitCastInst &BC) { in visitBitCastInst()
|
| H A D | ObjCARCAnalysisUtils.h | 148 return isa<BitCastInst>(I) || in IsNoopInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | SpillUtils.cpp | 232 if (auto *BI = dyn_cast<BitCastInst>(U)) { in visitStoreInst() 250 void visitBitCastInst(BitCastInst &BC) { in visitBitCastInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 156 if (auto *Ref = dyn_cast_or_null<BitCastInst>(OptAnnoVal)) in getAnnotation() 247 if (auto *BI = dyn_cast<BitCastInst>(II->getArgOperand(0))) in lowerPtrAnnotation()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 148 void visitBitCastInst(BitCastInst &I);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTDC.cpp | 239 if (auto *Cast = dyn_cast<BitCastInst>(Op0)) { in convertICmp()
|