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

References

lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  611   Builder.SetInsertPoint(InsertPt);
  612   Builder.SetCurrentDebugLocation(CI->getDebugLoc());
  625       Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex);
  627           Builder.CreateAlignedLoad(EltTy, NewPtr, 1, "Load" + Twine(Idx));
  629           Builder.CreateInsertElement(VResult, Load, Idx, "Res" + Twine(Idx));
  641     Type *SclrMaskTy = Builder.getIntNTy(VectorWidth);
  642     SclrMask = Builder.CreateBitCast(Mask, SclrMaskTy, "scalar_mask");
  655       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
  656       Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
  656       Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
  657                                        Builder.getIntN(VectorWidth, 0));
  659       Predicate = Builder.CreateExtractElement(Mask, Idx, "Mask" + Twine(Idx));
  670     Builder.SetInsertPoint(InsertPt);
  672     LoadInst *Load = Builder.CreateAlignedLoad(EltTy, Ptr, 1);
  673     Value *NewVResult = Builder.CreateInsertElement(VResult, Load, Idx);
  678       NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1);
  683     Builder.SetInsertPoint(InsertPt);
  691     PHINode *ResultPhi = Builder.CreatePHI(VecType, 2, "res.phi.else");
  698       PHINode *PtrPhi = Builder.CreatePHI(Ptr->getType(), 2, "ptr.phi.else");