/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
D | insert_iter_iter.pass.cpp | 55 typedef input_iterator<CI> BCI; in test() typedef 58 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test() 72 typedef forward_iterator<CI> BCI; in test() typedef 75 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test() 89 typedef bidirectional_iterator<CI> BCI; in test() typedef 92 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelAttributes.cpp | 105 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse() local 106 if (!BCI || !BCI->hasOneUse()) in processUse() 109 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 175 bool visitBitCastInst(BitCastInst &BCI); 608 bool Scalarizer::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument 609 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst() 610 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst() 616 IRBuilder<> Builder(&BCI); in visitBitCastInst() 617 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); in visitBitCastInst() 624 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst() 640 Scatterer Mid = scatter(&BCI, V); in visitBitCastInst() 653 BCI.getName() + ".i" + Twine(ResI) in visitBitCastInst() 656 BCI.getName() + ".i" + Twine(ResI)); in visitBitCastInst() [all …]
|
D | CallSiteSplitting.cpp | 244 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn() local 245 if (BCI) in copyMustTailReturn() 253 if (BCI) in copyMustTailReturn() 254 V = cloneInstForMustTail(BCI, TI, V); in copyMustTailReturn()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 490 bool Scalarizer::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument 491 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst() 492 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst() 498 IRBuilder<> Builder(&BCI); in visitBitCastInst() 499 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); in visitBitCastInst() 506 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst() 522 Scatterer Mid = scatter(&BCI, V); in visitBitCastInst() 535 BCI.getName() + ".i" + Twine(ResI) in visitBitCastInst() 538 BCI.getName() + ".i" + Twine(ResI)); in visitBitCastInst() 541 gather(&BCI, Res); in visitBitCastInst()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 206 if (BitCastInst *BCI = dyn_cast<BitCastInst>(BC)) { in hoistAddrSpaceCastFromBitCast() local 207 Value *NewCast = new BitCastInst(Src, TypeOfNewCast, "", BCI); in hoistAddrSpaceCastFromBitCast() 208 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
|
/external/swiftshader/third_party/llvm-7.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 | 395 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem() local 396 if (BCI->getParent() == SlowDivOrRem->getParent() && in insertFastDivAndRem() 397 isa<ConstantInt>(BCI->getOperand(0))) in insertFastDivAndRem()
|
D | BasicBlockUtils.cpp | 659 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local 662 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch() 663 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
|
D | PromoteMemoryToRegister.cpp | 88 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in isAllocaPromotable() local 89 if (BCI->getType() != Type::getInt8PtrTy(U->getContext(), AS)) in isAllocaPromotable() 91 if (!onlyUsedByLifetimeMarkers(BCI)) in isAllocaPromotable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroEarly.cpp | 99 auto *BCI = Builder.CreateBitCast(Operand, FramePtrTy); in lowerCoroDone() local 100 auto *Gep = Builder.CreateConstInBoundsGEP1_32(FrameTy, BCI, 0); in lowerCoroDone()
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 53 BitCastInst *BCI = new BitCastInst(Ptr, PT, ""); in getCastedInt8PtrValue() local 54 BB->getInstList().insert(InsertPt, BCI); in getCastedInt8PtrValue() 55 SetInstDebugLocation(BCI); in getCastedInt8PtrValue() 56 return BCI; in getCastedInt8PtrValue()
|
/external/llvm/lib/CodeGen/ |
D | StackColoring.cpp | 826 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions() local 827 if (BCI->isUsedByMetadata()) in remapInstructions() 828 ValueAsMetadata::handleRAUW(BCI, UndefValue::get(BCI->getType())); in remapInstructions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
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()
|
/external/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 367 if (auto *BCI = dyn_cast<BitCastInst>(Ptr)) { in getInvariantGroupPointerDependency() local 368 if (Seen.insert(BCI->getOperand(0)).second) { in getInvariantGroupPointerDependency() 369 LoadOperandsQueue.push_back(BCI->getOperand(0)); in getInvariantGroupPointerDependency() 378 if (auto *BCI = dyn_cast<BitCastInst>(U)) { in getInvariantGroupPointerDependency() local 379 if (Seen.insert(BCI).second) { in getInvariantGroupPointerDependency() 380 LoadOperandsQueue.push_back(BCI); in getInvariantGroupPointerDependency()
|
/external/llvm/test/Transforms/InstCombine/ |
D | type_pun.ll | 90 ; CHECK-NEXT: %[[BCI:.*]] = bitcast <16 x i8> %in to <4 x i32> 91 ; CHECK-NEXT: %[[EXTI:.*]] = extractelement <4 x i32> %[[BCI]], i32 0
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 817 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() local 818 if (BCI->getType() == NewGV->getType()) { in OptimizeGlobalAddressOfMalloc() 819 BCI->replaceAllUsesWith(NewGV); in OptimizeGlobalAddressOfMalloc() 820 BCI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 822 BCI->setOperand(0, NewGV); in OptimizeGlobalAddressOfMalloc() 950 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() local 951 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(BCI, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1501 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) in tryToOptimizeStoreOfMallocToGlobal() local 1502 CI = cast<CallInst>(BCI->getOperand(0)); in tryToOptimizeStoreOfMallocToGlobal()
|
/external/swiftshader/third_party/llvm-7.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()
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 590 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local 593 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch() 594 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
|
D | PromoteMemoryToRegister.cpp | 74 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in isAllocaPromotable() local 75 if (BCI->getType() != Type::getInt8PtrTy(U->getContext(), AS)) in isAllocaPromotable() 77 if (!onlyUsedByLifetimeMarkers(BCI)) in isAllocaPromotable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 861 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() local 862 if (BCI->getType() == NewGV->getType()) { in OptimizeGlobalAddressOfMalloc() 863 BCI->replaceAllUsesWith(NewGV); in OptimizeGlobalAddressOfMalloc() 864 BCI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 866 BCI->setOperand(0, NewGV); in OptimizeGlobalAddressOfMalloc() 994 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() local 995 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(BCI, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1545 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) in tryToOptimizeStoreOfMallocToGlobal() local 1546 CI = cast<CallInst>(BCI->getOperand(0)); in tryToOptimizeStoreOfMallocToGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1948 if (auto *BCI = dyn_cast<BitCastInst>(ASCStrippedPtrOp)) { in visitGetElementPtrInst() local 1949 Value *SrcOp = BCI->getOperand(0); in visitGetElementPtrInst() 1950 PointerType *SrcType = cast<PointerType>(BCI->getSrcTy()); in visitGetElementPtrInst() 1986 if (Instruction *I = visitBitCast(*BCI)) { in visitGetElementPtrInst() 1987 if (I != BCI) { in visitGetElementPtrInst() 1988 I->takeName(BCI); in visitGetElementPtrInst() 1989 BCI->getParent()->getInstList().insert(BCI->getIterator(), I); in visitGetElementPtrInst() 1990 replaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1801 if (BitCastInst *BCI = dyn_cast<BitCastInst>(PtrOp)) { in visitGetElementPtrInst() local 1802 Value *Operand = BCI->getOperand(0); in visitGetElementPtrInst() 1816 if (Instruction *I = visitBitCast(*BCI)) { in visitGetElementPtrInst() 1817 if (I != BCI) { in visitGetElementPtrInst() 1818 I->takeName(BCI); in visitGetElementPtrInst() 1819 BCI->getParent()->getInstList().insert(BCI->getIterator(), I); in visitGetElementPtrInst() 1820 replaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 230 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in set() local 231 Address = BCI->getOperand(0); in set()
|