search for: codegen

Displaying 20 results from an estimated 278 matches for "codegen".

2018 Jan 24
1
[PATCH] D41675: Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)
...rL LLVM > > https://reviews.llvm.org/D41675 > > Files: > llvm/trunk/docs/LangRef.rst > llvm/trunk/include/llvm/IR/IntrinsicInst.h > llvm/trunk/include/llvm/IR/Intrinsics.td > llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp > llvm/trunk/lib/IR/AutoUpgrade.cpp > llvm/trunk/lib/IR/IRBuilder.cpp > llvm/trunk/lib/IR/Verifier.cpp > llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp > llvm...
2018 Jan 24
1
[PATCH] D41675: Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)
...rL LLVM https://reviews.llvm.org/D41675 Files: llvm/trunk/docs/LangRef.rst llvm/trunk/include/llvm/IR/IntrinsicInst.h llvm/trunk/include/llvm/IR/Intrinsics.td<http://rinsics.td/> llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp llvm/trunk/lib/IR/AutoUpgrade.cpp llvm/trunk/lib/IR/IRBuilder.cpp llvm/trunk/lib/IR/Verifier.cpp llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp llvm/trunk/lib/Ta...
2018 Jan 25
1
[PATCH] D41675: Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)
...s://reviews.llvm.org/D41675 >> >> Files: >> llvm/trunk/docs/LangRef.rst >> llvm/trunk/include/llvm/IR/IntrinsicInst.h >> llvm/trunk/include/llvm/IR/Intrinsics.td >> llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp >> llvm/trunk/lib/IR/AutoUpgrade.cpp >> llvm/trunk/lib/IR/IRBuilder.cpp >> llvm/trunk/lib/IR/Verifier.cpp >> llvm/trunk/lib/Target/AArch64/AArch64FastISel...
2018 Jan 25
1
[PATCH] D41675: Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)
...rL LLVM https://reviews.llvm.org/D41675 Files: llvm/trunk/docs/LangRef.rst llvm/trunk/include/llvm/IR/IntrinsicInst.h llvm/trunk/include/llvm/IR/Intrinsics.td<http://rinsics.td/> llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp llvm/trunk/lib/IR/AutoUpgrade.cpp llvm/trunk/lib/IR/IRBuilder.cpp llvm/trunk/lib/IR/Verifier.cpp llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp llvm/trunk/lib/Ta...
2018 Jan 25
2
[PATCH] D41675: Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)
...rL LLVM https://reviews.llvm.org/D41675 Files: llvm/trunk/docs/LangRef.rst llvm/trunk/include/llvm/IR/IntrinsicInst.h llvm/trunk/include/llvm/IR/Intrinsics.td<http://rinsics.td/> llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp llvm/trunk/lib/IR/AutoUpgrade.cpp llvm/trunk/lib/IR/IRBuilder.cpp llvm/trunk/lib/IR/Verifier.cpp llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp llvm/trunk/lib/Ta...
2018 Jan 25
1
[PATCH] D41675: Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)
....org/D41675 >>> >>> Files: >>> llvm/trunk/docs/LangRef.rst >>> llvm/trunk/include/llvm/IR/IntrinsicInst.h >>> llvm/trunk/include/llvm/IR/Intrinsics.td >>> llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp >>> llvm/trunk/lib/IR/AutoUpgrade.cpp >>> llvm/trunk/lib/IR/IRBuilder.cpp >>> llvm/trunk/lib/IR/Verifier.cpp >>> llvm/trunk/lib/Target/AArch64/...
2018 Apr 05
1
[RFC] Adding function attributes to represent codegen optimization level
Le mar. 3 avr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a écrit : > All, > A recent commit, D43040/r324557, changed the behavior of the gold plugin > when compiling with LTO. The change now causes the codegen optimization > level to default to CodeGenOpt::Default (i.e., -O2) rather than use the > LTO optimization level. The argument was made that the LTO optimization > level should control the amount of cross-module optimizations done by > LTO, but it should not control the codegen optimiza...
2018 Apr 03
2
[RFC] Adding function attributes to represent codegen optimization level
All, A recent commit, D43040/r324557, changed the behavior of the gold plugin when compiling with LTO. The change now causes the codegen optimization level to default to CodeGenOpt::Default (i.e., -O2) rather than use the LTO optimization level. The argument was made that the LTO optimization level should control the amount of cross-module optimizations done by LTO, but it should not control the codegen optimization level; that...
2018 Apr 04
2
[RFC] Adding function attributes to represent codegen optimization level
On Tue, Apr 3, 2018 at 12:47 PM via llvm-dev <llvm-dev at lists.llvm.org> wrote: > All, > A recent commit, D43040/r324557, changed the behavior of the gold plugin > when compiling with LTO. The change now causes the codegen optimization > level to default to CodeGenOpt::Default (i.e., -O2) rather than use the > LTO optimization level. The argument was made that the LTO optimization > level should control the amount of cross-module optimizations done by > LTO, but it should not control the codegen optimiza...
2018 Apr 05
1
[RFC] Adding function attributes to represent codegen optimization level
...22:00, Mehdi AMINI wrote: > Le mar. 3 avr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a > écrit : > >> All, >> A recent commit, D43040/r324557, changed the behavior of the gold >> plugin >> when compiling with LTO. The change now causes the codegen >> optimization >> level to default to CodeGenOpt::Default (i.e., -O2) rather than use >> the >> LTO optimization level. The argument was made that the LTO >> optimization >> level should control the amount of cross-module optimizations done >> by >>...
2018 Apr 04
1
[RFC] Adding function attributes to represent codegen optimization level
...ikie' <dblaikie at gmail.com>; 'mcrosier at codeaurora.org' <mcrosier at codeaurora.org>; 'Chandler Carruth' <chandlerc at gmail.com>; 'Eric Christopher' <echristo at gmail.com> Subject: RE: [llvm-dev] [RFC] Adding function attributes to represent codegen optimization level Would implementing GCC’s ‘__attribute__((optimize(...)))’ help? I can’t find any good documentation for this attribute, but it seems that GCC supports this in two forms: __attribute__((optimize(2))) meaning optimise equivalent to ‘-O2’, and: __attribute_((optimiz...
2018 Apr 04
1
[RFC] Adding function attributes to represent codegen optimization level
...gmail.com>; 'mcrosier at codeaurora.org' > <mcrosier at codeaurora.org>; 'Chandler Carruth' <chandlerc at gmail.com>; > 'Eric Christopher' <echristo at gmail.com> > *Subject:* RE: [llvm-dev] [RFC] Adding function attributes to > represent codegen optimization level > > Would implementing GCC’s ‘__attribute__((optimize(...)))’ help? > > I can’t find any good documentation for this attribute, but it seems > that GCC supports this in two forms: > > __attribute__((optimize(2))) > > meaning optimise equivalent to ‘-O2...
2018 Apr 06
2
[RFC] Adding function attributes to represent codegen optimization level
...gt; >> Le mar. 3 avr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a >> écrit : >> >> All, >>> A recent commit, D43040/r324557, changed the behavior of the gold >>> plugin >>> when compiling with LTO. The change now causes the codegen >>> optimization >>> level to default to CodeGenOpt::Default (i.e., -O2) rather than use >>> the >>> LTO optimization level. The argument was made that the LTO >>> optimization >>> level should control the amount of cross-module optimizations d...
2018 Apr 09
1
[RFC] Adding function attributes to represent codegen optimization level
...vr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a >>> écrit : >>> >>> All, >>>> A recent commit, D43040/r324557, changed the behavior of the gold >>>> plugin >>>> when compiling with LTO. The change now causes the codegen >>>> optimization >>>> level to default to CodeGenOpt::Default (i.e., -O2) rather than use >>>> the >>>> LTO optimization level. The argument was made that the LTO >>>> optimization >>>> level should control the amount of cros...
2017 Sep 19
1
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
Hi, I'm hitting an assertion "overlapping or duplicate fragments" in the DWARF codegen in addFragmentOffset(). This originates from a duplicated dbg.declare intrinsic, declaring the same fragment twice. The duplicated call was generated by the jump threading pass. I have a patch (see below) that removes simply such duplicates, but I'm not sure whether that is the right approach....
2017 Sep 26
1
Errors linking with LLVM 5.0 - dump() missing
...KE_CXX_FLAGS="-DLLVM_ENABLE_DUMP"` should >> do the trick. > > Thank you. That was the flag we needed. > > Unfortunately, when I tried this just now, I found that the > declaration of llvm::MachineRegisterInfo::dumpUses() in > include/llvm/CodeGen/MachineRegisterInfo.h is missing the check against > LLVM_ENABLE_DUMP. It has only > > #ifndef NDEBUG > > which causes the build to fail because the definition in > lib/CodeGen/MachineRegisterInfo.cpp is guarded by this. > > #if !defined(NDEBUG) || defined(...
2017 Jul 28
2
Addressing TableGen's error "Ran out of lanemask bits" in order to use more than 32 subregisters per register
...lanemask in order to support at most 1024 vector > lanes. For this I am using a 1024-bit long lanemask of type uint1024_t > from boost::multiprecision, instead of uint32_t. For this I changed the > following LLVM source files: > [repository]/llvm/utils/TableGen/CodeGenRegisters.cpp > [repository]/llvm/utils/TableGen/CodeGenRegisters.h > [repository]/llvm/utils/TableGen/RegisterInfoEmitter.cpp > [repository]/llvm/lib/CodeGen/TargetRegisterInfo.cpp > [repository]/llvm/li...
2017 Jul 28
1
Addressing TableGen's error "Ran out of lanemask bits" in order to use more than 32 subregisters per register
...back end related to lanemask in order to support at most 1024 vector lanes. For this I am using a 1024-bit long lanemask of type uint1024_t from boost::multiprecision, instead of uint32_t. For this I changed the following LLVM source files: [repository]/llvm/utils/TableGen/CodeGenRegisters.cpp [repository]/llvm/utils/TableGen/CodeGenRegisters.h [repository]/llvm/utils/TableGen/RegisterInfoEmitter.cpp [repository]/llvm/lib/CodeGen/TargetRegisterInfo.cpp [repository]/llvm/lib/CodeGen/Ma...
2018 May 09
1
How to add assembly instructions in CodeGen
...ine to add assembly instructions as auxiliary template code and jump on to there. However, that may still dis-align the stack. I have to think about it. But your XRay code does give me the courage to think about this seriously. Thank you for your help. I also figured out that we can access certain CodeGen's feature right from the IR level, as you have explained your tussle of dealing with IR and CodeGen together. Hopefully I can work out a convenient way. Regards, Soham Sinha PhD Student, Department of Computer Science Boston University On Mon, May 7, 2018 at 8:38 PM, Dean Michael Berris <d...
2017 Sep 26
2
Errors linking with LLVM 5.0 - dump() missing
...In the meantime `cmake -DCMAKE_CXX_FLAGS="-DLLVM_ENABLE_DUMP"` should do the trick. >> Thank you. That was the flag we needed. >> Unfortunately, when I tried this just now, I found that the declaration of llvm::MachineRegisterInfo::dumpUses() in include/llvm/CodeGen/MachineRegisterInfo.h is missing the check against LLVM_ENABLE_DUMP. It has only >> #ifndef NDEBUG >> which causes the build to fail because the definition in lib/CodeGen/MachineRegisterInfo.cpp is guarded by this. >> #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)...