Searched refs:BitCastInst (Results 1 - 25 of 86) sorted by relevance

1234

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DStripGCRelocates.cpp63 ReplaceGCRel = new BitCastInst(OrigPtr, GCRel->getType(), "cast", GCRel);
H A DEntryExitInstrumenter.cpp100 if (BitCastInst *BCI = dyn_cast_or_null<BitCastInst>(Prev))
H A DBypassSlowDivision.cpp205 if (!C && isa<BitCastInst>(Op1))
206 C = dyn_cast<ConstantInt>(cast<BitCastInst>(Op1)->getOperand(0));
394 if (auto *BCI = dyn_cast<BitCastInst>(Divisor))
H A DGlobalStatus.cpp140 } else if (isa<BitCastInst>(I) || isa<GetElementPtrInst>(I)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp422 Args[0] = new BitCastInst(Args[0], I8XX, "", Store);
424 Args[1] = new BitCastInst(Args[1], I8X, "", Store);
668 new BitCastInst(Replacement, UseTy, "", &InsertBB->back());
685 Replacement = new BitCastInst(Replacement, UseTy, "",
701 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg))
723 SmallVector<BitCastInst *, 2> BitCastUsers;
727 if (auto *BC = dyn_cast<BitCastInst>(U))
734 if (auto *B = dyn_cast<BitCastInst>(U))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp107 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser());
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp341 BitCastInst *bit_cast =
342 new BitCastInst(dereferenced_ptr, GetI8PtrTy(), "", inst);
432 BitCastInst *bit_cast =
433 new BitCastInst(target_object, GetI8PtrTy(), "", inst);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp86 CastInst *AllocaInsertionPoint = new BitCastInst(
H A DConstantHoisting.cpp752 Base = new BitCastInst(Base, Int8PtrTy, "base_bitcast", InsertionPt);
755 Mat = new BitCastInst(Mat, Ty, "mat_bitcast", InsertionPt);
878 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP);
881 Base = new BitCastInst(ConstInfo.BaseInt, Ty, "const", IP);
H A DCallSiteSplitting.cpp248 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp37 if (isa<BitCastInst>(User)) {
56 if (isa<BitCastInst>(User)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp84 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI,
1748 return new BitCastInst(SrcI, FITy);
2066 static Value *optimizeIntegerToVectorInsertions(BitCastInst &CI,
2095 static Instruction *canonicalizeBitCastExtElt(BitCastInst &BitCast,
2116 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast,
2162 static Instruction *foldBitCastSelect(BitCastInst &BitCast,
2267 auto *BCI = dyn_cast<BitCastInst>(IncValue);
2287 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) {
2330 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) {
2360 cast<BitCastInst>(Builde
[all...]
H A DInstCombineLoadStoreAlloca.cpp79 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) {
277 } else if (isa<GetElementPtrInst>(Inst) || isa<BitCastInst>(Inst)) {
316 } else if (auto *BC = dyn_cast<BitCastInst>(I)) {
321 auto *NewI = new BitCastInst(V, NewT);
389 return new BitCastInst(EntryAI, AI.getType());
1160 if (auto *BC = dyn_cast<BitCastInst>(V)) {
1437 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
1498 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
1546 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp147 void traceBitCast(BitCastInst *BitCast, CallInst *Parent,
414 if (auto *BI = dyn_cast<BitCastInst>(Inst)) {
438 void BPFAbstractMemberAccess::traceBitCast(BitCastInst *BitCast,
446 if (auto *BI = dyn_cast<BitCastInst>(Inst)) {
476 if (auto *BI = dyn_cast<BitCastInst>(Inst)) {
898 auto *BCInst = new BitCastInst(Base, Type::getInt8PtrTy(BB->getContext()));
907 auto *BCInst2 = new BitCastInst(GEP, Call->getType());
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h255 void visitBitCastInst(BitCastInst &BC) {
H A DObjCARCAnalysisUtils.h146 return isa<BitCastInst>(I) ||
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp104 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin());
H A DAMDGPUPrintfRuntimeBinding.cpp388 new BitCastInst(BufferIdx, idPointer, "PrintBuffIdCast", Brnch);
432 Arg = new BitCastInst(Arg, IType, "PrintArgFP", Brnch);
528 Arg = new BitCastInst(Arg, IType, "PrintArgVect", Brnch);
542 new BitCastInst(BufferIdx, ArgPointer, "PrintBuffPtrCast", Brnch);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp258 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBasePtr))
575 NewBasePtr = new BitCastInst(
602 new BitCastInst(NewPHI, BasePtr->getType(),
653 ReplNewPtr = new BitCastInst(RealNewPtr, Ptr->getType(),
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackColoring.cpp924 BitCastInst *Cast = new BitCastInst(Inst, From->getType());
951 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get()))
H A DSafeStackColoring.cpp78 if (auto *BI = dyn_cast<BitCastInst>(U)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h149 void visitBitCastInst(BitCastInst &I);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp165 if (auto *BitCast = dyn_cast<BitCastInst>(Ptr)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp657 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) {
799 isa<BitCastInst>(GlobalUser) ||
877 BitCastInst *TheBC = nullptr;
880 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) {
889 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI);
1014 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) {
1044 } else if (isa<BitCastInst>(
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp119 new BitCastInst(Call, ResumeFnType->getPointerTo(), "", InsertPt);
415 auto BCI = new BitCastInst(*SI, *RI, "", Suspend);

Completed in 206 milliseconds

1234