Home
last modified time | relevance | path

Searched refs:BlockAddress (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h848 class BlockAddress final : public Constant {
851 BlockAddress(Function *F, BasicBlock *BB);
862 static BlockAddress *get(Function *F, BasicBlock *BB);
866 static BlockAddress *get(BasicBlock *BB);
871 static BlockAddress *lookup(const BasicBlock *BB);
886 struct OperandTraits<BlockAddress>
887 : public FixedNumOperandTraits<BlockAddress, 2> {};
889 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
H A DValue.def80 HANDLE_CONSTANT(BlockAddress)
H A DBasicBlock.h64 friend class BlockAddress;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp138 return isa<BlockAddress>(U.getUser()); in runOnFunction()
149 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h25 class BlockAddress; variable
195 const BlockAddress *BA; // For MO_BlockAddress.
568 const BlockAddress *getBlockAddress() const { in getBlockAddress()
866 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
H A DAsmPrinter.h35 class BlockAddress; variable
556 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
H A DMachineFunction.h46 class BlockAddress; variable
214 const BlockAddress *RecoverBA;
1083 const BlockAddress *RecoverBA);
H A DISDOpcodes.h84 BlockAddress, enumerator
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp535 delete static_cast<BlockAddress *>(C); in deleteConstant()
674 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo()
690 if (isa<BlockAddress>(LHSOp0) && isa<BlockAddress>(RHSOp0) && in getRelocationInfo()
1819 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get()
1824 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get()
1825 BlockAddress *&BA = in get()
1828 BA = new BlockAddress(F, BB); in get()
1834 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress
1842 BlockAddress *BlockAddress::lookup(const BasicBlock *BB) { in lookup()
1848 BlockAddress *BA = in lookup()
[all …]
H A DBasicBlock.cpp81 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
H A DConstantFold.cpp1459 !isa<BlockAddress>(V1)) { in evaluateICmpRelation()
1461 !isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1502 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1516 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation()
1528 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.h26 class BlockAddress; variable
175 const BlockAddress *getBlockAddress() const;
H A DARMConstantPoolValue.cpp187 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
188 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp135 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
H A DValueMapper.cpp62 DelayedBasicBlock(const BlockAddress &Old) in DelayedBasicBlock()
180 Value *mapBlockAddress(const BlockAddress &BA);
435 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) in mapValue()
524 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress()
538 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
H A DEvaluator.cpp69 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper()
656 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
H A DCloneFunction.cpp186 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneFunctionInto()
188 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto()
370 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneBlock()
372 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
H A DFunctionComparator.cpp364 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants()
365 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
H A DSCCPSolver.cpp653 BlockAddress *Addr = dyn_cast_or_null<BlockAddress>(getConstant(IBRValue)); in getFeasibleSuccessors()
1550 IBR->setAddress(BlockAddress::get(IBR->getSuccessor(0))); in resolvedUndefsIn()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DWinCFGuard.cpp54 if (isa<BlockAddress>(FnUser)) in isPossibleIndirectCallTarget()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp414 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
420 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
424 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
429 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp67 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp439 if (isa<BlockAddress>(L)) in equivalentAsOperands()
440 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
441 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DRelocation.txt7 ExternalSymbol, BlockAddress
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1644 if (isa<BlockAddress>(U)) in ChangeCalleesToFastCall()
1661 if (isa<BlockAddress>(U)) in RemoveAttribute()
1684 if (isa<BlockAddress>(U)) in hasChangeableCC()
1725 if (isa<BlockAddress>(U)) in isValidCandidateForColdCC()
1741 if (isa<BlockAddress>(U)) in changeCallSitesToColdCC()
1784 assert(isa<BlockAddress>(U) && in hasMustTailCallers()

1234