Index of /pub/NetBSD/NetBSD-current/src/external/apache2/llvm/dist/clang/lib/CodeGen/

NameLast ModifiedSizeType
Parent Directory/ -  Directory
CVS/2022-Dec-17 22:26:47-  Directory
ABIInfo.h2021-May-30 05:00:325.0Kapplication/octet-stream
Address.h2019-Nov-08 15:29:473.2Kapplication/octet-stream
BackendUtil.cpp2021-May-30 05:00:3266.9Ktext/plain
CGAtomic.cpp2021-May-30 05:00:3287.0Ktext/plain
CGBlocks.cpp2021-May-30 05:00:32111.1Ktext/plain
CGBlocks.h2021-May-30 05:00:328.9Kapplication/octet-stream
CGBuilder.h2021-May-30 05:00:3214.6Kapplication/octet-stream
CGBuiltin.cpp2021-May-30 05:00:32740.8Ktext/plain
CGCUDANV.cpp2021-May-30 05:00:3247.7Ktext/plain
CGCUDARuntime.cpp2019-Nov-08 15:29:491.5Ktext/plain
CGCUDARuntime.h2021-May-30 05:00:323.6Kapplication/octet-stream
CGCXX.cpp2021-May-30 05:00:3211.8Ktext/plain
CGCXXABI.cpp2021-May-30 05:00:3211.6Ktext/plain
CGCXXABI.h2021-May-30 05:00:3227.7Kapplication/octet-stream
CGCall.cpp2021-May-30 05:00:32213.6Ktext/plain
CGCall.h2021-May-30 05:00:3211.6Kapplication/octet-stream
CGClass.cpp2021-May-30 05:00:32113.9Ktext/plain
CGCleanup.cpp2021-May-30 05:00:3250.4Ktext/plain
CGCleanup.h2021-May-30 05:00:3219.3Kapplication/octet-stream
CGCoroutine.cpp2021-May-30 05:00:3228.4Ktext/plain
CGDebugInfo.cpp2021-May-30 05:00:32198.4Ktext/plain
CGDebugInfo.h2021-May-30 05:00:3235.3Kapplication/octet-stream
CGDecl.cpp2021-May-30 05:00:32102.8Ktext/plain
CGDeclCXX.cpp2021-May-30 05:00:3234.5Ktext/plain
CGException.cpp2021-May-30 05:00:3284.4Ktext/plain
CGExpr.cpp2021-May-30 05:00:32214.7Ktext/plain
CGExprAgg.cpp2021-May-30 05:00:3280.9Ktext/plain
CGExprCXX.cpp2021-May-30 05:00:3291.3Ktext/plain
CGExprComplex.cpp2021-May-30 05:00:3245.1Ktext/plain
CGExprConstant.cpp2021-May-30 05:00:3286.0Ktext/plain
CGExprScalar.cpp2021-May-30 05:00:32201.1Ktext/plain
CGGPUBuiltin.cpp2021-May-30 05:00:326.1Ktext/plain
CGLoopInfo.cpp2021-May-30 05:00:3230.6Ktext/plain
CGLoopInfo.h2021-May-30 05:00:3210.9Kapplication/octet-stream
CGNonTrivialStruct.cpp2021-May-30 05:00:3241.4Ktext/plain
CGObjC.cpp2021-May-30 05:00:32151.6Ktext/plain
CGObjCGNU.cpp2021-May-30 05:00:32168.4Ktext/plain
CGObjCMac.cpp2021-May-30 05:00:32305.7Ktext/plain
CGObjCRuntime.cpp2021-May-30 05:00:3215.1Ktext/plain
CGObjCRuntime.h2021-May-30 05:00:3215.5Kapplication/octet-stream
CGOpenCLRuntime.cpp2021-May-30 05:00:327.0Ktext/plain
CGOpenCLRuntime.h2019-Nov-08 15:29:483.4Kapplication/octet-stream
CGOpenMPRuntime.cpp2021-May-30 05:00:32541.1Ktext/plain
CGOpenMPRuntime.h2021-May-30 05:00:32115.0Kapplication/octet-stream
CGOpenMPRuntimeAMDGCN.cpp2021-May-30 03:25:522.2Ktext/plain
CGOpenMPRuntimeAMDGCN.h2021-May-30 03:25:471.4Kapplication/octet-stream
CGOpenMPRuntimeGPU.cpp2021-May-30 03:25:48192.0Ktext/plain
CGOpenMPRuntimeGPU.h2021-May-30 03:25:5123.1Kapplication/octet-stream
CGOpenMPRuntimeNVPTX.cpp2021-May-30 05:00:322.0Ktext/plain
CGOpenMPRuntimeNVPTX.h2021-May-30 05:00:321.4Kapplication/octet-stream
CGRecordLayout.h2021-May-30 05:00:328.3Kapplication/octet-stream
CGRecordLayoutBuilder.cpp2021-May-30 05:00:3244.1Ktext/plain
CGStmt.cpp2021-May-30 05:00:32102.0Ktext/plain
CGStmtOpenMP.cpp2021-May-30 05:00:33299.6Ktext/plain
CGVTT.cpp2021-May-30 05:00:336.8Ktext/plain
CGVTables.cpp2021-May-30 05:00:3352.2Ktext/plain
CGVTables.h2021-May-30 05:00:336.3Kapplication/octet-stream
CGValue.h2021-May-30 05:00:3321.2Kapplication/octet-stream
CMakeLists.txt2021-May-30 05:00:331.5Ktext/plain
CodeGenABITypes.cpp2021-May-30 05:00:335.0Ktext/plain
CodeGenAction.cpp2021-May-30 05:00:3343.3Ktext/plain
CodeGenFunction.cpp2021-May-30 05:00:33102.2Ktext/plain
CodeGenFunction.h2021-May-30 05:00:33207.2Kapplication/octet-stream
CodeGenModule.cpp2021-May-30 05:00:33242.6Ktext/plain
CodeGenModule.h2021-May-30 05:00:3363.5Kapplication/octet-stream
CodeGenPGO.cpp2021-May-30 05:00:3338.0Ktext/plain
CodeGenPGO.h2021-May-30 05:00:334.4Kapplication/octet-stream
CodeGenTBAA.cpp2021-May-30 05:00:3316.9Ktext/plain
CodeGenTBAA.h2019-Nov-08 15:29:509.1Kapplication/octet-stream
CodeGenTypeCache.h2021-May-30 05:00:333.3Kapplication/octet-stream
CodeGenTypes.cpp2021-May-30 05:00:3333.3Ktext/plain
CodeGenTypes.h2021-May-30 05:00:3313.4Kapplication/octet-stream
ConstantEmitter.h2021-May-30 05:00:336.6Kapplication/octet-stream
ConstantInitBuilder.cpp2021-May-30 05:00:3310.2Ktext/plain
CoverageMappingGen.cpp2021-May-30 05:00:3364.5Ktext/plain
CoverageMappingGen.h2021-May-30 05:00:335.4Kapplication/octet-stream
EHScopeStack.h2021-May-30 05:00:3314.5Kapplication/octet-stream
ItaniumCXXABI.cpp2021-May-30 05:00:33186.1Ktext/plain
MacroPPCallbacks.cpp2019-Nov-08 15:29:486.4Ktext/plain
MacroPPCallbacks.h2019-Nov-08 15:29:494.5Kapplication/octet-stream
MicrosoftCXXABI.cpp2021-May-30 05:00:33177.1Ktext/plain
ModuleBuilder.cpp2021-May-30 05:00:3311.8Ktext/plain
ObjectFilePCHContainerOperations.cpp2021-May-30 05:00:3312.9Ktext/plain
PatternInit.cpp2021-May-30 05:00:334.1Ktext/plain
PatternInit.h2019-Nov-08 15:29:470.7Kapplication/octet-stream
README.txt2019-Nov-08 15:29:471.8Ktext/plain
SanitizerMetadata.cpp2021-May-30 05:00:334.2Ktext/plain
SanitizerMetadata.h2021-May-30 05:00:331.6Kapplication/octet-stream
SwiftCallingConv.cpp2021-May-30 05:00:3330.4Ktext/plain
TargetInfo.cpp2021-May-30 05:00:33411.0Ktext/plain
TargetInfo.h2021-May-30 05:00:3315.8Kapplication/octet-stream
VarBypassDetector.cpp2021-May-30 05:00:335.1Ktext/plain
VarBypassDetector.h2021-May-30 05:00:332.2Kapplication/octet-stream
IRgen optimization opportunities.

