/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 422 Args[0] = new BitCastInst(Args[0], I8XX, "", Store); in tryToContractReleaseIntoStoreStrong() 424 Args[1] = new BitCastInst(Args[1], I8X, "", Store); in tryToContractReleaseIntoStoreStrong() 668 new BitCastInst(Replacement, UseTy, "", &InsertBB->back()); in runOnFunction() 685 Replacement = new BitCastInst(Replacement, UseTy, "", in runOnFunction() 701 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg)) in runOnFunction() 723 SmallVector<BitCastInst *, 2> BitCastUsers; in runOnFunction() 727 if (auto *BC = dyn_cast<BitCastInst>(U)) in runOnFunction() 734 if (auto *B = dyn_cast<BitCastInst>(U)) in runOnFunction()
|
D | ObjCARCOpts.cpp | 95 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg)) in FindSingleUseIdentifiedObject() 732 if (isa<BitCastInst>(U)) in OptimizeAutoreleaseRVCall() 1144 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCallImpl() 1701 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls() 1714 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFAbstractMemberAccess.cpp | 147 void traceBitCast(BitCastInst *BitCast, CallInst *Parent, 414 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceAICall() 438 void BPFAbstractMemberAccess::traceBitCast(BitCastInst *BitCast, in traceBitCast() 446 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceBitCast() 476 if (auto *BI = dyn_cast<BitCastInst>(Inst)) { in traceGEP() 898 auto *BCInst = new BitCastInst(Base, Type::getInt8PtrTy(BB->getContext())); in transformGEPChain() 907 auto *BCInst2 = new BitCastInst(GEP, Call->getType()); in transformGEPChain()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | EntryExitInstrumenter.cpp | 100 if (BitCastInst *BCI = dyn_cast_or_null<BitCastInst>(Prev)) in runOnFunction()
|
D | StripGCRelocates.cpp | 63 ReplaceGCRel = new BitCastInst(OrigPtr, GCRel->getType(), "cast", GCRel); in runOnFunction()
|
D | BypassSlowDivision.cpp | 205 if (!C && isa<BitCastInst>(Op1)) in isHashLikeValue() 206 C = dyn_cast<ConstantInt>(cast<BitCastInst>(Op1)->getOperand(0)); in isHashLikeValue() 394 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem()
|
D | GlobalStatus.cpp | 140 } else if (isa<BitCastInst>(I) || isa<GetElementPtrInst>(I)) { in analyzeGlobalAux()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TypeMetadataUtils.cpp | 37 if (isa<BitCastInst>(User)) { in findCallsAtConstantOffset() 56 if (isa<BitCastInst>(User)) { in findLoadCallsAtConstantOffset()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 84 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation() 1748 return new BitCastInst(SrcI, FITy); in FoldItoFPtoI() 2066 static Value *optimizeIntegerToVectorInsertions(BitCastInst &CI, in optimizeIntegerToVectorInsertions() 2095 static Instruction *canonicalizeBitCastExtElt(BitCastInst &BitCast, in canonicalizeBitCastExtElt() 2116 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast, in foldBitCastBitwiseLogic() 2162 static Instruction *foldBitCastSelect(BitCastInst &BitCast, in foldBitCastSelect() 2267 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() 2287 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2330 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2360 cast<BitCastInst>(Builder.CreateBitCast(NewPN, SrcTy)); in optimizeBitCastFromPhi() [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 79 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) { in isOnlyCopiedFromConstantGlobal() 277 } else if (isa<GetElementPtrInst>(Inst) || isa<BitCastInst>(Inst)) { in findLoadAndReplace() 316 } else if (auto *BC = dyn_cast<BitCastInst>(I)) { in replace() 321 auto *NewI = new BitCastInst(V, NewT); in replace() 389 return new BitCastInst(EntryAI, AI.getType()); in visitAllocaInst() 1160 if (auto *BC = dyn_cast<BitCastInst>(V)) { in combineStoreToValueType() 1437 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in visitStoreInst() 1498 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())); in visitStoreInst() 1546 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in mergeStoreIntoSuccessor()
|
D | InstCombineVectorOps.cpp | 181 return new BitCastInst(Elt, DestTy); in foldBitcastExtElt() 248 return new BitCastInst(Builder.CreateTrunc(Scalar, DestIntTy), DestTy); in foldBitcastExtElt() 1046 return new BitCastInst(NewInsElt, IE.getType()); in visitInsertElementInst() 2006 SmallVector<BitCastInst *, 8> BCs; in visitShuffleVectorInst() 2009 if (BitCastInst *BC = dyn_cast<BitCastInst>(U)) in visitShuffleVectorInst() 2013 for (BitCastInst *BC : BCs) { in visitShuffleVectorInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 258 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBasePtr)) in IsPtrInBounds() 575 NewBasePtr = new BitCastInst( in rewriteLoadStores() 602 new BitCastInst(NewPHI, BasePtr->getType(), in rewriteLoadStores() 653 ReplNewPtr = new BitCastInst(RealNewPtr, Ptr->getType(), in rewriteLoadStores()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPrintfRuntimeBinding.cpp | 388 new BitCastInst(BufferIdx, idPointer, "PrintBuffIdCast", Brnch); in lowerPrintfForGpu() 432 Arg = new BitCastInst(Arg, IType, "PrintArgFP", Brnch); in lowerPrintfForGpu() 528 Arg = new BitCastInst(Arg, IType, "PrintArgVect", Brnch); in lowerPrintfForGpu() 542 new BitCastInst(BufferIdx, ArgPointer, "PrintBuffPtrCast", Brnch); in lowerPrintfForGpu()
|
D | AMDGPULowerKernelAttributes.cpp | 104 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 107 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser()); in runOnFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reg2Mem.cpp | 86 CastInst *AllocaInsertionPoint = new BitCastInst( in INITIALIZE_PASS_DEPENDENCY()
|
D | ConstantHoisting.cpp | 752 Base = new BitCastInst(Base, Int8PtrTy, "base_bitcast", InsertionPt); in emitBaseConstants() 755 Mat = new BitCastInst(Mat, Ty, "mat_bitcast", InsertionPt); in emitBaseConstants() 878 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP); in emitBaseConstants() 881 Base = new BitCastInst(ConstInfo.BaseInt, Ty, "const", IP); in emitBaseConstants()
|
D | CallSiteSplitting.cpp | 248 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 653 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) { in AllUsesOfValueWillTrapIfNull() 795 isa<BitCastInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads() 873 BitCastInst *TheBC = nullptr; in OptimizeGlobalAddressOfMalloc() 876 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() 885 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI); in OptimizeGlobalAddressOfMalloc() 1010 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1040 } else if (isa<BitCastInst>(U)) { in ReplaceUsesOfMallocWithGlobal() 1561 Instruction *Cast = new BitCastInst(Malloc, CI->getType(), "tmp", CI); in tryToOptimizeStoreOfMallocToGlobal() 1564 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) in tryToOptimizeStoreOfMallocToGlobal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | StackColoring.cpp | 924 BitCastInst *Cast = new BitCastInst(Inst, From->getType()); in remapInstructions() 951 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions()
|
D | InterleavedLoadCombinePass.cpp | 719 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() 731 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | PtrUseVisitor.h | 255 void visitBitCastInst(BitCastInst &BC) { in visitBitCastInst()
|
D | ObjCARCAnalysisUtils.h | 146 return isa<BitCastInst>(I) || in IsNoopInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | Coroutines.cpp | 119 new BitCastInst(Call, ResumeFnType->getPointerTo(), "", InsertPt); in makeSubFnCall() 415 auto BCI = new BitCastInst(*SI, *RI, "", Suspend); in buildFrom()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 149 void visitBitCastInst(BitCastInst &I);
|