Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp102 const Align FunctionAlignment(4); in LoongArchTargetLowering() local
103 setMinFunctionAlignment(FunctionAlignment); in LoongArchTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp153 const Align FunctionAlignment(2); in CSKYTargetLowering() local
154 setMinFunctionAlignment(FunctionAlignment); in CSKYTargetLowering()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLangOptions.def418 COMPATIBLE_VALUE_LANGOPT(FunctionAlignment, 5, 0, "Default alignment for functions")
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DClang.cpp4988 unsigned FunctionAlignment = ParseFunctionAlignment(TC, Args); in ConstructJob() local
4989 assert(FunctionAlignment <= 31 && "function alignment will be truncated!"); in ConstructJob()
4990 if (FunctionAlignment) { in ConstructJob()
4992 CmdArgs.push_back(Args.MakeArgString(std::to_string(FunctionAlignment))); in ConstructJob()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp2058 if (LangOpts.FunctionAlignment) in SetLLVMFunctionAttributesForDefinition()
2059 F->setAlignment(llvm::Align(1ull << LangOpts.FunctionAlignment)); in SetLLVMFunctionAttributesForDefinition()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp932 const Align FunctionAlignment(Subtarget.hasStdExtC() ? 2 : 4); in RISCVTargetLowering() local
933 setMinFunctionAlignment(FunctionAlignment); in RISCVTargetLowering()
934 setPrefFunctionAlignment(FunctionAlignment); in RISCVTargetLowering()
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DOptions.td6014 MarshallingInfoInt<LangOpts<"FunctionAlignment">>;