search for: int_my_intrinsic1

Displaying 2 results from an estimated 2 matches for "int_my_intrinsic1".

Did you mean: int_my_intrinsic
2016 Jun 13
2
LLVM IR intrinsics placeholder for strings [was Re: Back end with special loop instructions (using LLVM IR intrinsics)]
...his in a .td file: def int_my_intrinsic : Intrinsic<[], [string], []>; The other option that can work but is more complex without any benefit is to define several intrinsics in the .td files, one for EACH possible string: // To put in the Intrinsics_....td file: def int_my_intrinsic1 : Intrinsic<[], [], []>; ... def int_my_intrinsicN : Intrinsic<[], [], []>; // To put in the InstrInfo.td file something like: def STR_PLACEHOLDER1 : ImmediateInstruction< 0b111111, (outs),...
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.