Displaying 20 results from an estimated 23 matches for "objcarc".
2013 Nov 28
2
[LLVMdev] Error: llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Can anyone provide a fix to this error on the llvm trunk at the latest
revision ():
make[3]: Entering directory
`/usr/local/svn-repos/llvm-svn-trunk/build/lib/Transforms/ObjCARC'
llvm[3]: Compiling ObjCARCOpts.cpp for Release+Debug+Asserts build
/usr/local/svn-repos/llvm-svn-trunk/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp:
In constructor '{anonymous}::PtrState::PtrState({anonymous}::PtrState&&)':
/usr/local/svn-repos/llvm-svn-trunk/llvm/lib/Transforms...
2015 Aug 14
2
Any objections to moving ObjCARC analysis passes to llvm/Analysis?
Currently these leave in lib/Transforms/ObjCARC even though they are
analysis passes. This seems confusing and odd. In particular,
Analysis/Passes.h talks about ObjCARCAliasAnalysis. =/
I'd like to just move the analysis headers to live under
include/llvm/Analysis and the source under lib/Analysis. This will preclude
omitting the ObjC ARC a...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...%] Built target LLVMTransformUtils
[ 19%] Built target LLVMInstrumentation
[ 19%] Built target LLVMInstCombine
[ 22%] Built target LLVMScalarOpts
[ 22%] Built target LLVMipo
[ 24%] Built target LLVMVectorize
[ 24%] Built target LLVMHello_exports
[ 24%] Built target LLVMHello
[ 26%] Built target LLVMObjCARCOpts
[ 26%] Built target LLVMCoroutines
[ 26%] Built target LLVMLinker
[ 29%] Built target LLVMAnalysis
[ 29%] Built target llvm_vcsrevision_h
[ 29%] Built target LLVMLTO
[ 32%] Built target LLVMMC
[ 32%] Built target LLVMMCParser
[ 32%] Built target LLVMMCDisassembler
[ 32%] Built target LLVMObject...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...rumentation
>> [ 19%] Built target LLVMInstCombine
>> [ 22%] Built target LLVMScalarOpts
>> [ 22%] Built target LLVMipo
>> [ 24%] Built target LLVMVectorize
>> [ 24%] Built target LLVMHello_exports
>> [ 24%] Built target LLVMHello
>> [ 26%] Built target LLVMObjCARCOpts
>> [ 26%] Built target LLVMCoroutines
>> [ 26%] Built target LLVMLinker
>> [ 29%] Built target LLVMAnalysis
>> [ 29%] Built target llvm_vcsrevision_h
>> [ 29%] Built target LLVMLTO
>> [ 32%] Built target LLVMMC
>> [ 32%] Built target LLVMMCParser
>&g...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...tCombine
>>> [ 22%] Built target LLVMScalarOpts
>>> [ 22%] Built target LLVMipo
>>> [ 24%] Built target LLVMVectorize
>>> [ 24%] Built target LLVMHello_exports
>>> [ 24%] Built target LLVMHello
>>> [ 26%] Built target LLVMObjCARCOpts
>>> [ 26%] Built target LLVMCoroutines
>>> [ 26%] Built target LLVMLinker
>>> [ 29%] Built target LLVMAnalysis
>>> [ 29%] Built target llvm_vcsrevision_h
>>> [ 29%] Built target LLVMLTO
>>> [ 32%] Built target LLVMMC...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...;> [ 22%] Built target LLVMScalarOpts
>>>> [ 22%] Built target LLVMipo
>>>> [ 24%] Built target LLVMVectorize
>>>> [ 24%] Built target LLVMHello_exports
>>>> [ 24%] Built target LLVMHello
>>>> [ 26%] Built target LLVMObjCARCOpts
>>>> [ 26%] Built target LLVMCoroutines
>>>> [ 26%] Built target LLVMLinker
>>>> [ 29%] Built target LLVMAnalysis
>>>> [ 29%] Built target llvm_vcsrevision_h
>>>> [ 29%] Built target LLVMLTO
>>>> [ 3...
2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...arget LLVMScalarOpts
>>>>>> [ 22%] Built target LLVMipo
>>>>>> [ 24%] Built target LLVMVectorize
>>>>>> [ 24%] Built target LLVMHello_exports
>>>>>> [ 24%] Built target LLVMHello
>>>>>> [ 26%] Built target LLVMObjCARCOpts
>>>>>> [ 26%] Built target LLVMCoroutines
>>>>>> [ 26%] Built target LLVMLinker
>>>>>> [ 29%] Built target LLVMAnalysis
>>>>>> [ 29%] Built target llvm_vcsrevision_h
>>>>>> [ 29%] Built target LLVMLTO
>...
2013 Nov 28
0
[LLVMdev] Error: llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
On Thu, Nov 28, 2013 at 5:12 PM, Tom Browder <tom.browder at gmail.com> wrote:
> Can anyone provide a fix to this error on the llvm trunk at the latest
> revision ():
Sorry, that is revision 195934.
-Tom
2017 Jul 16
4
PartialAlias: different start addresses
...that the CFL AAs have this code:
> >> if (LocA.Ptr == LocB.Ptr)
> >> return LocA.Size == LocB.Size ? MustAlias : PartialAlias;
> >>
> >>
> >> I grepped for clients of MustAlias:
> >> ~/llvm/lib/Transforms $ grep -Rl MustAlias .
> >> ./ObjCARC/ObjCARCOpts.cpp
> >> ./ObjCARC/ProvenanceAnalysis.cpp
> >> ./Scalar/DeadStoreElimination.cpp
> >> ./Scalar/GVN.cpp
> >> ./Scalar/LICM.cpp
> >> ./Scalar/LoopVersioningLICM.cpp
> >> ./Scalar/MemCpyOptimizer.cpp
> >> ./Scalar/MergedLoadSto...
2013 Nov 27
0
[LLVMdev] Trunk at rev 195839 doesn't build
Can anyone tell me the latest trunk rev that builds successfully?
I'm getting the following errors:
llvm[3]: Compiling ObjCARCOpts.cpp for Release+Debug+Asserts build
/usr/local/svn-repos/llvm-svn-trunk/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp:
In constructor '{anonymous}::PtrState::PtrState({anonymous}::PtrState&&)':
/usr/local/svn-repos/llvm-svn-trunk/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp:...
2017 Jul 15
2
PartialAlias: different start addresses
...gt;
>>
>> It's true that the CFL AAs have this code:
>> if (LocA.Ptr == LocB.Ptr)
>> return LocA.Size == LocB.Size ? MustAlias : PartialAlias;
>>
>>
>> I grepped for clients of MustAlias:
>> ~/llvm/lib/Transforms $ grep -Rl MustAlias .
>> ./ObjCARC/ObjCARCOpts.cpp
>> ./ObjCARC/ProvenanceAnalysis.cpp
>> ./Scalar/DeadStoreElimination.cpp
>> ./Scalar/GVN.cpp
>> ./Scalar/LICM.cpp
>> ./Scalar/LoopVersioningLICM.cpp
>> ./Scalar/MemCpyOptimizer.cpp
>> ./Scalar/MergedLoadStoreMotion.cpp
>> ./Scalar/NewG...
2017 Jun 27
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
> On 26 Jun 2017, at 16:25, Rui Ueyama <ruiu at google.com> wrote:
>
> On Sun, Jun 25, 2017 at 6:40 AM, Alessandro Pistocchi via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> Hi,
>
> I am trying to build a completely GNU free linux toolchain for the raspberry pi.
>
> I successfully managed to compile llvm and clang
2017 Jul 15
2
PartialAlias: different start addresses
...EV AA is known
> to cause miscompiles, IIRC, maybe you just found out why ;)
It's true that the CFL AAs have this code:
if (LocA.Ptr == LocB.Ptr)
return LocA.Size == LocB.Size ? MustAlias : PartialAlias;
I grepped for clients of MustAlias:
~/llvm/lib/Transforms $ grep -Rl MustAlias .
./ObjCARC/ObjCARCOpts.cpp
./ObjCARC/ProvenanceAnalysis.cpp
./Scalar/DeadStoreElimination.cpp
./Scalar/GVN.cpp
./Scalar/LICM.cpp
./Scalar/LoopVersioningLICM.cpp
./Scalar/MemCpyOptimizer.cpp
./Scalar/MergedLoadStoreMotion.cpp
./Scalar/NewGVN.cpp
./Utils/VNCoercion.cpp
I glanced over all the uses in these file...
2017 Jul 16
2
PartialAlias: different start addresses
...;> if (LocA.Ptr == LocB.Ptr)
>>>>> return LocA.Size == LocB.Size ? MustAlias : PartialAlias;
>>>>>
>>>>>
>>>>> I grepped for clients of MustAlias:
>>>>> ~/llvm/lib/Transforms $ grep -Rl MustAlias .
>>>>> ./ObjCARC/ObjCARCOpts.cpp
>>>>> ./ObjCARC/ProvenanceAnalysis.cpp
>>>>> ./Scalar/DeadStoreElimination.cpp
>>>>> ./Scalar/GVN.cpp
>>>>> ./Scalar/LICM.cpp
>>>>> ./Scalar/LoopVersioningLICM.cpp
>>>>> ./Scalar/MemCpyOptimize...
2018 Apr 12
1
Specifying passes for ThinLTO?
Hi,
I am trying to test ThinLTO mode with lld, but am seeing failures because (at optimisation levels above -O0), clang inserts calls to clang.arc.use, which are expected to be removed by the ObjCARCCompact pass. Unfortunately, this pass doesn’t seem to be being run by lld (and adding -mllvm -print-after-all indicates that only SimplifyCFG is being run, which is a bit surprising, though the output is a bit mangled and appears to be coming from interleaved threads, so it’s possible that this is...
2011 Aug 04
3
[LLVMdev] Multiple one-line bugs in LLVM
...ro(LHS) && !DAG.isKnownNeverZero(LHS))
Note that there are identical subexpressions '!DAG.isKnownNeverZero (LHS)' to
the left and to the right of the '&&' operator.
The second subexpression should probably be !DAG.isKnownNeverZero(RHS)).
----
lib/Transforms/Scalar/ObjCARC.cpp:1138
void clearBottomUpPointers() {
PerPtrTopDown.clear();
}
void clearTopDownPointers() {
PerPtrTopDown.clear();
}
Note that the body of 'clearTopDownPointers' function is fully equivalent to
the body of 'clearBottomUpPointers' function. The advised solution is to cha...
2017 Jul 14
2
PartialAlias: different start addresses
Thank you all for your replies.
So here seems to be an agreement that the documentation for PartialAlias is
incorrect.
Daniel: now you got me wondering about MustAlias. This is what the docs say:
"The MustAlias response may only be returned if the two memory objects are
*guaranteed to always start at exactly the same location*"
This statement is regardless of the access sizes. For
2019 Apr 18
3
Opt plugin linkage
...lse;
}
```
Modified opt's CMakeLists.txt:
```
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
AggressiveInstCombine
Analysis
BitWriter
CodeGen
Core
MC
MCJIT
Object
OrcJIT
Interpreter
RuntimeDyld
Coroutines
IPO
IRReader
InstCombine
Instrumentation
MC
ObjCARCOpts
ScalarOpts
Support
Target
TransformUtils
Vectorize
Passes
ExecutionEngine
)
# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)
add_llvm_tool(opt
AnalysisWrappers.cpp
BreakpointPrinter.cpp
Debugify.cpp
GraphPrinters.cpp
NewPMDriver.cpp
PassPrinters.cpp
PrintSCC.cpp
op...
2011 Aug 04
0
[LLVMdev] Multiple one-line bugs in LLVM
...left and to the right of the '&&' operator.
> The second subexpression should probably be !DAG.isKnownNeverZero(RHS)).
a patch fixing this was posted by Ivan Krasin. It seems correct, but is waiting
on someone writing a testcase.
>
> ----
>
> lib/Transforms/Scalar/ObjCARC.cpp:1138
> void clearBottomUpPointers() {
> PerPtrTopDown.clear();
> }
>
> void clearTopDownPointers() {
> PerPtrTopDown.clear();
> }
>
> Note that the body of 'clearTopDownPointers' function is fully equivalent to
> the body of 'clearBottomUpPoin...
2019 Apr 16
2
Opt plugin linkage
Hey:
I spent sometime debugging this, it seems like editing ``llvm/tools/opt.cpp`` and move ``cl::ParseCommandLineOptions(argc, argv,
"llvm .bc -> .bc modular optimizer and analysis printer\n");`` to the beginning of main() solved it for me. I'm not sure if this is a bug on LLVM side
Zhang
------------------ Original ------------------
From: "Viktor Was BSc via