search for: insertlabel

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

Did you mean: insertable
2020 Jul 19
2
Instrument intrinsic invalid
Hi, I try to use llvm-dis to disassemble the result after opt, my pass will add a intrinsic after the load instruction, like following: bool fpscan::ldAddMetadata (Instruction *Inst, StringRef c) { std::vector<Metadata *> dataTuples; // Add metadata in list dataTuples.push_back(MDString::get(Inst->getContext(), c)); MDNode* N = MDNode::get(Inst->getContext(),
2011 Oct 31
2
[LLVMdev] Adding a custom GC safe point creation phase
...;< " must override findCustomSafePoints.\n"; + llvm_unreachable(0); + return 0; +} + + GCFunctionInfo *GCStrategy::insertFunctionInfo(const Function &F) { GCFunctionInfo *FI = new GCFunctionInfo(F, *this); Functions.push_back(FI); @@ -370,6 +379,7 @@ MCSymbol* Label = InsertLabel(*CI->getParent(), RAI, CI->getDebugLoc()); FI->addSafePoint(GC::PostCall, Label, CI->getDebugLoc()); } + } void MachineCodeAnalysis::FindSafePoints(MachineFunction &MF) { @@ -405,9 +415,13 @@ // Find the size of the stack frame. FI->setFrameSize(MF.getFrameInfo(...