| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
| H A D | insert_iter_iter.pass.cpp | 54 typedef cpp17_input_iterator<CI> BCI; in test() typedef 57 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test() 71 typedef forward_iterator<CI> BCI; in test() typedef 74 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test() 88 typedef bidirectional_iterator<CI> BCI; in test() typedef 91 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 95 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse() local 96 if (!BCI || !BCI->hasOneUse()) in processUse() 99 auto *Load = dyn_cast<LoadInst>(*BCI->user_begin()); in processUse()
|
| H A D | AMDGPURewriteOutArguments.cpp | 125 if (auto *BCI = dyn_cast<BitCastInst>(U->getUser())) { in getStoredType() local 126 for (Use &U : BCI->uses()) in getStoredType()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 220 bool visitBitCastInst(BitCastInst &BCI); 742 bool ScalarizerVisitor::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument 743 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst() 744 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst() 750 IRBuilder<> Builder(&BCI); in visitBitCastInst() 751 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); in visitBitCastInst() 758 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst() 774 Scatterer Mid = scatter(&BCI, V); in visitBitCastInst() 787 BCI.getName() + ".i" + Twine(ResI) in visitBitCastInst() 790 BCI.getName() + ".i" + Twine(ResI)); in visitBitCastInst() [all …]
|
| H A D | CallSiteSplitting.cpp | 246 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn() local 247 if (BCI) in copyMustTailReturn() 255 if (BCI) in copyMustTailReturn() 256 V = cloneInstForMustTail(BCI, TI, V); in copyMustTailReturn()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 717 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() local 718 if (BCI) in compute() 719 return computeFromBCI(BCI, Result, DL); in compute() 729 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI() 731 Instruction *Op = dyn_cast<Instruction>(BCI->getOperand(0)); in computeFromBCI() 767 Result.Is.insert(BCI); in computeFromBCI()
|
| H A D | StackColoring.cpp | 1000 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions() local 1001 if (BCI->isUsedByMetadata()) in remapInstructions() 1002 ValueAsMetadata::handleRAUW(BCI, UndefValue::get(BCI->getType())); in remapInstructions()
|
| H A D | CodeGenPrepare.cpp | 2341 BitCastInst *BCI = nullptr; in dupRetToEnableTailCallOpts() local 2344 BCI = dyn_cast<BitCastInst>(V); in dupRetToEnableTailCallOpts() 2345 if (BCI) in dupRetToEnableTailCallOpts() 2346 V = BCI->getOperand(0); in dupRetToEnableTailCallOpts() 2377 while (isa<DbgInfoIntrinsic>(BI) || BI == BCI || BI == EVI || in dupRetToEnableTailCallOpts() 6944 if (auto *BCI = dyn_cast<Instruction>(BC1)) in optimizeShuffleVectorInst() local 6945 if (auto *Op = dyn_cast<Instruction>(BCI->getOperand(0))) in optimizeShuffleVectorInst() 6946 if (BCI->getParent() != Op->getParent() && !isa<PHINode>(Op) && in optimizeShuffleVectorInst() 6948 BCI->moveAfter(Op); in optimizeShuffleVectorInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroEarly.cpp | 95 auto *BCI = Builder.CreateBitCast(Operand, FramePtrTy); in lowerCoroDone() local 96 auto *Load = Builder.CreateLoad(FrameTy, BCI); in lowerCoroDone()
|
| H A D | Coroutines.cpp | 363 auto BCI = new BitCastInst(*SI, *RI, "", Suspend); in buildFrom() local 364 SI->set(BCI); in buildFrom()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | BypassSlowDivision.cpp | 397 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem() local 398 if (BCI->getParent() == SlowDivOrRem->getParent() && in insertFastDivAndRem() 399 isa<ConstantInt>(BCI->getOperand(0))) in insertFastDivAndRem()
|
| H A D | PromoteMemoryToRegister.cpp | 82 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in isAllocaPromotable() local 83 if (!onlyUsedByLifetimeMarkersOrDroppableInsts(BCI)) in isAllocaPromotable()
|
| H A D | BasicBlockUtils.cpp | 1330 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local 1333 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch() 1334 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 2575 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() local 2577 if (!BCI) in optimizeBitCastFromPhi() 2581 Type *TyA = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi() 2582 Type *TyB = BCI->getType(); in optimizeBitCastFromPhi() 2597 Type *TyB = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi() 2598 Type *TyA = BCI->getType(); in optimizeBitCastFromPhi() 2639 NewV = BCI->getOperand(0); in optimizeBitCastFromPhi() 2670 else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local 2671 Type *TyB = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi() 2672 Type *TyA = BCI->getType(); in optimizeBitCastFromPhi() [all …]
|
| H A D | InstructionCombining.cpp | 2160 Instruction *InstCombinerImpl::visitGEPOfBitcast(BitCastInst *BCI, in visitGEPOfBitcast() argument 2164 PointerType *SrcType = cast<PointerType>(BCI->getSrcTy()); in visitGEPOfBitcast() 2170 Value *SrcOp = BCI->getOperand(0); in visitGEPOfBitcast() 2228 if (Instruction *I = visitBitCast(*BCI)) { in visitGEPOfBitcast() 2229 if (I != BCI) { in visitGEPOfBitcast() 2230 I->takeName(BCI); in visitGEPOfBitcast() 2231 BCI->getParent()->getInstList().insert(BCI->getIterator(), I); in visitGEPOfBitcast() 2232 replaceInstUsesWith(*BCI, I); in visitGEPOfBitcast() 2668 if (auto *BCI = dyn_cast<BitCastInst>(ASCStrippedPtrOp)) in visitGetElementPtrInst() local 2669 if (Instruction *I = visitGEPOfBitcast(BCI, GEP)) in visitGetElementPtrInst()
|
| H A D | InstCombineInternal.h | 152 Instruction *visitGEPOfBitcast(BitCastInst *BCI, GetElementPtrInst &GEP);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 889 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfAllocation() local 890 if (BCI->getType() == NewGV->getType()) { in OptimizeGlobalAddressOfAllocation() 891 BCI->replaceAllUsesWith(NewGV); in OptimizeGlobalAddressOfAllocation() 892 BCI->eraseFromParent(); in OptimizeGlobalAddressOfAllocation() 894 BCI->setOperand(0, NewGV); in OptimizeGlobalAddressOfAllocation() 1017 if (auto *BCI = dyn_cast<BitCastInst>(U)) { in valueIsOnlyUsedLocallyOrStoredToOneGlobal() local 1018 Worklist.push_back(BCI); in valueIsOnlyUsedLocallyOrStoredToOneGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 756 void visitBitCastInst(BitCastInst &BCI); 2549 void DFSanVisitor::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument 2553 if (auto *CI = dyn_cast<CallInst>(BCI.getOperand(0))) in visitBitCastInst() 2556 visitInstOperands(BCI); in visitBitCastInst()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 6087 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in visitIntrinsicCall() local 6088 Address = BCI->getOperand(0); in visitIntrinsicCall()
|