/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() 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() 90 typedef bidirectional_iterator<CI> BCI; in test() typedef 93 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 481 bool Scalarizer::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument 482 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst() 483 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst() 489 IRBuilder<> Builder(BCI.getParent(), &BCI); in visitBitCastInst() 490 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); in visitBitCastInst() 497 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst() 513 Scatterer Mid = scatter(&BCI, V); in visitBitCastInst() 526 BCI.getName() + ".i" + Twine(ResI) in visitBitCastInst() 529 BCI.getName() + ".i" + Twine(ResI)); in visitBitCastInst() 532 gather(&BCI, Res); in visitBitCastInst()
|
D | ScalarReplAggregates.cpp | 502 if (BitCastInst *BCI = dyn_cast<BitCastInst>(UI)) { in CanConvertToScalar() local 503 if (!onlyUsedByLifetimeMarkers(BCI)) in CanConvertToScalar() 505 if (!CanConvertToScalar(BCI, Offset, NonConstantIdx)) in CanConvertToScalar() 1299 if (BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in tryToMakeAllocaBePromotable() local 1300 if (onlyUsedByLifetimeMarkers(BCI)) { in tryToMakeAllocaBePromotable() 1301 InstsToRewrite.insert(BCI); in tryToMakeAllocaBePromotable() 1317 if (BitCastInst *BCI = dyn_cast<BitCastInst>(InstsToRewrite[i])) { in tryToMakeAllocaBePromotable() local 1319 for (BitCastInst::user_iterator I = BCI->user_begin(), E = BCI->user_end(); in tryToMakeAllocaBePromotable() 1322 BCI->eraseFromParent(); in tryToMakeAllocaBePromotable() 1985 BitCastInst *BCI = new BitCastInst(NewAI, AI->getType(), "", NewAI); in RewriteForScalarRepl() local [all …]
|
D | SROA.cpp | 1135 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Ptr)) in isInstInList() local 1136 Ptr = BCI->getOperand(0); in isInstInList()
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 50 BitCastInst *BCI = new BitCastInst(Ptr, PT, ""); in getCastedInt8PtrValue() local 51 BB->getInstList().insert(InsertPt, BCI); in getCastedInt8PtrValue() 52 SetInstDebugLocation(BCI); in getCastedInt8PtrValue() 53 return BCI; in getCastedInt8PtrValue()
|
/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 | BasicBlockUtils.cpp | 653 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local 656 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch() 657 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
|
D | PromoteMemoryToRegister.cpp | 84 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in isAllocaPromotable() local 85 if (BCI->getType() != Type::getInt8PtrTy(U->getContext(), AS)) in isAllocaPromotable() 87 if (!onlyUsedByLifetimeMarkers(BCI)) in isAllocaPromotable()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 857 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() local 858 if (BCI->getType() == NewGV->getType()) { in OptimizeGlobalAddressOfMalloc() 859 BCI->replaceAllUsesWith(NewGV); in OptimizeGlobalAddressOfMalloc() 860 BCI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 862 BCI->setOperand(0, NewGV); in OptimizeGlobalAddressOfMalloc() 992 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() local 993 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(BCI, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1543 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) in TryToOptimizeStoreOfMallocToGlobal() local 1544 CI = cast<CallInst>(BCI->getOperand(0)); in TryToOptimizeStoreOfMallocToGlobal()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1741 if (BitCastInst *BCI = dyn_cast<BitCastInst>(PtrOp)) { in visitGetElementPtrInst() local 1742 Value *Operand = BCI->getOperand(0); in visitGetElementPtrInst() 1756 if (Instruction *I = visitBitCast(*BCI)) { in visitGetElementPtrInst() 1757 if (I != BCI) { in visitGetElementPtrInst() 1758 I->takeName(BCI); in visitGetElementPtrInst() 1759 BCI->getParent()->getInstList().insert(BCI, I); in visitGetElementPtrInst() 1760 ReplaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
|
D | InstCombineVectorOps.cpp | 218 if (BitCastInst *BCI = dyn_cast<BitCastInst>(EI.getOperand(0))) { in visitExtractElementInst() local 219 if (VectorType *VT = dyn_cast<VectorType>(BCI->getOperand(0)->getType())) in visitExtractElementInst() 221 if (Value *Elt = FindScalarElement(BCI->getOperand(0), IndexVal)) in visitExtractElementInst()
|
D | InstCombineCalls.cpp | 1106 if (CallInst *BCI = dyn_cast<CallInst>(BI)) { in visitCallInst() local 1107 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(BCI)) { in visitCallInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 212 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in set() local 213 Address = BCI->getOperand(0); in set()
|
D | SelectionDAGBuilder.cpp | 4672 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in visitIntrinsicCall() local 4673 Address = BCI->getOperand(0); in visitIntrinsicCall() 4776 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(V)) in visitIntrinsicCall() local 4777 V = BCI->getOperand(0); in visitIntrinsicCall()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 250 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(*UI++)) { in getMallocType() local 251 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1433 BitCastInst *BCI = nullptr; in DupRetToEnableTailCallOpts() local 1436 BCI = dyn_cast<BitCastInst>(V); in DupRetToEnableTailCallOpts() 1437 if (BCI) in DupRetToEnableTailCallOpts() 1438 V = BCI->getOperand(0); in DupRetToEnableTailCallOpts() 1461 if (&*BI == BCI) in DupRetToEnableTailCallOpts()
|