Lines Matching defs:ElTy
4131 Type *ElTy =
4133 Check(ElTy, "Invalid indices for GEP pointer type!", &GEP);
4137 Check(PtrTy && GEP.getResultElementType() == ElTy,
4138 "GEP is not of right type for indices!", &GEP, ElTy);
4258 Type *ElTy = LI.getType();
4263 Check(ElTy->isSized(), "loading unsized types is not allowed", &LI);
4268 Check(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(),
4271 ElTy, &LI);
4272 checkAtomicMemAccessSize(ElTy, &LI);
4284 Type *ElTy = SI.getOperand(0)->getType();
4289 Check(ElTy->isSized(), "storing unsized types is not allowed", &SI);
4294 Check(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(),
4297 ElTy, &SI);
4298 checkAtomicMemAccessSize(ElTy, &SI);
4365 Type *ElTy = CXI.getOperand(1)->getType();
4366 Check(ElTy->isIntOrPtrTy(),
4367 "cmpxchg operand must have integer or pointer type", ElTy, &CXI);
4368 checkAtomicMemAccessSize(ElTy, &CXI);
4376 Type *ElTy = RMWI.getOperand(1)->getType();
4378 Check(ElTy->isIntegerTy() || ElTy->isFloatingPointTy() ||
4379 ElTy->isPointerTy(),
4382 &RMWI, ElTy);
4384 Check(ElTy->isFPOrFPVectorTy() && !isa<ScalableVectorType>(ElTy),
4388 &RMWI, ElTy);
4390 Check(ElTy->isIntegerTy(),
4393 &RMWI, ElTy);
4395 checkAtomicMemAccessSize(ElTy, &RMWI);