Lines Matching defs:XElemTy
7732 Type *XElemTy = X.ElemTy;
7733 assert((XElemTy->isFloatingPointTy() || XElemTy->isIntegerTy() ||
7734 XElemTy->isPointerTy()) &&
7739 if (XElemTy->isIntegerTy()) {
7741 Builder.CreateLoad(XElemTy, X.Var, X.IsVolatile, "omp.atomic.read");
7747 IntegerType::get(M.getContext(), XElemTy->getScalarSizeInBits());
7751 if (XElemTy->isFloatingPointTy()) {
7752 XRead = Builder.CreateBitCast(XLoad, XElemTy, "atomic.flt.cast");
7754 XRead = Builder.CreateIntToPtr(XLoad, XElemTy, "atomic.ptr.cast");
7771 Type *XElemTy = X.ElemTy;
7772 assert((XElemTy->isFloatingPointTy() || XElemTy->isIntegerTy() ||
7773 XElemTy->isPointerTy()) &&
7776 if (XElemTy->isIntegerTy()) {
7782 IntegerType::get(M.getContext(), XElemTy->getScalarSizeInBits());
7805 Type *XElemTy = X.ElemTy;
7806 assert((XElemTy->isFloatingPointTy() || XElemTy->isIntegerTy() ||
7807 XElemTy->isPointerTy()) &&
7854 InsertPointTy AllocaIP, Value *X, Type *XElemTy, Value *Expr,
7857 // TODO: handle the case where XElemTy is not byte-sized or not a power of 2
7867 emitRMWOp = XElemTy;
7870 emitRMWOp = (IsXBinopExpr && XElemTy);
7875 emitRMWOp &= XElemTy->isIntegerTy();
7889 IntegerType::get(M.getContext(), XElemTy->getScalarSizeInBits());
7907 AllocaInst *NewAtomicAddr = Builder.CreateAlloca(XElemTy);
7912 bool IsIntTy = XElemTy->isIntegerTy();
7915 if (XElemTy->isFloatingPointTy()) {
7916 OldExprVal = Builder.CreateBitCast(PHI, XElemTy,
7919 OldExprVal = Builder.CreateIntToPtr(PHI, XElemTy,
7965 Type *XElemTy = X.ElemTy;
7966 assert((XElemTy->isFloatingPointTy() || XElemTy->isIntegerTy() ||
7967 XElemTy->isPointerTy()) &&