/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
D | insert_iter_iter.pass.cpp | 54 typedef 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()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 487 bool Scalarizer::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument 488 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst() 489 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst() 495 IRBuilder<> Builder(&BCI); in visitBitCastInst() 496 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); in visitBitCastInst() 503 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst() 519 Scatterer Mid = scatter(&BCI, V); in visitBitCastInst() 532 BCI.getName() + ".i" + Twine(ResI) in visitBitCastInst() 535 BCI.getName() + ".i" + Twine(ResI)); in visitBitCastInst() 538 gather(&BCI, Res); in visitBitCastInst()
|
D | ScalarReplAggregates.cpp | 503 if (BitCastInst *BCI = dyn_cast<BitCastInst>(UI)) { in CanConvertToScalar() local 504 if (!onlyUsedByLifetimeMarkers(BCI)) in CanConvertToScalar() 506 if (!CanConvertToScalar(BCI, Offset, NonConstantIdx)) in CanConvertToScalar() 1300 if (BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in tryToMakeAllocaBePromotable() local 1301 if (onlyUsedByLifetimeMarkers(BCI)) { in tryToMakeAllocaBePromotable() 1302 InstsToRewrite.insert(BCI); in tryToMakeAllocaBePromotable() 1318 if (BitCastInst *BCI = dyn_cast<BitCastInst>(InstsToRewrite[i])) { in tryToMakeAllocaBePromotable() local 1320 for (BitCastInst::user_iterator I = BCI->user_begin(), E = BCI->user_end(); in tryToMakeAllocaBePromotable() 1323 BCI->eraseFromParent(); in tryToMakeAllocaBePromotable() 1986 BitCastInst *BCI = new BitCastInst(NewAI, AI->getType(), "", NewAI); in RewriteForScalarRepl() local [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 203 if (BitCastInst *BCI = dyn_cast<BitCastInst>(BC)) { in hoistAddrSpaceCastFromBitCast() local 204 Value *NewCast = new BitCastInst(Src, TypeOfNewCast, "", BCI); in hoistAddrSpaceCastFromBitCast() 205 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
|
/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/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 418 if (auto *BCI = dyn_cast<BitCastInst>(Ptr)) { in getInvariantGroupPointerDependency() local 419 if (!Seen.count(BCI->getOperand(0))) { in getInvariantGroupPointerDependency() 420 LoadOperandsQueue.push_back(BCI->getOperand(0)); in getInvariantGroupPointerDependency() 421 Seen.insert(BCI->getOperand(0)); in getInvariantGroupPointerDependency() 430 if (auto *BCI = dyn_cast<BitCastInst>(U)) { in getInvariantGroupPointerDependency() local 431 if (!Seen.count(BCI)) { in getInvariantGroupPointerDependency() 432 LoadOperandsQueue.push_back(BCI); in getInvariantGroupPointerDependency() 433 Seen.insert(BCI); in getInvariantGroupPointerDependency()
|
D | MemoryBuiltins.cpp | 253 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(*UI++)) { in getMallocType() local 254 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()
|
/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/Utils/ |
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()
|
D | BasicBlockUtils.cpp | 661 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local 664 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch() 665 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 193 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in set() local 194 Address = BCI->getOperand(0); in set()
|
D | SelectionDAGBuilder.cpp | 4448 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in visitIntrinsicCall() local 4449 Address = BCI->getOperand(0); in visitIntrinsicCall() 4535 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(V)) in visitIntrinsicCall() local 4536 V = BCI->getOperand(0); in visitIntrinsicCall()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 859 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() local 860 if (BCI->getType() == NewGV->getType()) { in OptimizeGlobalAddressOfMalloc() 861 BCI->replaceAllUsesWith(NewGV); in OptimizeGlobalAddressOfMalloc() 862 BCI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 864 BCI->setOperand(0, NewGV); in OptimizeGlobalAddressOfMalloc() 993 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() local 994 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(BCI, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1542 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) in TryToOptimizeStoreOfMallocToGlobal() local 1543 CI = cast<CallInst>(BCI->getOperand(0)); in TryToOptimizeStoreOfMallocToGlobal()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1806 if (BitCastInst *BCI = dyn_cast<BitCastInst>(PtrOp)) { in visitGetElementPtrInst() local 1807 Value *Operand = BCI->getOperand(0); in visitGetElementPtrInst() 1821 if (Instruction *I = visitBitCast(*BCI)) { in visitGetElementPtrInst() 1822 if (I != BCI) { in visitGetElementPtrInst() 1823 I->takeName(BCI); in visitGetElementPtrInst() 1824 BCI->getParent()->getInstList().insert(BCI->getIterator(), I); in visitGetElementPtrInst() 1825 ReplaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
|
D | InstCombineVectorOps.cpp | 168 if (BitCastInst *BCI = dyn_cast<BitCastInst>(EI.getOperand(0))) { in visitExtractElementInst() local 169 if (VectorType *VT = dyn_cast<VectorType>(BCI->getOperand(0)->getType())) in visitExtractElementInst() 171 if (Value *Elt = findScalarElement(BCI->getOperand(0), IndexVal)) in visitExtractElementInst()
|
D | InstCombineCalls.cpp | 1652 if (CallInst *BCI = dyn_cast<CallInst>(BI)) { in visitCallInst() local 1653 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(BCI)) { in visitCallInst()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1913 BitCastInst *BCI = nullptr; in dupRetToEnableTailCallOpts() local 1916 BCI = dyn_cast<BitCastInst>(V); in dupRetToEnableTailCallOpts() 1917 if (BCI) in dupRetToEnableTailCallOpts() 1918 V = BCI->getOperand(0); in dupRetToEnableTailCallOpts() 1941 if (&*BI == BCI) in dupRetToEnableTailCallOpts()
|