Displaying 7 results from an estimated 7 matches for "globalname".
2018 Nov 01
0
AD GlobalNames zone
Hi,
MS AD feature the GlobalNames DNS zone. Is there the same feature in Samba
AD (with bind9 DLZ)?
ifeher
Ez az e-mail és bármely melléklete kizárólag a címzettnek szól. A címzett
személyes adatait a küldő fél a www.e77.hu oldalon ITT elérhető
adatkezelési tájékoztatóban foglaltak szerint kezeli. Az ott leírtak
szerint ö...
2011 Feb 13
2
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
...ret double 0x3FE14A280FB5068C
}
The relevant code is
...
Value *InitVal;
InitVal = Init->Codegen();
GlobalVariable * globval = *new* *GlobalVariable*(*TheModule,
InitVal->getType(), *false*,
llvm::GlobalValue::*ExternalLinkage*, cast<Constant>(InitVal),
Twine(GlobalName) );
Any help, as always, would be really much appreciated!
Anton Skvorts
2011/2/12 Duncan Sands <baldrick at free.fr>
> Hi Anton,
>
> > I'm getting the following error
> >
> > error: invalid conversion from `const llvm::Value*' to
> `llvm::Constant...
2011 Feb 13
0
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Hi Anton,
> But there are still some details I must be missing. I'm getting an assertion
> when I try the following assignment in my script:
> global c = cos(1);
> Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible type!",
I think this is telling you that cos(1) is not a constant.
Ciao, Duncan.
2014 May 05
2
[LLVMdev] [RFC] Section Declarations in LLVM IR
Just a heads up, I'm planning on sending patches for this soon.
--
David Majnemer
On Tue, Apr 1, 2014 at 2:23 PM, Rafael Espíndola <rafael.espindola at gmail.com
> wrote:
> > I like this proposal. Any reason to use an explicit offset rather than
> > allow GEPs into aliases?
>
> Part of pr10367. A contant gep is more generic than whan an alias can
> actually
2011 Feb 13
3
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
...I made some changes and now my code basically works, except in
assigments like the one above. It is a little bit frustrating because
is the main thing preventing me finishing my little silly scripting
language for monte carlo simulations.
Value *GlobalExprAST::Codegen() {
for (unsigned i = 0, e = GlobalNames.size(); i != e; ++i) {
const std::string &GlobalName = GlobalNames[i].first;
ExprAST *Init = GlobalNames[i].second;
Constant *InitVal;
InitVal = cast<Constant>(Init->Codegen());
if (InitVal == 0) return 0;
GlobalVariable * globval = new GlobalVariable(*TheModule,
InitVal-&g...
2011 Feb 12
2
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Hi
Apolagize if this newbie question has some obvious answer. When running
something like
...
ExprAST *Init = GlobalNames[i].second;
const Value *InitVal;
InitVal = Init->Codegen();
GlobalVariable * globvar = new GlobalVariable(*TheModule,
InitVal->getType(), false, llvm::GlobalValue::ExternalLinkage, InitVal,
Twine(GlobalName));
...
I'm getting the following error
error: invalid conversion from `const ll...
2011 Feb 12
0
[LLVMdev] conversion from 'const llvm::Value*' to 'llvm::Constant*'
Hi Anton,
> I'm getting the following error
>
> error: invalid conversion from `const llvm::Value*' to `llvm::Constant*'
>
> How may I make this conversion? Any help would be much appreciated!
cast<Constant>(whatever)
Ciao, Duncan.