Lines Matching refs:BCI
1056 if (BitCastInst *BCI = dyn_cast<BitCastInst>(PtrOp)) { in visitGetElementPtrInst() local
1058 !isa<BitCastInst>(BCI->getOperand(0)) && GEP.hasAllConstantIndices() && in visitGetElementPtrInst()
1070 if (isa<AllocaInst>(BCI->getOperand(0)) || in visitGetElementPtrInst()
1071 isAllocationFn(BCI->getOperand(0), TLI)) { in visitGetElementPtrInst()
1073 if (Instruction *I = visitBitCast(*BCI)) { in visitGetElementPtrInst()
1074 if (I != BCI) { in visitGetElementPtrInst()
1075 I->takeName(BCI); in visitGetElementPtrInst()
1076 BCI->getParent()->getInstList().insert(BCI, I); in visitGetElementPtrInst()
1077 ReplaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
1082 return new BitCastInst(BCI->getOperand(0), GEP.getType()); in visitGetElementPtrInst()
1090 cast<PointerType>(BCI->getOperand(0)->getType())->getElementType(); in visitGetElementPtrInst()
1093 Builder->CreateInBoundsGEP(BCI->getOperand(0), NewIndices) : in visitGetElementPtrInst()
1094 Builder->CreateGEP(BCI->getOperand(0), NewIndices); in visitGetElementPtrInst()