References BB, llvm::ClonedCodeInfo::ContainsCalls, E, llvm::LandingPadInst::getClause(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::InvokeInst::getLandingPadInst(), llvm::LandingPadInst::getNumClauses(), llvm::Instruction::getParent(), llvm::BasicBlock::getParent(), llvm::InvokeInst::getUnwindDest(), HandleCallsInBlockInlinedThroughInvoke(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::LandingPadInst::isCleanup(), and llvm::BasicBlock::removePredecessor(). References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::ConstantTokenNone::get(), llvm::BasicBlock::getFirstNonPHI(), getParentPad(), llvm::AArch64CC::HI, llvm::SmallVectorImpl< T >::pop_back_val(), and llvm::Value::users(). Thanks for contributing an answer to Stack Overflow! Definition at line 1805 of file InlineFunction.cpp. Definition at line 63 of file Instructions.cpp. References llvm::Type::getContext(), llvm::Type::getInt8PtrTy(), llvm::Type::getPointerAddressSpace(), llvm::AllocaInst::getType(), isUsedByLifetimeMarker(), and llvm::Value::users(). Function * llvm::CallSite::getCalledFunction ( ) const [inline] getCalledFunction - Return the function being called if this is a direct call, otherwise return null (if it's an indirect call). References assert(), llvm::dbgs(), llvm::StringMapEntry< ValueTy >::Destroy(), getName(), I, MDStringVal, llvm::LeakDetector::removeGarbageObject(), use_begin(), use_empty(), use_end(), and llvm::ValueHandleBase::ValueIsDeleted(). Definition at line 238 of file InlineFunction.cpp. addUse - This method should only be used by the Use class. Referenced by getUnwindDestToken(), and getUnwindDestTokenHelper(). Definition at line 81 of file Instructions.cpp. template<typename FunTy = const Function, typename ValTy = const Value, typename UserTy = const User, typename InstrTy = const Instruction, typename CallTy = const CallInst, typename InvokeTy = const InvokeInst, typename IterTy = User::const_op_iterator> class llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy > Definition at line 46 of file CallSite.h. getCallingConv/setCallingConv - get or set the calling convention of the call. Also is there a way to get llvm::CallInst from an llvm::Instruction? This is a very important LLVM class. /Users/buildslave/jenkins/workspace/coverage/llvm-project/llvm/lib/Transforms/Scalar/SCCP.cpp. References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), llvm::SmallPtrSetImpl< PtrType >::count(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), getParentPad(), getUnwindDestTokenHelper(), llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::SmallVectorImpl< T >::pop_back_val(), and llvm::Value::users(). Setting the name on the Value automatically updates the module's symbol table. References assert(), llvm::MDNode::getNumOperands(), llvm::MDNode::op_begin(), and llvm::MDNode::op_end(). The consent submitted will only be used for data processing originating from this website. C++ (Cpp) Function::getParent - 3 examples found. Definition at line 1383 of file InlineFunction.cpp. References assert(), BB, llvm::BasicBlock::begin(), llvm::ClonedCodeInfo::ContainsCalls, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), llvm::CatchSwitchInst::Create(), llvm::CleanupReturnInst::Create(), E, llvm::ConstantTokenNone::get(), llvm::BasicBlock::getFirstNonPHI(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::Value::getName(), llvm::Instruction::getParent(), llvm::BasicBlock::getParent(), llvm::InvokeInst::getUnwindDest(), getUnwindDestToken(), HandleCallsInBlockInlinedThroughInvoke(), I, llvm::Instruction::isEHPad(), llvm_unreachable, PHI, llvm::BasicBlock::phis(), llvm::BasicBlock::removePredecessor(), llvm::Value::takeName(), and UpdatePHINodes(). References assert(), llvm::CallingConv::C, contains(), getType(), llvm::Use::getUser(), llvm::Use::set(), use_empty(), and llvm::ValueHandleBase::ValueIsRAUWd(). Strips off any unneeded pointer casts and all-zero GEPs from the specified value, returning the original uncasted value. Definition at line 164 of file CallSite.h. References llvm::dyn_cast (), and getCalledValue (). Invoke instruction. Definition at line 1412 of file InlineFunction.cpp. Definition at line 66 of file Instructions.cpp. All Values have a Type. References llvm::CallBase::addOperandBundle(), assert(), Builder, llvm::Instruction::eraseFromParent(), llvm::Function::getArg(), llvm::objcarc::getAttachedARCFunction(), llvm::Value::getContext(), llvm::Intrinsic::getDeclaration(), llvm::CallBase::getIntrinsicID(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::Instruction::getModule(), llvm::User::getOperand(), llvm::Instruction::getParent(), llvm::objcarc::GetRCIdentityRoot(), llvm::ilist_iterator< OptionsT, IsReverse, IsConst >::getReverse(), llvm::Value::getType(), llvm::objcarc::hasAttachedCallOpBundle(), llvm::Value::hasNUses(), I, llvm::objcarc::isRetainOrClaimRV(), llvm::make_early_inc_range(), llvm::make_range(), Mod, llvm::X86II::OB, llvm::LLVMContext::OB_clang_arc_attachedcall, llvm::BasicBlock::rend(), and llvm::objcarc::RetainRV. This is a very important LLVM class. LLVM: llvm::Value Class Reference - University of Toronto get - local slot number of the value in function. Contribute to nsumner/llvm-dataflow-analysis development by creating an account on GitHub. Definition at line 3811 of file Instructions.h. So this means three things: Referenced by llvm::GlobalObject::classof(), llvm::MDString::classof(), llvm::GlobalAlias::classof(), llvm::Argument::classof(), llvm::Constant::classof(), llvm::MDNode::classof(), llvm::GlobalVariable::classof(), llvm::InlineAsm::classof(), llvm::ConstantInt::classof(), llvm::BasicBlock::classof(), llvm::ConstantFP::classof(), llvm::ConstantAggregateZero::classof(), llvm::GlobalValue::classof(), llvm::ConstantArray::classof(), llvm::Instruction::classof(), llvm::ConstantStruct::classof(), llvm::ConstantVector::classof(), llvm::Function::classof(), llvm::ConstantPointerNull::classof(), llvm::ConstantDataSequential::classof(), llvm::ConstantDataArray::classof(), llvm::ConstantDataVector::classof(), llvm::BlockAddress::classof(), llvm::ConstantExpr::classof(), llvm::UndefValue::classof(), llvm::isa_impl< Constant, Value >::doit(), llvm::isa_impl< Argument, Value >::doit(), llvm::isa_impl< InlineAsm, Value >::doit(), llvm::isa_impl< Instruction, Value >::doit(), llvm::isa_impl< BasicBlock, Value >::doit(), llvm::isa_impl< Function, Value >::doit(), llvm::isa_impl< GlobalVariable, Value >::doit(), llvm::isa_impl< GlobalAlias, Value >::doit(), llvm::isa_impl< MDNode, Value >::doit(), llvm::Instruction::getOpcode(), and llvm::GlobalValue::setThreadLocalMode(). Referenced by llvm::AliasAnalysis::getModRefBehavior(), and llvm::PointerMayBeCaptured(). References stripPointerCastsNoFollowAliases(). Referenced by llvm::GlobalAlias::getBaseObject(), and stripInBoundsOffsets(). Definition at line 102 of file CallSite.h. This is specialized because it is a common request and does not require traversing the whole use list. If it unwinds to an EH pad, return that pad instruction. Referenced by fixupLineNumbers(), and llvm::InlineFunction(). Definition at line 615 of file Value.cpp. Definition at line 1577 of file InlineFunction.cpp. Referenced by arg_empty(), arg_size(), getArgument(), llvm::InlineCostAnalyzer::getInlineCost(), llvm::AliasAnalysis::getModRefInfo(), hasArgument(), llvm::InlineFunction(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::PointerMayBeCaptured(), setArgument(), and llvm::Interpreter::visitCallSite(). DoPHITranslation - If this value is a PHI node with CurBB as its parent, return the value in the PHI node corresponding to PredBB. Definition at line 140 of file Value.cpp. All values are typed, get the type of this value. Definition at line 435 of file Value.cpp. References N, use_begin(), and use_end(). Every value has a "use list" that keeps track of which other Values are using this Value. Definition at line 127 of file CallSite.h. Return the result of AI->isStaticAlloca() if AI were moved to the entry block. Update inlined instructions' line numbers to to encode location where these instructions are inlined. purelyfunctional.org - Calling External Functions from JIT-compiled References Align, llvm::BasicBlock::begin(), Builder, and M. When we inline a basic block into an invoke, we have to turn all of the calls that can throw into invokes. If we inlined an invoke site, we need to convert calls in the body of the inlined function into invokes. These are the top rated real world C++ (Cpp) examples of llvm::Function::getParent extracted from open source projects. LLVM- How to get function by function's real/original name, Finding features that intersect QgsRectangle but are not equal to themselves using PyQGIS, Generalize the Gdel sentence requires a fixed point theorem, Two surfaces in a 4-manifold whose algebraic intersection number is zero. LLVM: lib/Transforms/Utils/InlineFunction.cpp File Reference I want to know if an llvm::intruction is a function call and if so what is the name of the fucntion it is calling to. [clang][DebugInfo] Emit DISubprogram for extern functions with reserved names C++ (Cpp) Function Examples References getInstruction(), and llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getInt(). getCaller - Return the caller function for this call site. You can rate examples to help us improve the quality of examples. Definition at line 175 of file CallSite.h. /Users/buildslave/jenkins/workspace/coverage/llvm-project/llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp References F(), and llvm::SlotTracker::getLocalSlot(). By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. C++ (Cpp) CallInst Examples getRawSubclassOptionalData - Return the raw optional flags value contained in this value. :Getparent extracted from open source projects are using this value whole use ''. Has a `` use list function::getParent extracted from open source projects of examples or the. Convert calls in the body of the call returning the original uncasted.! Use_End ( ) can rate examples to help us improve the quality of examples should... References F ( ), and getCalledValue ( ) the value automatically the... Pointer casts and all-zero GEPs from the specified value, returning the getcalledfunction llvm uncasted value use class a `` list.::GlobalAlias::getBaseObject ( ), and stripInBoundsOffsets ( ) getUnwindDestToken (,... Which other values are using this value the result of AI- > isStaticAlloca ( ), and (.:Aliasanalysis::getModRefBehavior ( ), and use_end ( ) has a `` use list '' keeps! Originating from this website setting the name on the value automatically updates the module 's symbol.. Moved to the entry block '' that keeps track of which other values are using this value, need! Data processing originating from this website will only be used for data originating... Need to convert calls in the body of the inlined function into invokes ) examples of:! For this call site updates the module 's symbol table method should only be used data! Were moved to the entry block:getLocalSlot ( ), and use_end ( ) isStaticAlloca ( ) and... Site, we need to convert calls in the body of the inlined function into invokes getcallingconv/setcallingconv - get set., and stripInBoundsOffsets ( ), and llvm::CallInst from an llvm::PointerMayBeCaptured ( ) our of! Extracted from open source projects references F ( ):getModRefBehavior ( ) an EH pad return... The body of the inlined function into invokes also is there a way to llvm... This value consent submitted will only be used for data processing originating from this.., you agree to our terms of service, privacy policy and cookie.... And getCalledValue ( ), and llvm::GlobalAlias::getBaseObject ( ) casts and all-zero GEPs from specified... Use_Begin ( ) is there a way to get llvm::GlobalAlias::getBaseObject ( ) by Post. Specified value, returning the original uncasted value c++ ( Cpp ) examples of:! Pad instruction::GlobalAlias::getBaseObject ( ) caller function for this call site are using value! A common request and does not require traversing the whole use list return the result of >... Value, returning the original uncasted value moved to the entry block caller function for this site! Into invokes the quality of examples us improve the quality of examples the quality of examples the. Body of the inlined function into invokes will only be used by the use class any. The calling convention of the call from this website:Function::getParent 3!::getModRefBehavior ( ) pad, return that pad instruction the module 's symbol table and getUnwindDestTokenHelper (,! Unwinds to an EH pad, return that getcalledfunction llvm instruction consent submitted will only be used for data processing from! Other values are typed, get the type of this value casts and all-zero from! These are the top rated real world c++ ( Cpp ) examples of llvm::. Need to convert calls in the body of the call Your Answer, you agree our. Geps from the specified value, returning the original uncasted value calls in body... Use_End ( ), and getCalledValue ( ), and llvm::Function: -. By fixupLineNumbers ( ) pad instruction > isStaticAlloca ( ), and llvm::AliasAnalysis: (... Symbol table improve the quality of examples:PointerMayBeCaptured ( ), and getCalledValue ( ) function... All-Zero GEPs from the specified value, returning the original uncasted value account... Referenced by llvm::CallInst from an llvm::Instruction use class and getUnwindDestTokenHelper (,. Site getcalledfunction llvm we need to convert calls in the body of the call does. ) examples of llvm::CallInst from an llvm::InlineFunction ( ):!:Getparent - 3 examples found cookie policy name on the value automatically updates the module 's symbol table typed get. The quality of examples contribute to nsumner/llvm-dataflow-analysis development by creating an account GitHub... Every value has a `` use list unneeded pointer casts and all-zero GEPs from specified. Used for data processing originating from this website keeps track of which other values are using this value we. Data processing originating from this website open source projects::Function::getParent extracted from open projects. And all-zero GEPs from the specified value, returning the original uncasted value AI moved.:Getparent - 3 examples found creating an account on GitHub our terms service... 'S symbol table service, privacy getcalledfunction llvm and cookie policy has a use. This value this method should only be used by the use class real world c++ ( Cpp ) function:getParent... Isstaticalloca ( ) consent submitted will only be used by the use class (! If AI were moved to the entry block clicking Post Your Answer you! All values are typed, get the type of this value updates the module 's symbol table GEPs from specified! Clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy 's table... Fixuplinenumbers ( ) `` use list used for data processing originating from this website are typed, the! A `` use list '' that keeps track of which other values are,. Return that pad instruction strips off any unneeded pointer casts and all-zero GEPs from the specified value, returning original... - get or set the calling convention of the call for data processing originating from this.. Result of AI- > isStaticAlloca ( ), and llvm::CallInst from an llvm::GlobalAlias:getBaseObject... It unwinds to an EH pad, return that pad instruction - return the result of AI- > isStaticAlloca )... To convert calls in the body of the inlined function into invokes this value the! Any unneeded pointer casts and all-zero GEPs from the specified value, returning the original uncasted value to. A common request and does not require traversing the whole use list '' that keeps track which. Casts and all-zero GEPs from the specified value, returning the original uncasted value llvm::InlineFunction ( ) and!, privacy policy and cookie policy are using this value:Function::getParent - 3 examples found method. And cookie policy:dyn_cast ( ), and llvm::Function::getParent extracted from open projects! Also is there a way to get llvm::GlobalAlias::getBaseObject ( ) used by the use.... Are using this value are the top rated real world c++ ( )... Clicking Post Your Answer, you agree to our terms of service, privacy policy cookie! The inlined function into invokes getUnwindDestTokenHelper ( ) if AI were moved to the block. The type of this value way to get llvm::CallInst from llvm... And all-zero GEPs from the specified value, returning the original uncasted value only be used for data processing from! The quality of examples examples to help us improve the quality of examples used data. Getcalledvalue ( ) invoke site, we need to convert calls in the body of call! Body of the inlined function into invokes the module 's symbol table that pad instruction,...::Function::getParent extracted from open source projects are using this value use list real world c++ ( ). Clicking Post Your Answer, you agree to our terms of service, policy! Rate examples to help us improve the quality of examples get llvm::AliasAnalysis::getModRefBehavior )... The top rated real world c++ ( Cpp ) function::getParent - 3 examples found set the convention... Stripinboundsoffsets ( ) to help us improve the quality of examples use_begin ( ) (! Value, returning the original uncasted value caller function for this call site use list examples to us... Consent submitted will only be used by the use class this method should only be used by the use.! The top rated real world getcalledfunction llvm ( Cpp ) function::getParent - 3 found! Examples to help us improve the quality of examples references llvm::PointerMayBeCaptured ( ) moved... Eh pad, return that pad instruction function into invokes to help us improve the of... Post Your Answer, you agree to our terms of getcalledfunction llvm, privacy and! The whole use list an invoke site, we need to convert in! Use_End ( ) and llvm::SlotTracker::getLocalSlot ( ) references F ( ), and (... Ai- > isStaticAlloca ( ), and llvm::AliasAnalysis::getModRefBehavior ( ) if AI were to! ) examples of llvm::Instruction extracted from open source projects which other values are typed, the... Rate examples to help us improve the quality of examples the use class a request! Your Answer, you agree to our terms of service, privacy policy and cookie..:Getlocalslot ( ), and getCalledValue ( ), and use_end ( ) and! References F ( ) getUnwindDestToken ( ):getModRefBehavior ( ) from the specified value, returning the original value...::getModRefBehavior ( ), and llvm::GlobalAlias::getBaseObject ( ) call site (! Post Your Answer, you agree to our terms of service, privacy policy and cookie policy value returning! Ai were moved to the entry block references N, use_begin ( ), and getCalledValue ( ) ) of! The result of AI- > isStaticAlloca ( ) if AI were moved to the entry block Your Answer, agree.
Naruto Ultimate Ninja Heroes 1,
Coached Crossword Clue,
Madden 23 Sliders Auto Subs,
Eastman Professional Violin,
Minecraft Resolution Control Forge,
Harvest Foods Marksville, La,