Home
last modified time | relevance | path

Searched refs:AlignmentParam (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceCfg.cpp927 uint32_t AlignmentParam = Alloca->getAlignInBytes(); in processAllocas() local
928 if (AlignmentParam > StackAlignment) in processAllocas()
978 uint32_t AlignmentParam = Alloca->getAlignInBytes(); in processAllocas() local
981 AlignmentParam = std::max(AlignmentParam, 1u); in processAllocas()
982 assert(llvm::isPowerOf2_32(AlignmentParam)); in processAllocas()
983 if (HasDynamicAllocation && AlignmentParam > StackAlignment) { in processAllocas()
990 MaxAlignment = std::max(AlignmentParam, MaxAlignment); in processAllocas()
DIceTargetLoweringMIPS32.cpp2371 const uint32_t AlignmentParam = std::max(1u, Instr->getAlignInBytes()); in lowerAlloca() local
2374 assert(llvm::isPowerOf2_32(AlignmentParam)); in lowerAlloca()
2378 std::max(AlignmentParam, MIPS32_STACK_ALIGNMENT_BYTES); in lowerAlloca()
2422 VariableAllocaAlignBytes = AlignmentParam; in lowerAlloca()
2436 legalizeToReg(Ctx->getConstantInt32(-AlignmentParam), Legal_Reg); in lowerAlloca()
DIceTargetLoweringARM32.cpp2214 const uint32_t AlignmentParam = std::max(1u, Instr->getAlignInBytes()); in lowerAlloca() local
2217 assert(llvm::isPowerOf2_32(AlignmentParam)); in lowerAlloca()
2221 std::max(AlignmentParam, ARM32_STACK_ALIGNMENT_BYTES); in lowerAlloca()
DIceTargetLoweringX86BaseImpl.h1517 const uint32_t AlignmentParam = std::max(1u, Instr->getAlignInBytes());
1520 assert(llvm::isPowerOf2_32(AlignmentParam));
1524 std::max(AlignmentParam, Traits::X86_STACK_ALIGNMENT_BYTES);
/external/llvm-project/clang/lib/AST/
DDecl.cpp3061 Optional<unsigned> *AlignmentParam, bool *IsNothrow) const { in isReplaceableGlobalAllocationFunction() argument
3109 if (AlignmentParam) in isReplaceableGlobalAllocationFunction()
3110 *AlignmentParam = Params; in isReplaceableGlobalAllocationFunction()
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp1838 Optional<unsigned> AlignmentParam; in isUnavailableAlignedAllocationFunction() local
1839 if (FD.isReplaceableGlobalAllocationFunction(&AlignmentParam) && in isUnavailableAlignedAllocationFunction()
1840 AlignmentParam.hasValue()) in isUnavailableAlignedAllocationFunction()
DSemaDecl.cpp14794 Optional<unsigned> AlignmentParam; in AddKnownFunctionAttributesForReplaceableGlobalAllocationFunction() local
14796 if (!FD->isReplaceableGlobalAllocationFunction(&AlignmentParam, &IsNothrow)) in AddKnownFunctionAttributesForReplaceableGlobalAllocationFunction()
14833 if (AlignmentParam.hasValue() && !FD->hasAttr<AllocAlignAttr>()) { in AddKnownFunctionAttributesForReplaceableGlobalAllocationFunction()
14835 Context, ParamIdx(AlignmentParam.getValue(), FD), FD->getLocation())); in AddKnownFunctionAttributesForReplaceableGlobalAllocationFunction()
/external/llvm-project/clang/include/clang/AST/
DDecl.h2342 Optional<unsigned> *AlignmentParam = nullptr,