reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/ConstantFold.cpp
 2219     if (CE->getOpcode() == Instruction::GetElementPtr) {
 2220       gep_type_iterator LastI = gep_type_end(CE);
 2221       for (gep_type_iterator I = gep_type_begin(CE), E = gep_type_end(CE);
 2221       for (gep_type_iterator I = gep_type_begin(CE), E = gep_type_end(CE);
 2252                         !CE->getOperand(CE->getNumOperands() - 1)
 2252                         !CE->getOperand(CE->getNumOperands() - 1)
 2258         NewIndices.reserve(Idxs.size() + CE->getNumOperands());
 2259         NewIndices.append(CE->op_begin() + 1, CE->op_end() - 1);
 2259         NewIndices.append(CE->op_begin() + 1, CE->op_end() - 1);
 2263         Constant *Combined = CE->getOperand(CE->getNumOperands()-1);
 2263         Constant *Combined = CE->getOperand(CE->getNumOperands()-1);
 2290         Optional<unsigned> IRIndex = cast<GEPOperator>(CE)->getInRangeIndex();
 2291         if (IRIndex && *IRIndex == CE->getNumOperands() - 2 && !Idx0->isNullValue())
 2295             cast<GEPOperator>(CE)->getSourceElementType(), CE->getOperand(0),
 2295             cast<GEPOperator>(CE)->getSourceElementType(), CE->getOperand(0),
 2296             NewIndices, InBounds && cast<GEPOperator>(CE)->isInBounds(),
 2310     if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) {
 2312         dyn_cast<PointerType>(CE->getOperand(0)->getType());
 2313       PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType());
 2323                                                 (Constant *)CE->getOperand(0),