search for: mul_add

Displaying 7 results from an estimated 7 matches for "mul_add".

Did you mean: fmuladd
2010 Apr 28
1
[LLVMdev] LLVM Tutorial 1: Something got wrong?
...dTypes.h:108: note: candidates are: static const llvm::IntegerType* llvm::IntegerType::get(llvm::LLVMContext&, unsigned int) Module* makeLLVMModule() { // Module Construction Module* mod = new Module("test", getGlobalContext()); Constant* c = mod->getOrInsertFunction("mul_add", /*ret type*/ IntegerType::get(32), /*args*/ IntegerType::get(32), IntegerType::get(32), IntegerType::get(32), /*varargs terminated with null*/...
2009 Oct 03
1
[LLVMdev] LLVM-Kaleidoscope tutorial
...MModule() { // Caches the global context to share it with new Module() and IntegerType::get() calls LLVMContext &context = getGlobalContext(); // Module Construction Module *mod = new Module("test", context); Constant *c = mod->getOrInsertFunction("mul_add", // IntegerType::get (context, 32) instead of IntegerType::get(32) IntegerType::get(context, 32), // Return type IntegerType::get(context, 32), // Arguments...
2016 Sep 07
2
Receiving LLVM Error in Custom Backend
...am creating. I am having trouble understanding the error/problem and how to go about solving it. The error is: LLVM ERROR: Cannot select: t29: i32,ch = load<LD2[%x.addr], anyext from i16> t14, FrameIndex:i16<0>, undef:i16 t7: i16 = FrameIndex<0> t9: i16 = undef In function: mul_add Can anyone provide any pointers as to what the problem is and potential places I should look to fix it? Thanks and best regards, Mush -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160907/c9c15455/attach...
2012 Oct 08
0
[LLVMdev] Inserting a function call using LLVM
Hi Teja, > I am new to LLVM and interested in using LLVM to work on a research project for > my Master's degree. > My idea is following - > > 1. I have a simple C program basic.c - > #include <stdio.h> > int main() { > printf("Hello World"); > return 0; > } > > 2. I will generate IR byte code for this basic.c using - > llvm-gcc
2012 Oct 07
2
[LLVMdev] Inserting a function call using LLVM
Hi, I am new to LLVM and interested in using LLVM to work on a research project for my Master's degree. My idea is following - 1. I have a simple C program basic.c - #include <stdio.h> int main() { printf("Hello World"); return 0; } 2. I will generate IR byte code for this basic.c using - llvm-gcc -emit-llvm -S basic.c This will give me basic.s which has IR byte code
2009 Oct 03
1
[LLVMdev] code generation goes into an infinite loop
...t;%s:%d make module\n", __FILE__, __LINE__); // Module* Mod = makeLLVMModule(); llvm::Module *mod = new llvm::Module("test"); // make a function object printf("%s:%d make function\n", __FILE__, __LINE__); // Constant* c = mod->getOrInsertFunction // ("mul_add", // /*ret type*/ IntegerType::get(32), // /*args*/ IntegerType::get(32), // IntegerType::get(32), // IntegerType::get(32), // /*varargs terminated with null*/ NULL); llvm::Constant *c = mod->getOrInsertFunction ("main", // functio...
2005 Sep 14
1
[LLVMdev] VLIW Scheduling
VLIW (Very Long Instruction Word) is a long instruction format (called "group" hereafter) contains several instructions. These instructions are not dependent on each other and could be issued in a single cycle. At this moment there is no correspondent class for VLIW. MachineInstr object can only represent one instruction. Usually the number of instructions in a group is fixed. The