//===---------------------------------------------------------------------===//

The common pattern of
--
short x; // or char, etc
(x == 10)
--
generates an zext/sext of x which can easily be avoided.

//===---------------------------------------------------------------------===//

Bitfields accesses can be shifted to simplify masking and sign
extension. For example, if the bitfield width is 8 and it is
appropriately aligned then is is a lot shorter to just load the char
directly.

//===---------------------------------------------------------------------===//

It may be worth avoiding creation of alloca's for formal arguments
for the common situation where the argument is never written to or has
its address taken. The idea would be to begin generating code by using
the argument directly and if its address is taken or it is stored to
then generate the alloca and patch up the existing code.

In theory, the same optimization could be a win for block local
variables as long as the declaration dominates all statements in the
block.

NOTE: The main case we care about this for is for -O0 -g compile time
performance, and in that scenario we will need to emit the alloca
anyway currently to emit proper debug info. So this is blocked by
being able to emit debug information which refers to an LLVM
temporary, not an alloca.

//===---------------------------------------------------------------------===//

We should try and avoid generating basic blocks which only contain
jumps. At -O0, this penalizes us all the way from IRgen (malloc &
instruction overhead), all the way down through code generation and
assembly time.

On 176.gcc:expr.ll, it looks like over 12% of basic blocks are just
direct branches!

//===---------------------------------------------------------------------===//
lighttpd/1.4.19