/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelAttributes.cpp | 104 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse() local 105 if (!BCI || !BCI->hasOneUse()) in processUse() 108 auto *Load = dyn_cast<LoadInst>(*BCI->user_begin()); in processUse()
|
D | AMDGPURewriteOutArguments.cpp | 146 auto *BCI = dyn_cast<BitCastInst>(U.getUser()); in checkArgumentUses() local 147 if (!BCI || !BCI->hasOneUse()) in checkArgumentUses() 152 Type *DestEltTy = BCI->getType()->getPointerElementType(); in checkArgumentUses() 175 return checkArgumentUses(*BCI); in checkArgumentUses()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 194 bool visitBitCastInst(BitCastInst &BCI); 682 bool ScalarizerVisitor::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument 683 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst() 684 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst() 690 IRBuilder<> Builder(&BCI); in visitBitCastInst() 691 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); in visitBitCastInst() 698 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst() 714 Scatterer Mid = scatter(&BCI, V); in visitBitCastInst() 727 BCI.getName() + ".i" + Twine(ResI) in visitBitCastInst() 730 BCI.getName() + ".i" + Twine(ResI)); in visitBitCastInst() [all …]
|
D | CallSiteSplitting.cpp | 248 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn() local 249 if (BCI) in copyMustTailReturn() 257 if (BCI) in copyMustTailReturn() 258 V = cloneInstForMustTail(BCI, TI, V); in copyMustTailReturn()
|
/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() local 101 Prev = BCI->getPrevNode(); in runOnFunction()
|
D | BypassSlowDivision.cpp | 394 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem() local 395 if (BCI->getParent() == SlowDivOrRem->getParent() && in insertFastDivAndRem() 396 isa<ConstantInt>(BCI->getOperand(0))) in insertFastDivAndRem()
|
D | PromoteMemoryToRegister.cpp | 86 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in isAllocaPromotable() local 87 if (BCI->getType() != Type::getInt8PtrTy(U->getContext(), AS)) in isAllocaPromotable() 89 if (!onlyUsedByLifetimeMarkers(BCI)) in isAllocaPromotable()
|
D | BasicBlockUtils.cpp | 896 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local 899 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch() 900 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | InterleavedLoadCombinePass.cpp | 719 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() local 720 if (BCI) in compute() 721 return computeFromBCI(BCI, Result, DL); in compute() 731 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI() 733 Instruction *Op = dyn_cast<Instruction>(BCI->getOperand(0)); in computeFromBCI() 769 Result.Is.insert(BCI); in computeFromBCI()
|
D | StackColoring.cpp | 951 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions() local 952 if (BCI->isUsedByMetadata()) in remapInstructions() 953 ValueAsMetadata::handleRAUW(BCI, UndefValue::get(BCI->getType())); in remapInstructions()
|
D | CodeGenPrepare.cpp | 2084 BitCastInst *BCI = nullptr; in dupRetToEnableTailCallOpts() local 2087 BCI = dyn_cast<BitCastInst>(V); in dupRetToEnableTailCallOpts() 2088 if (BCI) in dupRetToEnableTailCallOpts() 2089 V = BCI->getOperand(0); in dupRetToEnableTailCallOpts() 2104 do { ++BI; } while (isa<DbgInfoIntrinsic>(BI) || &*BI == BCI); in dupRetToEnableTailCallOpts()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroEarly.cpp | 100 auto *BCI = Builder.CreateBitCast(Operand, FramePtrTy); in lowerCoroDone() local 101 auto *Load = Builder.CreateLoad(BCI); in lowerCoroDone()
|
D | Coroutines.cpp | 415 auto BCI = new BitCastInst(*SI, *RI, "", Suspend); in buildFrom() local 416 SI->set(BCI); in buildFrom()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 2267 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() local 2269 if (!BCI) in optimizeBitCastFromPhi() 2273 Type *TyA = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi() 2274 Type *TyB = BCI->getType(); in optimizeBitCastFromPhi() 2287 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local 2289 Type *TyB = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi() 2290 Type *TyA = BCI->getType(); in optimizeBitCastFromPhi() 2330 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local 2331 NewV = BCI->getOperand(0); in optimizeBitCastFromPhi() 2365 else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local [all …]
|
D | InstructionCombining.cpp | 2195 if (auto *BCI = dyn_cast<BitCastInst>(ASCStrippedPtrOp)) { in visitGetElementPtrInst() local 2196 Value *SrcOp = BCI->getOperand(0); in visitGetElementPtrInst() 2197 PointerType *SrcType = cast<PointerType>(BCI->getSrcTy()); in visitGetElementPtrInst() 2248 if (Instruction *I = visitBitCast(*BCI)) { in visitGetElementPtrInst() 2249 if (I != BCI) { in visitGetElementPtrInst() 2250 I->takeName(BCI); in visitGetElementPtrInst() 2251 BCI->getParent()->getInstList().insert(BCI->getIterator(), I); in visitGetElementPtrInst() 2252 replaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
|
D | InstCombineCalls.cpp | 4015 if (CallInst *BCI = dyn_cast<CallInst>(BI)) { in visitCallInst() local 4016 if (auto *II2 = dyn_cast<IntrinsicInst>(BCI)) { in visitCallInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | IRBuilder.cpp | 68 BitCastInst *BCI = new BitCastInst(Ptr, PT, ""); in getCastedInt8PtrValue() local 69 BB->getInstList().insert(InsertPt, BCI); in getCastedInt8PtrValue() 70 SetInstDebugLocation(BCI); in getCastedInt8PtrValue() 71 return BCI; in getCastedInt8PtrValue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 876 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() local 877 if (BCI->getType() == NewGV->getType()) { in OptimizeGlobalAddressOfMalloc() 878 BCI->replaceAllUsesWith(NewGV); in OptimizeGlobalAddressOfMalloc() 879 BCI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 881 BCI->setOperand(0, NewGV); in OptimizeGlobalAddressOfMalloc() 1010 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() local 1011 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(BCI, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1564 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) in tryToOptimizeStoreOfMallocToGlobal() local 1565 CI = cast<CallInst>(BCI->getOperand(0)); in tryToOptimizeStoreOfMallocToGlobal()
|
/third_party/libdrm/include/drm/ |
D | README | 109 - Renamed ioctls - DRM_IOCTL_SAVAGE_{,BCI}_EVENT_EMIT, compat ioctls are broken.
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 366 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(*UI++)) { in getMallocType() local 367 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 6003 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in visitIntrinsicCall() local 6004 Address = BCI->getOperand(0); in visitIntrinsicCall()
|