Lines Matching defs:ElTy
4089 Type *ElTy =
4091 Check(ElTy, "Invalid indices for GEP pointer type!", &GEP);
4094 GEP.getResultElementType() == ElTy,
4095 "GEP is not of right type for indices!", &GEP, ElTy);
4199 Type *ElTy = LI.getType();
4204 Check(ElTy->isSized(), "loading unsized types is not allowed", &LI);
4209 Check(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(),
4212 ElTy, &LI);
4213 checkAtomicMemAccessSize(ElTy, &LI);
4225 Type *ElTy = SI.getOperand(0)->getType();
4230 Check(ElTy->isSized(), "storing unsized types is not allowed", &SI);
4235 Check(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(),
4238 ElTy, &SI);
4239 checkAtomicMemAccessSize(ElTy, &SI);
4303 Type *ElTy = CXI.getOperand(1)->getType();
4304 Check(ElTy->isIntOrPtrTy(),
4305 "cmpxchg operand must have integer or pointer type", ElTy, &CXI);
4306 checkAtomicMemAccessSize(ElTy, &CXI);
4314 Type *ElTy = RMWI.getOperand(1)->getType();
4316 Check(ElTy->isIntegerTy() || ElTy->isFloatingPointTy() ||
4317 ElTy->isPointerTy(),
4320 &RMWI, ElTy);
4322 Check(ElTy->isFPOrFPVectorTy() && !isa<ScalableVectorType>(ElTy),
4326 &RMWI, ElTy);
4328 Check(ElTy->isIntegerTy(),
4331 &RMWI, ElTy);
4333 checkAtomicMemAccessSize(ElTy, &RMWI);