Searched refs:ExpectedElementType (Results 1 – 1 of 1) sorted by relevance
283 Type *ExpectedElementType; in insertPtrCastInstr() local287 ExpectedElementType = SI->getValueOperand()->getType(); in insertPtrCastInstr()291 ExpectedElementType = LI->getType(); in insertPtrCastInstr()295 ExpectedElementType = GEPI->getSourceElementType(); in insertPtrCastInstr()308 if (GV && GV->getValueType() == ExpectedElementType) in insertPtrCastInstr()314 if (A && A->getAllocatedType() == ExpectedElementType) in insertPtrCastInstr()319 if (GEPI && GEPI->getResultElementType() == ExpectedElementType) in insertPtrCastInstr()324 Constant::getNullValue(ExpectedElementType); in insertPtrCastInstr()367 if (ExpectedElementType->isIntegerTy(8)) in insertPtrCastInstr()