search for: subclassid

Displaying 14 results from an estimated 14 matches for "subclassid".

Did you mean: subclassed
2009 Feb 09
0
[LLVMdev] overflow + saturation stuff
...tion once it is created. I > expect that optimizations would want to play with these (e.g. convert > them to 'undefined' when it can prove overflow never happens) so I > think it is nice to not have it be in the opcode field. Why is this? If SubclassData can be modified, why not SubclassID too? Having it const may help guard against something accidentally changing it to an opcode that would require a different subclass, but it's a private member, so modifications to it could be fairly effectively controlled. I agree that isa/dyn_cast can be quite flexible, but they can handle...
2009 Feb 08
2
[LLVMdev] overflow + saturation stuff
On Feb 8, 2009, at 8:58 AM, Dan Gohman wrote: > Hi Chris, > > Would it be better to split add into multiple opcodes instead of using > SubclassData bits? No, I don't think so. The big difference here is that (like type) "opcode" never changes for an instruction once it is created. I expect that optimizations would want to play with these (e.g. convert them to
2010 Jun 21
1
[LLVMdev] Casting a Value
...i32*. How can I convert/set it's Type to i32? Or How can I create another Value of Type i32 and with same name as V. I have tried Value *NewV = new Value(Type,scid); NewV->setName(V->getNameStr()); It causes stack dump. I am not sure as second argument in the Value constructor as scid (SubClassID). So I have mentioned 0. Any Idea how to do this? Regards, Chayan
2005 Aug 10
1
[LLVMdev] ValueTy not set appropriately in Value.h?
...eNull 00149 SimpleConstantVal, // This is some other type of Constant 00150 InstructionVal, // This is an instance of Instruction 00151 ValueListVal // This is for bcreader, a special ValTy 00152 }; 00153 unsigned getValueType() const { 00154 return SubclassID; 00155 } -mike -- Michael McCracken UCSD CSE PhD Candidate research: http://www.cse.ucsd.edu/~mmccrack/ misc: http://michael-mccracken.net/blog/
2015 Jan 31
2
[LLVMdev] debug info for llvm::IntrinsicInst ???
...turn selectBitCast(I); 1539 (gdb) call I->dump() %2 = call float @llvm.powi.f32(float %0, i32 %1) (gdb) (gdb) print *I $12 = {<llvm::Value> = { _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = 0x61035c0, UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, SubclassID = 68 'D', HasValueHandle = 0 '\000', SubclassOptionalData = 0 '\000', SubclassData = 0, NumOperands = 3, static MaximumAlignment = 536870912}, OperandList = 0x61b8e80} (gdb)
2015 Jan 19
3
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
> On 2015-Jan-19, at 12:38, Frédéric Riss <friss at apple.com> wrote: > > >> On Jan 19, 2015, at 12:04 PM, Christian Schafmeister <chris.schaf at verizon.net> wrote: >> >> >> I forgot to mention this in my initial email. >> >> The build of LLVM that I was using was commit a0d5d7aed8e177cea381b3d054d80c212ece9f2c >> The date on the
2012 May 22
0
[LLVMdev] Some small changes to the memory dependence analysis API
...= getelementptr inbounds %"class.llvm::Instruction"* %I, i64 0, i32 0, i32 0 %arrayidx.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i = getelementptr inbounds %"class.llvm::Value"* %1, i64 -1, i32 4 %2 = load %"class.llvm::Type"** %arrayidx.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i, align 8 %SubclassID.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i = getelementptr inbounds %"class.llvm::Type"* %2, i64 0, i32 1 %3 = bitcast i32* %SubclassID.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i to i8* %4 = load i8* %3, align 1, !tbaa !0 %cmp.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.i = icmp ne i8 %4, 2 %to...
2015 Jan 31
2
[LLVMdev] debug info for llvm::IntrinsicInst ???
...call float @llvm.powi.f32(float %0, i32 %1) > (gdb) > (gdb) print *I > $12 = {<llvm::Value> = { > _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = > 0x61035c0, > UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, > SubclassID = 68 'D', > HasValueHandle = 0 '\000', SubclassOptionalData = 0 '\000', > SubclassData = 0, NumOperands = 3, static MaximumAlignment = > 536870912}, > OperandList = 0x61b8e80} > (gdb) > > ________________________________...
2015 Jan 31
0
[LLVMdev] debug info for llvm::IntrinsicInst ???
...b) call I->dump() > %2 = call float @llvm.powi.f32(float %0, i32 %1) > (gdb) > (gdb) print *I > $12 = {<llvm::Value> = { > _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = > 0x61035c0, > UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, SubclassID = 68 > 'D', > HasValueHandle = 0 '\000', SubclassOptionalData = 0 '\000', > SubclassData = 0, NumOperands = 3, static MaximumAlignment = > 536870912}, > OperandList = 0x61b8e80} > (gdb) > > _______________________________________________ &gt...
2015 Jan 31
0
[LLVMdev] debug info for llvm::IntrinsicInst ???
...; %2 = call float @llvm.powi.f32(float %0, i32 %1) >> (gdb) >> (gdb) print *I >> $12 = {<llvm::Value> = { >> _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = >> 0x61035c0, >> UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, SubclassID = 68 >> 'D', >> HasValueHandle = 0 '\000', SubclassOptionalData = 0 '\000', >> SubclassData = 0, NumOperands = 3, static MaximumAlignment = >> 536870912}, >> OperandList = 0x61b8e80} >> (gdb) >> >> ___________________...
2011 Jan 05
0
[LLVMdev] Printing error with Value objects
...I am collecting the queries from GVN. I perform this dump after GVN has completed its transformations. Is it possible that the Value has been deleted from the program by GVN? Is this expected behaviour? This is the output when I type "print *V1" in gdb: {_vptr.Value = 0x91fa950, SubclassID = 92 '\\', HasValueHandle = 1 '\001', HasMetadata = 0 '\000', SubclassOptionalData = 31 '\037', SubclassData = 43368, VTy = {Ty = 0x921f6fc}, UseList = 0x8d5a550, Name = 0x8e06088} This is the output when I type "print *V1->getType()" in gdb: {&...
2009 Feb 08
0
[LLVMdev] overflow + saturation stuff
...ms more convenient than a two-level one. It's a little less convenient in the case of code that wants to handle all the flavors of add the same way, but it still seems worth it. Encoding might be a concern, as Sub, Mul, Div, and Rem would all have variants, but there are plenty of bits in SubclassID, and it doesn't look like the bitcode representation uses packed opcode fields. Dan On Feb 7, 2009, at 2:17 PM, Chris Lattner wrote: > Edwin was asking about how we should handle PR3328, how we should make > GEP respect -fwrapv etc. I wrote up some thoughts here if anyone is > in...
2009 Feb 07
6
[LLVMdev] overflow + saturation stuff
Edwin was asking about how we should handle PR3328, how we should make GEP respect -fwrapv etc. I wrote up some thoughts here if anyone is interested: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt -Chris
2008 Aug 06
2
[LLVMdev] crash in JIT when running the inliner
...in (anonymous namespace)::JITResolver::JITCompilerFn (Stub=0xb5667620) at JITEmitter.cpp:267 267 << I->first << "\n"; (gdb) p *F $1 = {<llvm::GlobalValue> = {<llvm::Constant> = {<llvm::User> = {<llvm::Value> = {_vptr.Value = 0x9fd1708, SubclassID = 0, SubclassData = 0, VTy = {Ty = 0x9fd1716}, UseList = 0x9364128, Name = 0x9fe0204}, OperandList = 0xa36c3d9, NumOperands = 167583628}, <No data fields>}, Parent = 0x0, Linkage = 27, Visibility = 0, Alignment = 64063, Section = {static npos = 4294967295, _M_dataplus =...