Displaying 3 results from an estimated 3 matches for "constantfoldcall".
2008 Dec 18
0
[LLVMdev] Troubles with clang and llvm libraries and simple Xcode project
...below.
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld:
Undefined symbols:
clang::ASTConsumer::InitializeTU(clang::TranslationUnit&)
clang::ASTConsumer::~ASTConsumer()
...
vtable for clang::DeclRefExpr
vtable for clang::BinaryOperator
...
typeinfo for llvm::AliasAnalysis
llvm::ConstantFoldCall(llvm::Function*, llvm::Constant* const*,
unsigned int)
llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::TargetData
const*)
llvm::ConstantFoldLoadThroughGEPConstantExpr(llvm::Constant*,
llvm::ConstantExpr*)
llvm::CallGraphLinkVar
llvm::CallGraphSCCPass::assignPassManager(llvm::PMStack&a...
2016 Jun 07
3
llvm intrinsics/libc/libm question
I'm trying to figure out exactly how the intrinsics/libc/libm work in llvm.
For example, this code return user defined function:
float acos(float x, float y)
{
return x+y;
}
float a;
void foo(float b, float c)
{
a = acos(b, c);
}
But this code returns llvm.intrinsic:
float acos(float, float);
float a;
void foo(float b, float c)
{
a = acos(b, c);
}
float acos(float x, float y)
{
2016 Jun 07
3
llvm intrinsics/libc/libm question
...rototypes
>
> - teach TLI::getLibFunc to check function availability using the
> custom name instead of always checking the standard name. Again, this
> is (arguably) hiding bugs, where we recognize the standard name even
> though it's not what the target uses
>
> - fix canConstantFoldCallTo to pass it TLI or maybe remove it entirely
> (it's always used before ConstantFoldCall, which does check TLI)
>
> - tell TLI that 'acos' is available with name 'XXX_acos' for your target
>
> -Ahmed
>
> > Thanks,
> >
> > Ryan
> >
> &...