search for: int_connex_repeat_x_times

Displaying 5 results from an estimated 5 matches for "int_connex_repeat_x_times".

2016 Jun 13
2
LLVM IR intrinsics placeholder for strings [was Re: Back end with special loop instructions (using LLVM IR intrinsics)]
...llowing Intrinsics.td: > class Intrinsic<list<LLVMType> ret_types, > list<LLVMType> param_types = [], > list<IntrinsicProperty> properties = [], > string name = ""> > */ > def int_connex_repeat_x_times : Intrinsic<[], [], []>; > def int_connex_end_repeat : Intrinsic<[llvm_i1_ty], [], []>; > and added C++ code doing CreateCall() like the one above. > > I'm looking now at http://llvm.org/docs/ExtendingLLVM.html on how to specify the > instruction selec...
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.
2016 Dec 06
0
Immediate operand for vector instructions
Hi Alex, On 5 December 2016 at 18:00, Alex Susu <alex.e.susu at gmail.com> wrote: > We can compile it. Note that this is the only compilable code w.r.t. > using i64 or i64imm (in the 2 lines above: "dag InOperandList", "list<dag> > Pattern"). Yeah, you actually want to use "imm": list<dag> Pattern = [(int_repeat_x_times imm:$imm)];
2016 May 30
2
Back end with special loop instructions
Hello. I'm writing a back end for my research SIMD processor that has an assembly language that is blocked structured, with one-level loops. An example program with my assembly language: REPEAT_X_TIMES(Param2) R0 = LS[offset_A]; END_REPEAT; The LLVM code somewhat equivalent to the above ASM program is: vector.body: %index = phi i64 [
2016 Dec 03
2
Immediate operand for vector instructions
...mLeaf Addr = immLeaf, InstrItinClass itin = NoItinerary> { dag OutOperandList = (outs); dag InOperandList = (ins MemOpnd:$addrdst); string AsmString = "REPEAT_X_TIMES($addrdst );"; list<dag> Pattern = [(int_connex_repeat_x_times Addr:$addrdst)]; InstrItinClass Itinerary = itin; } So, is there are way to use immediate values that are not memory operands? Thank you , Alex