| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 848 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 D | Value.def | 80 HANDLE_CONSTANT(BlockAddress)
|
| H A D | BasicBlock.h | 64 friend class BlockAddress;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IndirectBrExpandPass.cpp | 138 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 D | MachineOperand.h | 25 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 D | AsmPrinter.h | 35 class BlockAddress; variable 556 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
| H A D | MachineFunction.h | 46 class BlockAddress; variable 214 const BlockAddress *RecoverBA; 1083 const BlockAddress *RecoverBA);
|
| H A D | ISDOpcodes.h | 84 BlockAddress, enumerator
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 535 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 D | BasicBlock.cpp | 81 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
|
| H A D | ConstantFold.cpp | 1459 !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 D | ARMConstantPoolValue.h | 26 class BlockAddress; variable 175 const BlockAddress *getBlockAddress() const;
|
| H A D | ARMConstantPoolValue.cpp | 187 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 D | SplitModule.cpp | 135 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
|
| H A D | ValueMapper.cpp | 62 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 D | Evaluator.cpp | 69 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper() 656 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
|
| H A D | CloneFunction.cpp | 186 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 D | FunctionComparator.cpp | 364 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants() 365 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
|
| H A D | SCCPSolver.cpp | 653 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 D | WinCFGuard.cpp | 54 if (isa<BlockAddress>(FnUser)) in isPossibleIndirectCallTarget()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 414 !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 D | ExtractFunction.cpp | 67 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/ |
| H A D | DifferenceEngine.cpp | 439 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 D | Relocation.txt | 7 ExternalSymbol, BlockAddress
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 1644 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()
|