search for: indirectgoto

Displaying 20 results from an estimated 44 matches for "indirectgoto".

2010 Jan 03
1
[LLVMdev] 'Address of Label and Indirect Branches in LLVM IR' blog post
...> Can a label be listed multiple times in indirectbr? Yes; it's not particularly meaningful, but it's not difficult to construct a case where the optimizer will introduce such a construct. > Clang generates this: > foo:                                              ; preds = > %indirectgoto, %indirectgoto, %indirectgoto, %indirectgoto, %indirectgoto >  store i32 1, i32* %retval >  br label %return > > indirectbr i8* %indirect.goto.dest, [label %foo, label %foo, label %bar, > label %foo, label %hack, label %foo, label %foo] > > For this code taken from the gcc manu...
2010 Jan 03
0
[LLVMdev] 'Address of Label and Indirect Branches in LLVM IR' blog post
...Bob Wilson, Dan Gohman and I to mainline back in November. If you have questions or comments about the post, this is a good thread to discuss them on :) > Can a label be listed multiple times in indirectbr? Clang generates this: foo: ; preds = %indirectgoto, %indirectgoto, %indirectgoto, %indirectgoto, %indirectgoto store i32 1, i32* %retval br label %return indirectbr i8* %indirect.goto.dest, [label %foo, label %foo, label %bar, label %foo, label %hack, label %foo, label %foo] For this code taken from the gcc manual: .... static const int...
2010 Jan 03
5
[LLVMdev] 'Address of Label and Indirect Branches in LLVM IR' blog post
If you're interested in this new extension, here is some more information with some less-than-obvious aspects of the design: http://blog.llvm.org/2010/01/address-of-label-and-indirect-branches.html This feature was added to LLVM by Bob Wilson, Dan Gohman and I to mainline back in November. If you have questions or comments about the post, this is a good thread to discuss them on :) -Chris
2008 Jul 24
2
[LLVMdev] Indirect Branch Representation
...I use llvmgcc, I get: @.str = internal constant [6 x i8] c"Hello\00" @.str1 = internal constant [6 x i8] c"World\00" *define i32 @main(i32 %argc, i8** %argv) nounwind { entry: %"alloca point" = bitcast i32 0 to i32 br label %L1* *L1: ; preds = %indirectgoto, %indirectgoto, %entry %tmp1 = call i32 @puts( i8* getelementptr ([6 x i8]* @.str, i32 0, i32 br label %L2* *L2: ; preds = %indirectgoto, %L1 %tmp2 = call i32 @puts( i8* getelementptr ([6 x i8]* @.str1, i32 0, i32 %tmp4 = getelementptr i8** %argv, i32 1...
2008 Jul 24
0
[LLVMdev] Indirect Branch Representation
On Jul 23, 2008, at 8:47 PM, kapil anand wrote: > > Specifically, I need a way to represent indirect branch instruction > (in binary) as an equivalent LLVM instruction. With switch > instruction , I would have to list all the possible targets and then > initialize the corresponding instruction. I was just thinking > whether it might be possible to have some kind of
2008 Jul 24
5
[LLVMdev] Indirect Branch Representation
Specifically, I need a way to represent indirect branch instruction (in binary) as an equivalent LLVM instruction. With switch instruction , I would have to list all the possible targets and then initialize the corresponding instruction. I was just thinking whether it might be possible to have some kind of indirect branch where label is a "variable" and not an explicit label present in
2010 Jan 02
3
[LLVMdev] indirectbr
Hello, I have a question about the indirectbr instruction. I attempted to use it according to the example in the Assembly Language Reference manual, but got an "expected instruction opcode" error. Poking about on the web I found this document: http://nondot.org/sabre/LLVMNotes/IndirectGoto.txt which appears to be a Nov 2, 2009 proposal to add indirectbr and blockaddress() to the IR language. So I suspect indirectbr is not supported in the llvm-as 2.5 packaged in Fedora 11, is that correct? Dustin
2010 Mar 30
2
[LLVMdev] [cfe-dev] 2.7 Pre-release1 available for testing
...lang myself, >> and used the binaries for llvm-gcc. >> >> 1. llvm-gcc 2.7 vs 2.6 >> compared to my results from Aug 31 2009, ignoring CBE failures: >> >> new JIT failures: >> MultiSource/Applications/spiff/spiff >> SingleSource/Regression/C/2004-03-15-IndirectGoto >> > > Yes, I'm seeing the second regression on darwin too. Please file a bug for the other one if you havent already. I haven't, will do tomorrow. > >> 2. llvm-gcc 2.7 vs clang 2.7 >> When comparing the 2.7 llvm-gcc and clang results I see these >> diff...
2010 Apr 05
0
[LLVMdev] [cfe-dev] 2.7 Pre-release1 available for testing
...ed the binaries for llvm-gcc. >>> >>> 1. llvm-gcc 2.7 vs 2.6 >>> compared to my results from Aug 31 2009, ignoring CBE failures: >>> >>> new JIT failures: >>> MultiSource/Applications/spiff/spiff >>> SingleSource/Regression/C/2004-03-15-IndirectGoto >>> >> Yes, I'm seeing the second regression on darwin too. Please file a bug for the other one if you havent already. > > I haven't, will do tomorrow. Sorry for taking so long, I opened a PR for spiff, but its not a regression, see PR6785. To sum up: all tests (inclu...
2010 Mar 24
1
[LLVMdev] [cfe-dev] 2.7 Pre-release1 available for testing
..., gcc 4.4.3, 64-bit. I built srcdir == objdir, I have built llvm and clang myself, and used the binaries for llvm-gcc. 1. llvm-gcc 2.7 vs 2.6 compared to my results from Aug 31 2009, ignoring CBE failures: new JIT failures: MultiSource/Applications/spiff/spiff SingleSource/Regression/C/2004-03-15-IndirectGoto 2. llvm-gcc 2.7 vs clang 2.7 When comparing the 2.7 llvm-gcc and clang results I see these differences (is llvm-gcc considered baseline for clang?): ALL FAIL (pass in llvm-gcc): MultiSource/Benchmarks/PAQ8p/paq8p MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4 MultiSource/Benchmarks/Prolangs-C/archie...
2009 Nov 13
6
[LLVMdev] Proposal: intp type
...xtension once the basics work. I'm going to be away on vacation for two weeks so I won't be able to keep up to date with this thread, if you're interested in pursuing this work, please write up something in the form of an 'llvmnote' (e.g. http://nondot.org/sabre/LLVMNotes/IndirectGoto.txt) which explains in prose the problem it is trying to solve, the tradeoffs, and a proposed implementation approach (like you have above). Whether or not you get time to start implementing it, it is a good idea to document the design tradeoffs considered and the effects of various deci...
2010 Mar 30
0
[LLVMdev] [cfe-dev] 2.7 Pre-release1 available for testing
...bjdir, I have built llvm and clang myself, > and used the binaries for llvm-gcc. > > 1. llvm-gcc 2.7 vs 2.6 > compared to my results from Aug 31 2009, ignoring CBE failures: > > new JIT failures: > MultiSource/Applications/spiff/spiff > SingleSource/Regression/C/2004-03-15-IndirectGoto > Yes, I'm seeing the second regression on darwin too. Please file a bug for the other one if you havent already. > 2. llvm-gcc 2.7 vs clang 2.7 > When comparing the 2.7 llvm-gcc and clang results I see these > differences (is llvm-gcc considered baseline for clang?): > ALL FA...
2009 Nov 03
0
[LLVMdev] Indirect goto
Hello, There's been a flurry of activity around indrect goto recently. For anyone interested, here's a document explaining the curent design: http://nondot.org/sabre/LLVMNotes/IndirectGoto.txt Dan
2010 Jan 02
0
[LLVMdev] indirectbr
...t the indirectbr instruction. I attempted to > use > it according to the example in the Assembly Language Reference manual, > but got an "expected instruction opcode" error. Poking about on the > web > I found this document: > > http://nondot.org/sabre/LLVMNotes/IndirectGoto.txt > > which appears to be a Nov 2, 2009 proposal to add indirectbr and > blockaddress() to the IR language. So I suspect indirectbr is not > supported in the llvm-as 2.5 packaged in Fedora 11, is that correct? Yes, that is correct. It is supported in the trunk sources, but it has...
2010 Jan 02
0
[LLVMdev] indirectbr
Hello, I have a question about the indirectbr instruction. I attempted to use it according to the example in the Assembly Language Reference manual, but got an "expected instruction opcode" error. Poking about on the web I found this document: http://nondot.org/sabre/LLVMNotes/IndirectGoto.txt which appears to be a Nov 2, 2009 proposal to add indirectbr and blockaddress() to the IR language. So I suspect indirectbr is not supported in the llvm-as 2.5 packaged in Fedora 11, is that correct? Dustin
2010 Mar 17
9
[LLVMdev] 2.7 Pre-release1 available for testing
The 2.7 binaries are available for testing: http://llvm.org/pre-releases/2.7/pre-release1/ You will also find the source tarballs there as well. We rely on the community to help make our releases great, so please help test 2.7 if you can. Please follow these instructions to test 2.7: To test llvm-gcc: 1) Compile llvm from source and untar the llvm-test in the projects directory (name it
2010 Aug 30
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...************ TEST (jit) 'simple_rethrow' FAILED! ******************** ******************** TEST (jit) 'simple_throw' FAILED! ******************** ******************** TEST (jit) 'throw_rethrow_test' FAILED! ******************** ******************** TEST (cbe) '2004-03-15-IndirectGoto' FAILED! ******************** ******************** TEST (cbe) 'except' FAILED! ******************** ******************** TEST (jit) 'except' FAILED! ******************** ******************** TEST (cbe) 'bigfib' FAILED! ******************** ******************** TEST (llc)...
2014 May 04
12
[LLVMdev] [RFC] Benchmarking subset of the test suite
...ource/Regression/C/2003-06-16-VolatileError SingleSource/Regression/C++/2003-08-20-EnumSizeProblem SingleSource/Regression/C++/2003-09-29-NonPODsByValue SingleSource/Regression/C/2003-10-12-GlobalVarInitializers SingleSource/Regression/C/2004-02-03-AggregateCopy SingleSource/Regression/C/2004-03-15-IndirectGoto SingleSource/Regression/C/2005-05-06-LongLongSignedShift SingleSource/Regression/C/2008-01-07-LongDouble SingleSource/Regression/C++/2008-01-29-ParamAliasesReturn SingleSource/Regression/C++/2011-03-28-Bitfield SingleSource/Regression/C/badidx SingleSource/Regression/C/bigstack SingleSource/Regress...
2010 Aug 30
0
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...rethrow' FAILED! > ******************** > ******************** TEST (jit) 'simple_throw' FAILED! > ******************** > ******************** TEST (jit) 'throw_rethrow_test' FAILED! > ******************** > ******************** TEST (cbe) '2004-03-15-IndirectGoto' FAILED! > ******************** > ******************** TEST (cbe) 'except' FAILED! ******************** > ******************** TEST (jit) 'except' FAILED! ******************** > ******************** TEST (cbe) 'bigfib' FAILED! ******************** > ****...
2010 Aug 30
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...#39;simple_rethrow' FAILED! > ******************** > ******************** TEST (jit) 'simple_throw' FAILED! ******************** > ******************** TEST (jit) 'throw_rethrow_test' FAILED! > ******************** > ******************** TEST (cbe) '2004-03-15-IndirectGoto' FAILED! > ******************** > ******************** TEST (cbe) 'except' FAILED! ******************** > ******************** TEST (jit) 'except' FAILED! ******************** > ******************** TEST (cbe) 'bigfib' FAILED! ******************** > ******...