/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelAttributes.cpp | 104 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin()); local 105 if (!BCI || !BCI->hasOneUse()) 108 auto *Load = dyn_cast<LoadInst>(*BCI->user_begin());
|
H A D | AMDGPURewriteOutArguments.cpp | 146 auto *BCI = dyn_cast<BitCastInst>(U.getUser()); local 147 if (!BCI || !BCI->hasOneUse()) 152 Type *DestEltTy = BCI->getType()->getPointerElementType(); 175 return checkArgumentUses(*BCI);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | EntryExitInstrumenter.cpp | 100 if (BitCastInst *BCI = dyn_cast_or_null<BitCastInst>(Prev)) 101 Prev = BCI->getPrevNode();
|
H A D | BypassSlowDivision.cpp | 394 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) 395 if (BCI->getParent() == SlowDivOrRem->getParent() && 396 isa<ConstantInt>(BCI->getOperand(0)))
|
H A D | BasicBlockUtils.cpp | 896 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { 899 V = BCI->getOperand(0); 900 NewBC = BCI->clone();
|
H A D | PromoteMemoryToRegister.cpp | 86 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { 87 if (BCI->getType() != Type::getInt8PtrTy(U->getContext(), AS)) 89 if (!onlyUsedByLifetimeMarkers(BCI))
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 194 bool visitBitCastInst(BitCastInst &BCI); 682 bool ScalarizerVisitor::visitBitCastInst(BitCastInst &BCI) { argument 683 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); 684 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); 690 IRBuilder<> Builder(&BCI); 691 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); 698 BCI.getName() + ".i" + Twine(I)); 714 Scatterer Mid = scatter(&BCI, V); 727 BCI [all...] |
H A D | CallSiteSplitting.cpp | 248 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); local 249 if (BCI) 257 if (BCI) 258 V = cloneInstForMustTail(BCI, TI, V);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroEarly.cpp | 100 auto *BCI = Builder.CreateBitCast(Operand, FramePtrTy); local 101 auto *Load = Builder.CreateLoad(BCI);
|
H A D | Coroutines.cpp | 415 auto BCI = new BitCastInst(*SI, *RI, "", Suspend); local 416 SI->set(BCI);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InterleavedLoadCombinePass.cpp | 719 BitCastInst *BCI = dyn_cast<BitCastInst>(V); 720 if (BCI) 721 return computeFromBCI(BCI, Result, DL); 727 /// \param BCI BitCastInst to operate on 731 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, argument 733 Instruction *Op = dyn_cast<Instruction>(BCI->getOperand(0)); 769 Result.Is.insert(BCI);
|
H A D | StackColoring.cpp | 951 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) 952 if (BCI->isUsedByMetadata()) 953 ValueAsMetadata::handleRAUW(BCI, UndefValue::get(BCI->getType()));
|
H A D | CodeGenPrepare.cpp | 2084 BitCastInst *BCI = nullptr; local 2087 BCI = dyn_cast<BitCastInst>(V); 2088 if (BCI) 2089 V = BCI->getOperand(0); 2104 do { ++BI; } while (isa<DbgInfoIntrinsic>(BI) || &*BI == BCI);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 2267 auto *BCI = dyn_cast<BitCastInst>(IncValue); local 2269 if (!BCI) 2273 Type *TyA = BCI->getOperand(0)->getType(); 2274 Type *TyB = BCI->getType(); 2287 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { 2289 Type *TyB = BCI->getOperand(0)->getType(); 2290 Type *TyA = BCI->getType(); 2330 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { 2331 NewV = BCI->getOperand(0); 2365 else if (auto *BCI [all...] |
H A D | InstructionCombining.cpp | 2195 if (auto *BCI = dyn_cast<BitCastInst>(ASCStrippedPtrOp)) { 2196 Value *SrcOp = BCI->getOperand(0); 2197 PointerType *SrcType = cast<PointerType>(BCI->getSrcTy()); 2248 if (Instruction *I = visitBitCast(*BCI)) { 2249 if (I != BCI) { 2250 I->takeName(BCI); 2251 BCI->getParent()->getInstList().insert(BCI->getIterator(), I); 2252 replaceInstUsesWith(*BCI, I);
|
H A D | InstCombineCalls.cpp | 4015 if (CallInst *BCI = dyn_cast<CallInst>(BI)) { 4016 if (auto *II2 = dyn_cast<IntrinsicInst>(BCI)) {
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 68 BitCastInst *BCI = new BitCastInst(Ptr, PT, ""); local 69 BB->getInstList().insert(InsertPt, BCI); 70 SetInstDebugLocation(BCI); 71 return BCI;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 880 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { 881 if (BCI->getType() == NewGV->getType()) { 882 BCI->replaceAllUsesWith(NewGV); 883 BCI->eraseFromParent(); 885 BCI->setOperand(0, NewGV); 1014 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { 1015 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(BCI, GV, PHIs)) 1568 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) 1569 CI = cast<CallInst>(BCI->getOperand(0));
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 366 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(*UI++)) { 367 MallocType = cast<PointerType>(BCI->getDestTy());
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 6003 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) 6004 Address = BCI->getOperand(0);
|