/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCContract.cpp | 385 Args[0] = new BitCastInst(Args[0], I8XX, "", Store->getIterator()); in tryToContractReleaseIntoStoreStrong() 387 Args[1] = new BitCastInst(Args[1], I8X, "", Store->getIterator()); in tryToContractReleaseIntoStoreStrong() 634 Replacement = new BitCastInst(Replacement, UseTy, "", in run() 653 new BitCastInst(Replacement, UseTy, "", in run() 668 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg)) in run() 690 SmallVector<BitCastInst *, 2> BitCastUsers; in run() 694 if (auto *BC = dyn_cast<BitCastInst>(U)) in run() 701 if (auto *B = dyn_cast<BitCastInst>(U)) in run()
|
H A D | ObjCARCOpts.cpp | 93 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg)) in FindSingleUseIdentifiedObject() 735 if (isa<BitCastInst>(U)) in OptimizeAutoreleaseRVCall() 1156 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCallImpl() 1774 : new BitCastInst(Arg, ParamTy, "", in MoveCalls() 1791 : new BitCastInst(Arg, ParamTy, "", in MoveCalls()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerArgs.cpp | 244 if (auto *BC = dyn_cast<BitCastInst>(I.OldInstruction)) { in INITIALIZE_PASS_DEPENDENCY() 246 return BitCastInst::Create(BC->getOpcode(), I.NewParam, NewBCType, in INITIALIZE_PASS_DEPENDENCY() 374 if (auto *I = dyn_cast<BitCastInst>(CurUser)) { in adjustByValArgAlignment() 423 if (isa<GetElementPtrInst>(V) || isa<BitCastInst>(V) || isa<LoadInst>(V)) in handleByValParam()
|
H A D | NVPTXLowerAlloca.cpp | 104 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser()); in runOnFunction()
|
/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 | 203 if (!C && isa<BitCastInst>(Op1)) in isHashLikeValue() 204 C = dyn_cast<ConstantInt>(cast<BitCastInst>(Op1)->getOperand(0)); in isHashLikeValue() 395 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem()
|
H A D | GlobalStatus.cpp | 146 } else if (isa<BitCastInst>(I) || isa<GetElementPtrInst>(I) || in analyzeGlobalAux()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFAbstractMemberAccess.cpp | 165 void traceBitCast(BitCastInst *BitCast, CallInst *Parent, 550 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceAICall() 574 void BPFAbstractMemberAccess::traceBitCast(BitCastInst *BitCast, in traceBitCast() 582 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceBitCast() 612 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceGEP() 1124 new BitCastInst(Base, PointerType::getUnqual(BB->getContext())); in transformGEPChain() 1133 auto *BCInst2 = new BitCastInst(GEP, Call->getType()); in transformGEPChain()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86LowerAMXType.cpp | 235 void combineLoadBitcast(LoadInst *LD, BitCastInst *Bitcast); 236 void combineBitcastStore(BitCastInst *Bitcast, StoreInst *ST); 237 bool transformBitcast(BitCastInst *Bitcast); 245 void X86LowerAMXType::combineLoadBitcast(LoadInst *LD, BitCastInst *Bitcast) { in combineLoadBitcast() 269 void X86LowerAMXType::combineBitcastStore(BitCastInst *Bitcast, StoreInst *ST) { in combineBitcastStore() 301 bool X86LowerAMXType::transformBitcast(BitCastInst *Bitcast) { in transformBitcast() 366 auto *Bitcast = dyn_cast<BitCastInst>(&Inst); in visit()
|
H A D | X86LowerAMXIntrinsics.cpp | 218 auto *BitCast = cast<BitCastInst>(Tile); in createTileLoadStoreLoops() 301 auto *BitCastAcc = cast<BitCastInst>(Acc); in createTileDPLoops() 307 auto *BitCastLHS = cast<BitCastInst>(LHS); in createTileDPLoops() 310 auto *BitCastRHS = cast<BitCastInst>(RHS); in createTileDPLoops()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelAttributes.cpp | 114 auto *BCI = dyn_cast<BitCastInst>(U); in processUse() 119 BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 2314 static Value *optimizeIntegerToVectorInsertions(BitCastInst &CI, in optimizeIntegerToVectorInsertions() 2343 static Instruction *canonicalizeBitCastExtElt(BitCastInst &BitCast, in canonicalizeBitCastExtElt() 2370 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast, in foldBitCastBitwiseLogic() 2442 static Instruction *foldBitCastSelect(BitCastInst &BitCast, in foldBitCastSelect() 2553 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() 2573 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2616 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2643 cast<BitCastInst>(Builder.CreateBitCast(NewPN, SrcTy)); in optimizeBitCastFromPhi() 2648 else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2669 Instruction *InstCombinerImpl::visitBitCast(BitCastInst &CI) { in visitBitCast() [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() 1603 return new BitCastInst(NewInsert, VTy); in foldTruncInsEltPair() 1647 return new BitCastInst(NewInsElt, IE.getType()); in visitInsertElementInst() 1662 return new BitCastInst(NewInsElt, IE.getType()); in visitInsertElementInst() 2568 return new BitCastInst(X, Shuf.getType()); in foldIdentityExtractShuffle() 2828 return new BitCastInst(V, SVI.getType()); in visitShuffleVectorInst() 2850 return BitCastInst::Create(Instruction::BitCast, V, SVI.getType()); in visitShuffleVectorInst() 2946 SmallVector<BitCastInst *, 8> BCs; in visitShuffleVectorInst() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 358 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBasePtr)) in IsPtrInBounds() 741 new BitCastInst(PtrInc, BasePtr->getType(), in rewriteForBase() 765 NewBasePtr = new BitCastInst(NewPHI, BasePtr->getType(), in rewriteForBase() 823 ReplNewPtr = new BitCastInst(RealNewPtr, Ptr->getType(), in rewriteForBucketElement() 1192 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBaseI)) in getNodeForInc()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TypeMetadataUtils.cpp | 38 if (isa<BitCastInst>(User)) { in findCallsAtConstantOffset() 57 if (isa<BitCastInst>(User)) { in findLoadCallsAtConstantOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | SVEIntrinsicOpts.cpp | 318 auto *BitCast = dyn_cast<BitCastInst>(IntrI->getOperand(0)); in optimizePredicateStore() 360 auto *BitCast = dyn_cast<BitCastInst>(I); in optimizePredicateLoad()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reg2Mem.cpp | 65 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 | 769 Mat = new BitCastInst(Mat, Adj->Ty, "mat_bitcast", in emitBaseConstants() 895 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP); in emitBaseConstants() 898 Base = new BitCastInst(ConstInfo.BaseInt, Ty, "const", IP); in emitBaseConstants()
|
H A D | TLSVariableHoist.cpp | 223 auto *CastInst = new BitCastInst(GV, Ty, "tls_bitcast"); in genBitCastInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackColoring.cpp | 945 BitCastInst *Cast = new BitCastInst(Inst, From->getType()); in remapInstructions() 972 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions()
|
H A D | InterleavedLoadCombinePass.cpp | 720 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() 732 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 247 void visitBitCastInst(BitCastInst &BC) { in visitBitCastInst()
|
H A D | ObjCARCAnalysisUtils.h | 140 return isa<BitCastInst>(I) || in IsNoopInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.h | 148 void visitBitCastInst(BitCastInst &I);
|