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

References

lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  141   Builder.SetInsertPoint(InsertPt);
  142   Builder.SetCurrentDebugLocation(CI->getDebugLoc());
  146     Value *NewI = Builder.CreateAlignedLoad(VecType, Ptr, AlignVal);
  157   Value *FirstEltPtr = Builder.CreateBitCast(Ptr, NewPtrType);
  167       Value *Gep = Builder.CreateConstInBoundsGEP1_32(EltTy, FirstEltPtr, Idx);
  168       LoadInst *Load = Builder.CreateAlignedLoad(EltTy, Gep, AlignVal);
  169       VResult = Builder.CreateInsertElement(VResult, Load, Idx);
  180     Type *SclrMaskTy = Builder.getIntNTy(VectorWidth);
  181     SclrMask = Builder.CreateBitCast(Mask, SclrMaskTy, "scalar_mask");
  194       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
  195       Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
  195       Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
  196                                        Builder.getIntN(VectorWidth, 0));
  198       Predicate = Builder.CreateExtractElement(Mask, Idx);
  209     Builder.SetInsertPoint(InsertPt);
  211     Value *Gep = Builder.CreateConstInBoundsGEP1_32(EltTy, FirstEltPtr, Idx);
  212     LoadInst *Load = Builder.CreateAlignedLoad(EltTy, Gep, AlignVal);
  213     Value *NewVResult = Builder.CreateInsertElement(VResult, Load, Idx);
  218     Builder.SetInsertPoint(InsertPt);
  226     PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else");