search for: valuet

Displaying 20 results from an estimated 36 matches for "valuet".

Did you mean: value
2013 Nov 04
2
[LLVMdev] compile error when using overloaded = operator of DenseMap
...operation */ }; } with the following function definition: void DataFlowValue::set(DMTy emap) { ExprMap = *emap; //Line153: } When I compile, I get the following error: /home/zeus/masterLLVM/llvm/include/llvm/ADT/DenseMap.h: In member function ‘void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT>::destroyAll() [with DerivedT = llvm::DenseMap<{anonymous}::Expression, unsigned int>, KeyT = {anonymous}::Expression, ValueT = unsigned int, KeyInfoT = llvm::DenseMapInfo<{anonymous}::Expression>]’: /home/zeus/masterLLVM/llvm/include/llvm/ADT/DenseMap.h:600:5: instantiated...
2017 Apr 10
2
clang build failures using Visual Studio
...on. All rights reserved. ClangDiagnosticsEmitter.cpp c:\program files (x86)\microsoft visual studio\2017\community\VC\Tools\MSVC\14.10.25017\include\xmemory(126): error C2678: binary '*': no operator found which takes a left-hand operand of type 'const llvm::detail::DenseSetImpl<ValueT,llvm::DenseMap<ValueT,llvm::detail::DenseSetEmpty,ValueInfoT,llvm::detail::DenseSetPair<ValueT>>,ValueInfoT>::Iterator' (or there is no acceptable conversion) with [ ValueT=const llvm::Record *, ValueInfoT=llvm::DenseMapInfo...
2013 Nov 04
0
[LLVMdev] compile error when using overloaded = operator of DenseMap
...function definition: > > void DataFlowValue::set(DMTy emap) { > ExprMap = *emap; //Line153: > } > > When I compile, I get the following error: > > /home/zeus/masterLLVM/llvm/include/llvm/ADT/DenseMap.h: In member function > ‘void llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT>::destroyAll() > [with DerivedT = llvm::DenseMap<{anonymous}::Expression, unsigned int>, KeyT > = {anonymous}::Expression, ValueT = unsigned int, KeyInfoT = > llvm::DenseMapInfo<{anonymous}::Expression>]’: > /home/zeus/masterLLVM/llvm/include/llvm/ADT/DenseMap.h...
2012 Oct 26
2
[LLVMdev] changes to raw_fd_ostream
...uot;; and it'll write out to the file, "Hello Wor" and then seg fault without assert. Sadly, this only happens for certain C code, any idea why this might be occuring? Also, during build I get a lot of these warnings:llvm/ADT/DenseMap.h: In copy constructor ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT>::DenseMap(const llvm::DenseMap<KeyT, ValueT, KeyInfoT>&) [with KeyT = unsigned int, ValueT = llvm::PointerAlignElem, KeyInfoT = llvm::DenseMapInfo<unsigned int>]’: I'm guessing I messed up when updating somehow? I just used gmake update. Thanks. -------------- ne...
2012 Oct 26
0
[LLVMdev] changes to raw_fd_ostream
...the file, "Hello Wor" and then seg fault without > assert. > > Sadly, this only happens for certain C code, any idea why this might be > occuring? > > Also, during build I get a lot of these warnings:llvm/ADT/DenseMap.h: In > copy constructor ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT>::DenseMap(const > llvm::DenseMap<KeyT, ValueT, KeyInfoT>&) [with KeyT = unsigned int, ValueT > = llvm::PointerAlignElem, KeyInfoT = llvm::DenseMapInfo<unsigned int>]’: > > I'm guessing I messed up when updating somehow? I just used gmake update. > &g...
2012 Oct 29
1
[LLVMdev] changes to raw_fd_ostream
...uot; and then seg fault without >> assert. >> >> Sadly, this only happens for certain C code, any idea why this might be >> occuring? >> >> Also, during build I get a lot of these warnings:llvm/ADT/DenseMap.h: In >> copy constructor ‘llvm::DenseMap<KeyT, ValueT, KeyInfoT>::DenseMap(const >> llvm::DenseMap<KeyT, ValueT, KeyInfoT>&) [with KeyT = unsigned int, ValueT >> = llvm::PointerAlignElem, KeyInfoT = llvm::DenseMapInfo<unsigned int>]’: >> >> I'm guessing I messed up when updating somehow? I just used gmake...
2006 Jan 28
4
Unspecified error in prototype.js
...he first time also using AJAX.Updater) and when I start dragging I get an ''Unspecified Error'' on line 1589 of prototype.js, and error persist, till I hit escape or refresh the page again. 1584. cumulativeOffset: function(element) { 1585. var valueT = 0, valueL = 0; 1586. do { 1587. valueT += element.offsetTop || 0; 1588. valueL += element.offsetLeft || 0; 1589. element = element.offsetParent; //-----------> This line throws the error. 1590....
2008 Jun 05
4
[LLVMdev] Adding DenseMap::FindAndConstruct with a default value
...(It != Map.end() && It->second != Unknown) Return It->second; // do_stuff return Map[Key] = Result; However, I this requires two lookups in the hash table, which is not so nice. Currently, there is no way to write this down so you only do one lookup. Intuitively, you'd write: ValueT &Value = Map[Key]; if (Value != Unknown) return Value; // do_stuff return Value = Result; However, I'm using an enum as a map value, so when you do Map[Key] while Key is not yet in the map, the new value will be unitialized (I can't define a constructor on an enum, right?). So, to...
2009 Oct 27
1
[LLVMdev] Remove class/struct DenseMapInfo mix
Hello Visual Studio is complaining about the mix of struct and class. 2>C:\dev\llvm\include\llvm/ADT/ValueMap.h(202) : warning C4099: 'llvm::DenseMapInfo<llvm::ValueMapCallbackVH<KeyT,ValueT,Config,ValueInfoT>>' : type name first seen using 'struct' now seen using 'class' 2> C:\dev\llvm\include\llvm/ADT/ValueMap.h(251) : see reference to class template instantiation 'llvm::ValueMapCallbackVH<KeyT,ValueT,Config,ValueInfoT>' being compile...
2007 Jun 13
1
[LLVMdev] Status of pre-legalize vector changes
...only currently needed for lowering CopyToReg and CopyFromReg. Once the rest of the pre-legalize vector changes go in, these opcodes will loose the leading 'V' in their names, and then it'll be easier to extend them to other purposes. > > While my original patch made the extended ValueType table explicitly > > hold vector element types and vector lengths, I had converted it to hold > > Type*, and ran into problems because VectorType doesn't permit the element > > types to be vectors. It seems unfortunate to give up using Type* just because > > of these...
2012 Aug 02
2
[LLVMdev] [NVPTX] Strange assertion around BlockToChain.clear(); in Release+Asserts build
Hi, After building out project in release mode, caught an assertion, which we have not seen before: hello_f: /tmp/rpmbuild_debug/BUILD/llvm/build/include/llvm/ADT/DenseMap.h:126: void llvm::DenseMap<KeyT, ValueT, KeyInfoT>::clear() [with KeyT = llvm::MachineBasicBlock*, ValueT = <unnamed>::BlockChain*, KeyInfoT = llvm::DenseMapInfo<llvm::MachineBasicBlock*>]: Assertion `NumEntries == 0 && "Node count imbalance!"' failed. Program received signal SIGABRT, Aborted. 0x0000...
2008 Oct 30
6
[LLVMdev] cygwin build problems
...: error: call of overloaded `AddInteger(uint32_t)' is ambiguous .../lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1429: error: no matching function for call to `max(long unsigned int, unsigned int&)' .../include/llvm/ADT/DenseMap.h: In member function `void llvm::DenseMapIterator<KeyT, ValueT, KeyInfoT, ValueInfoT>::AdvancePastEmptyBuckets() [with KeyT = uint32_t, ValueT = llvm::Value*, KeyInfoT = llvm::DenseMapInfo<uint32_t>, ValueInfoT = llvm::DenseMapInfo<llvm::Value*>]': .../include/llvm/ADT/DenseMap.h:479: instantiated from `llvm::DenseMapIterator<KeyT, Valu...
2013 Apr 02
1
[LLVMdev] cyclical dependence between caller and callee in JIT
...i get this assertion failure: %"calling function" = call i32 @X.foo(i32 %read) F is used in instruction: %"calling function" = call i32 @X.foo(i32 %read) mytests: /home/charlesq/third_party/llvm-3.1.src/include/llvm/ADT/ValueMap.h:220: void llvm::ValueMapCallbackVH<KeyT, ValueT, Config>::allUsesReplacedWith(llvm::Value*) [with KeyT = const llvm::Function*; ValueT = {anonymous}::JITEmitter::EmittedCode; Config = {anonymous}::JITEmitter::EmittedFunctionConfig]: Assertion `isa<KeySansPointerT>(new_key) && "Invalid RAUW on key of ValueMap<>"...
2007 Jun 11
0
[LLVMdev] Status of pre-legalize vector changes
...some sort. Since no target support these nodes, they would all be expanded by legalize. Note that this change is logically independent of the rest of your change, so you could do this on mainline, as a first step to getting the bigger change in. > While my original patch made the extended ValueType table explicitly > hold vector element types and vector lengths, I had converted it to hold > Type*, and ran into problems because VectorType doesn't permit the element > types to be vectors. It seems unfortunate to give up using Type* just because > of these few cases, but at th...
2007 Jun 11
3
[LLVMdev] Status of pre-legalize vector changes
...s a quick update on where I'm at with the pre-legalize vector changes I'm working on. I hope to have an updated patch ready to a few days, assuming I don't get too busy with other projects going on. Here are some of the issues I've come across so far. Putting the table for extended ValueTypes in SelectionDAG seems quite involved. There are a lot of places that use the MVT-namespace functions, and making sure they all have access to a SelectionDAG object in order to use them is a lot of changes. It's tempting to make the table be a ManagedStatic, in VMCore/ValueTypes.cpp, not unl...
2012 Aug 03
0
[LLVMdev] [NVPTX] Strange assertion around BlockToChain.clear(); in Release+Asserts build
...2/8/3 Dmitry N. Mikushin <maemarcus at gmail.com>: > Hi, > > After building out project in release mode, caught an assertion, which > we have not seen before: > > hello_f: /tmp/rpmbuild_debug/BUILD/llvm/build/include/llvm/ADT/DenseMap.h:126: > void llvm::DenseMap<KeyT, ValueT, KeyInfoT>::clear() [with KeyT = > llvm::MachineBasicBlock*, ValueT = <unnamed>::BlockChain*, KeyInfoT = > llvm::DenseMapInfo<llvm::MachineBasicBlock*>]: Assertion `NumEntries > == 0 && "Node count imbalance!"' failed. > > Program received signal...
2012 Aug 03
1
[LLVMdev] [NVPTX] Strange assertion around BlockToChain.clear(); in Release+Asserts build
...;maemarcus at gmail.com>: >> Hi, >> >> After building out project in release mode, caught an assertion, which >> we have not seen before: >> >> hello_f: /tmp/rpmbuild_debug/BUILD/llvm/build/include/llvm/ADT/DenseMap.h:126: >> void llvm::DenseMap<KeyT, ValueT, KeyInfoT>::clear() [with KeyT = >> llvm::MachineBasicBlock*, ValueT = <unnamed>::BlockChain*, KeyInfoT = >> llvm::DenseMapInfo<llvm::MachineBasicBlock*>]: Assertion `NumEntries >> == 0 && "Node count imbalance!"' failed. >> >> Prog...
2008 Jun 05
0
[LLVMdev] Adding DenseMap::FindAndConstruct with a default value
...n It->second; > > // do_stuff > > return Map[Key] = Result; > > However, I this requires two lookups in the hash table, which is not > so nice. > Currently, there is no way to write this down so you only do one > lookup. > Intuitively, you'd write: > > ValueT &Value = Map[Key]; > if (Value != Unknown) > return Value; > > // do_stuff > > return Value = Result; > > However, I'm using an enum as a map value, so when you do Map[Key] > while Key > is not yet in the map, the new value will be unitialized (I can't...
2019 Jun 21
2
Purpose of Epoch Trackers
...llvm::StringMapEntry<llvm::Value *> *, llvm::DenseMapInfo<const llvm::Value *>, llvm::detail::DenseMapPair<const llvm::Value *, llvm::StringMapEntry<llvm::Value *> *>, false>::operator!=(const llvm::DenseMapIterator::ConstIterator &) const [KeyT = const llvm::Value *, ValueT = llvm::StringMapEntry<llvm::Value *> *, KeyInfoT = llvm::DenseMapInfo<const llvm::Value *>, Bucket = llvm::detail::DenseMapPair<const llvm::Value *, llvm::StringMapEntry<llvm::Value *> *>, IsConst = false]: Assertion `(!Ptr || isHandleInSync()) && "handle not i...
2013 Mar 27
0
[LLVMdev] Fwd: cyclical use between caller and callee
...i get this assertion failure: %"calling function" = call i32 @X.foo(i32 %read) F is used in instruction: %"calling function" = call i32 @X.foo(i32 %read) mytests: /home/charlesq/third_party/llvm-3.1.src/include/llvm/ADT/ValueMap.h:220: void llvm::ValueMapCallbackVH<KeyT, ValueT, Config>::allUsesReplacedWith(llvm::Value*) [with KeyT = const llvm::Function*; ValueT = {anonymous}::JITEmitter::EmittedCode; Config = {anonymous}::JITEmitter::EmittedFunctionConfig]: Assertion `isa<KeySansPointerT>(new_key) && "Invalid RAUW on key of ValueMap<>"...