search for: p_expr

Displaying 4 results from an estimated 4 matches for "p_expr".

2011 Oct 10
2
[LLVMdev] Adding fixups and relocations late in code generation
...return RegNo; } else if (MO.isImm()) { return static_cast<unsigned>(MO.getImm()); } else if (MO.isFPImm()) { return static_cast<unsigned>(APFloat(MO.getFPImm()) .bitcastToAPInt().getHiBits(32).getLimitedValue()); } else if (MO.isExpr()) { const MCExpr *p_expr = MO.getExpr(); Fixups.push_back(MCFixup::Create(0, p_expr, MCFixupKind(Mips::fixup_Mips_Branch_PCRel))); } return 0; } ############################################ Later in MipsAsmBackend.cpp:ApplyFixup() I find the value is the offset of the target value from the beginning of the sect...
2011 Oct 10
0
[LLVMdev] Adding fixups and relocations late in code generation
...se if (MO.isImm()) { > return static_cast<unsigned>(MO.getImm()); > } else if (MO.isFPImm()) { > return static_cast<unsigned>(APFloat(MO.getFPImm()) > .bitcastToAPInt().getHiBits(32).getLimitedValue()); > } else if (MO.isExpr()) { > const MCExpr *p_expr = MO.getExpr(); > Fixups.push_back(MCFixup::Create(0, p_expr, > MCFixupKind(Mips::fixup_Mips_Branch_PCRel))); > } > return 0; > } > > ############################################ > > Later in MipsAsmBackend.cpp:ApplyFixup() I find the value is the offset > of...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...C++ XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> >::CreateConstInBoundsGEP1_32(llvm::Value * Ptr, unsigned int Idx0, const llvm::Twine & Name) Line 1014 C++ > XXXTest.exe!XXX::LlvmCodeGenerator::Visit(const XXX::FeatureRefExpression & p_expr) Line 953 C++ XXXTest.exe!XXX::FeatureRefExpression::Accept(XXX::Visitor & p_visitor) Line 46 C++ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190403/85d4a7b2/attachment.html>
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...vm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> > >::CreateConstInBoundsGEP1_32(llvm::Value * Ptr, unsigned int Idx0, const > llvm::Twine & Name) Line 1014 C++ > > XXXTest.exe!XXX::LlvmCodeGenerator::Visit(const > XXX::FeatureRefExpression & p_expr) Line 953 C++ > XXXTest.exe!XXX::FeatureRefExpression::Accept(XXX::Visitor & p_visitor) > Line 46 C++ > -- 刘未鹏(pongba) http://mindhacks.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190...