Home
last modified time | relevance | path

Searched refs:AlignVal (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp121 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedLoad() local
141 Value *NewI = Builder.CreateAlignedLoad(Ptr, AlignVal); in scalarizeMaskedLoad()
148 AlignVal = std::min(AlignVal, VecType->getScalarSizeInBits() / 8); in scalarizeMaskedLoad()
166 LoadInst *Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad()
211 LoadInst *Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad()
267 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedStore() local
284 Builder.CreateAlignedStore(Src, Ptr, AlignVal); in scalarizeMaskedStore()
290 AlignVal = std::max(AlignVal, VecType->getScalarSizeInBits() / 8); in scalarizeMaskedStore()
304 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore()
335 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore()
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1184 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedLoad() local
1204 Value *NewI = Builder.CreateAlignedLoad(Ptr, AlignVal); in scalarizeMaskedLoad()
1211 AlignVal = std::min(AlignVal, VecType->getScalarSizeInBits()/8); in scalarizeMaskedLoad()
1229 LoadInst* Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad()
1274 LoadInst *Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad()
1330 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedStore() local
1347 Builder.CreateAlignedStore(Src, Ptr, AlignVal); in scalarizeMaskedStore()
1353 AlignVal = std::max(AlignVal, VecType->getScalarSizeInBits()/8); in scalarizeMaskedStore()
1367 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore()
1398 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore()
[all …]
/external/clang/lib/CodeGen/
DCGExpr.cpp585 uint64_t AlignVal = 0; in EmitTypeCheck() local
588 AlignVal = Alignment.getQuantity(); in EmitTypeCheck()
589 if (!Ty->isIncompleteType() && !AlignVal) in EmitTypeCheck()
590 AlignVal = getContext().getTypeAlignInChars(Ty).getQuantity(); in EmitTypeCheck()
593 if (AlignVal) { in EmitTypeCheck()
596 llvm::ConstantInt::get(IntPtrTy, AlignVal - 1)); in EmitTypeCheck()
607 llvm::ConstantInt::get(SizeTy, AlignVal), in EmitTypeCheck()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp3243 uint64_t AlignVal = Alignment.getZExtValue(); in AddAlignedAttr() local
3251 if (!llvm::isPowerOf2_64(AlignVal)) { in AddAlignedAttr()
3262 if (AlignVal > MaxValidAlignment) { in AddAlignedAttr()
3273 if (MaxTLSAlign && AlignVal > MaxTLSAlign && VD && in AddAlignedAttr()
3276 << (unsigned)AlignVal << VD << MaxTLSAlign; in AddAlignedAttr()
/external/llvm/lib/IR/
DVerifier.cpp3828 const APInt &AlignVal = AlignCI->getValue(); in visitIntrinsicCallSite() local
3829 Assert(AlignCI->isZero() || AlignVal.isPowerOf2(), in visitIntrinsicCallSite()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2864 uint64_t AlignVal = (RealignOpt ? in lowerDYNAMIC_STACKALLOC() local
2868 uint64_t RequiredAlign = std::max(AlignVal, StackAlign); in lowerDYNAMIC_STACKALLOC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2998 uint64_t AlignVal = (RealignOpt ? in lowerDYNAMIC_STACKALLOC() local
3002 uint64_t RequiredAlign = std::max(AlignVal, StackAlign); in lowerDYNAMIC_STACKALLOC()