search for: ashalti

Displaying 4 results from an estimated 4 matches for "ashalti".

Did you mean: ashanti
2015 Jan 29
2
[LLVMdev] prevent frontend from emitting i64
...ackend utilize the legalize stage that can break it into instructions with smaller integer types if the target machine does not support that large integer type. There seems no way to prevent clang generate i64 instruction. Are you developing a new backend? 2015-01-28 17:55 GMT+08:00 Alon Shaltiel (ashaltie) <ashaltie at cisco.com<mailto:ashaltie at cisco.com>>: Hello, Is there a way to make clang create an IR file that doesn’t use 64 bit integers? My C code doesn’t use any 64bit types but still “clang –c –emit-llvm …” emits code that contains i64’s. Thanks, Alon __________________...
2015 Jan 30
0
[LLVMdev] prevent frontend from emitting i64
...zation on IR code, you can check PNaCl project. https://chromium.googlesource.com/native_client/pnacl-llvm/ The pass is located at: lib/Transforms/NaCl/ExpandLargeIntegers.cpp You need make some change, as the pass split large integer into 64bit integers. 2015-01-29 16:06 GMT+08:00 Alon Shaltiel (ashaltie) <ashaltie at cisco.com>: > Is it just an optimization pass? Maybe I can cancel it somehow with a > flag or by doing some code editing? Can you point me to which passes may do > that? > > I'm working on editing a backend that can't work with anything larger than >...
2016 Nov 14
2
getting the value back from metadata
Hello, I'm trying to extract the value out of my MDNode, but for some reason I can't. For example, if one part of the code gets an MDNode that was created as follows: Metadata* vals[2] = { ValueAsMetadata::get(&F), ValueAsMetadata::get(ConstantInt::get(context, 135)) }; MDNode* mdnode = MDNode::get(context, vals); Is it possible to extract the value of the constant int
2013 Aug 08
1
[LLVMdev] Metadata in the backend
Hi all, I'm looking for a way to insert metadata into an instruction/function/basic-block in the IR level, and afterwards reading it in the backend (ARM to be exact). So my questions are: 1. Does/can the metadata in the IR survive the code-generator in some way? 2. Is there a general of 'communication' between the optimizer and the backend? Thanks! Alon