search for: aarch64promoteconstant_8cpp

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

2015 Nov 03
3
how to add the location debug info for each instruction
Hello, For some reason, I have to stick on llvm 3.3 for a language compiler, I find that the location debug info is attached to each instruction using !dbg, however, I found some of that information is mis-attched and need to be changed, so I want to *know what functions(I checked all funcs in DIBuilder.h but didn't find a appropriate one) are used to attach those !dbg nodes to each
2016 Dec 28
1
llvm pass
...new AllocaInst(llvm::Type::getInt32PtrTy(context,0), //type 0, // ArraySize 8, // Alignment "p", // const <http://llvm.org/docs/doxygen/html/AArch64PromoteConstant_8cpp.html#a90f8350fecae261c25be85d38b451bff> Twine <http://llvm.org/docs/doxygen/html/classllvm_1_1Twine.html> Name <http://llvm.org/docs/doxygen/html/SymbolizableObjectFile_8cpp.html#ab104eb44fb0574709f0ceb43b50bdb63> allocaI); // InsertBe...
2015 Jul 09
2
[LLVMdev] How to use get the memory location of a function argument correctly?
...n/html/classllvm_1_1MemoryLocation.html#a09ad77e77770d1e517466a7345227ccc> (ImmutableCallSite <http://llvm.org/docs/doxygen/html/classllvm_1_1ImmutableCallSite.html> CS, unsigned <http://llvm.org/docs/doxygen/html/classunsigned.html> ArgIdx,const <http://llvm.org/docs/doxygen/html/AArch64PromoteConstant_8cpp.html#a90f8350fecae261c25be85d38b451bff> TargetLibraryInfo <http://llvm.org/docs/doxygen/html/classllvm_1_1TargetLibraryInfo.html> & TLI )[static] Shen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachmen...
2018 Sep 04
2
Replacing a function from one module into another one
...a5fc8baaee7e74dbe47d848508745a> (unsigned <http://llvm.org/doxygen/classunsigned.html> i, StringRef <http://llvm.org/doxygen/classllvm_1_1StringRef.html> Kind <http://llvm.org/doxygen/ARMAsmParser_8cpp.html#a5ec5335889cd241b0ccfd4e4e58cf52e> ) const <http://llvm.org/doxygen/AArch64PromoteConstant_8cpp.html#a90f8350fecae261c25be85d38b451bff> to get the attributes, but I don't even understand why is it required to give the StringRef <http://llvm.org/doxygen/classllvm_1_1StringRef.html> Kind <http://llvm.org/doxygen/ARMAsmParser_8cpp.html#a5ec5335889cd241b0ccfd4e4e58cf52e> if wha...
2018 Sep 06
2
Replacing a function from one module into another one
...(unsigned <http://llvm.org/doxygen/classunsigned.html> i, StringRef >> <http://llvm.org/doxygen/classllvm_1_1StringRef.html> Kind >> <http://llvm.org/doxygen/ARMAsmParser_8cpp.html#a5ec5335889cd241b0ccfd4e4e58cf52e> >> ) const >> <http://llvm.org/doxygen/AArch64PromoteConstant_8cpp.html#a90f8350fecae261c25be85d38b451bff> to >> get the attributes, but I don't even understand why is it required to give >> the StringRef <http://llvm.org/doxygen/classllvm_1_1StringRef.html> Kind >> <http://llvm.org/doxygen/ARMAsmParser_8cpp.html#a5ec5335889cd241b...
2018 Sep 06
2
Replacing a function from one module into another one
...xygen/classunsigned.html> i, StringRef >>>> <http://llvm.org/doxygen/classllvm_1_1StringRef.html> Kind >>>> <http://llvm.org/doxygen/ARMAsmParser_8cpp.html#a5ec5335889cd241b0ccfd4e4e58cf52e> >>>> ) const >>>> <http://llvm.org/doxygen/AArch64PromoteConstant_8cpp.html#a90f8350fecae261c25be85d38b451bff> to >>>> get the attributes, but I don't even understand why is it required to give >>>> the StringRef <http://llvm.org/doxygen/classllvm_1_1StringRef.html> >>>> Kind >>>> <http://llvm.org/doxygen...
2018 Sep 03
2
Replacing a function from one module into another one
Thank you Ahmad, I figured out that, although the type of both p(oInst) and p(nInst) were the same, I had to: for (unsigned int i = 0; i < callOInst->getNumArgOperands(); i++) { callOInst->getArgOperand(i)->mutateType(callNInst->getArgOperand(i)->getType()); } that solves the issue at the calling instruction in the main function, but now I see that *linkModules* does not work