Displaying 2 results from an estimated 2 matches for "instrinsicfunc".
2016 Jun 13
2
LLVM IR intrinsics placeholder for strings [was Re: Back end with special loop instructions (using LLVM IR intrinsics)]
...assembly generation time as it is? (so, basically having
placeholders of strings in LLVM that remain untouched until the end, including code
generation time.)
More exactly, I would like to give something LIKE this in a middle-tier pass (I
haven't tried this code in LLVM):
Value *instrinsicFunc = Intrinsic::getDeclaration(M,
Intrinsic::my_intrinsic);
myIRBuilder.CreateCall(repeatFunc,
"string_that_llc_codegen_should_output_as_assembly");
So my intrinsic would be accepting a general string which will be used at...
2016 May 30
1
Back end with special loop instructions
Hi Alex,
You might find it useful to look at how lib/Target/PowerPC/PPCCTRLoops.cpp works.
-Hal
----- Original Message -----
> From: "Alex Susu via llvm-dev" <llvm-dev at lists.llvm.org>
> To: "llvm-dev" <llvm-dev at lists.llvm.org>
> Sent: Monday, May 30, 2016 5:09:37 PM
> Subject: [llvm-dev] Back end with special loop instructions
>
> Hello.