Home
last modified time | relevance | path

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

12345

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantPoolValue.cpp105 const BlockAddress *CSKYConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
106 assert(isa<BlockAddress>(CVal) && "CVal should be BlockAddress"); in getBlockAddress()
107 return cast<BlockAddress>(CVal); in getBlockAddress()
H A DCSKYConstantPoolValue.h24 class BlockAddress; variable
124 const BlockAddress *getBlockAddress() const;
H A DCSKYAsmPrinter.cpp199 const BlockAddress *BA = in emitMachineConstantPoolValue()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h874 class BlockAddress final : public Constant {
877 BlockAddress(Function *F, BasicBlock *BB);
888 static BlockAddress *get(Function *F, BasicBlock *BB);
892 static BlockAddress *get(BasicBlock *BB);
897 static BlockAddress *lookup(const BasicBlock *BB);
912 struct OperandTraits<BlockAddress>
913 : public FixedNumOperandTraits<BlockAddress, 2> {};
915 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
H A DValue.def80 HANDLE_CONSTANT(BlockAddress)
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h24 class BlockAddress; variable
200 const BlockAddress *BA; // For MO_BlockAddress.
587 const BlockAddress *getBlockAddress() const { in getBlockAddress()
786 void ChangeToBA(const BlockAddress *BA, int64_t Offset,
912 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
H A DAsmPrinter.h38 class BlockAddress; variable
644 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
H A DISDOpcodes.h84 BlockAddress, enumerator
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp531 delete static_cast<BlockAddress *>(C); in deleteConstant()
631 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo()
647 if (isa<BlockAddress>(LHSOp0) && isa<BlockAddress>(RHSOp0) && in getRelocationInfo()
1757 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get()
1762 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get()
1763 BlockAddress *&BA = in get()
1766 BA = new BlockAddress(F, BB); in get()
1772 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress
1780 BlockAddress *BlockAddress::lookup(const BasicBlock *BB) { in lookup()
1786 BlockAddress *BA = in lookup()
[all …]
H A DConstantFold.cpp1117 if (isa<BlockAddress>(V)) in evaluateICmpRelation()
1128 if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation()
1130 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
1144 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp142 return isa<BlockAddress>(U.getUser()); in runImpl()
153 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp139 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
H A DValueMapper.cpp62 DelayedBasicBlock(const BlockAddress &Old) in DelayedBasicBlock()
181 Value *mapBlockAddress(const BlockAddress &BA);
441 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) in mapValue()
581 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress()
595 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
H A DEvaluator.cpp67 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper()
581 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
H A DCloneFunction.cpp208 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneFunctionInto()
210 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto()
497 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneBlock()
499 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
H A DFunctionComparator.cpp445 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants()
446 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DWinCFGuard.cpp51 if (isa<BlockAddress>(FnUser)) in isPossibleIndirectCallTarget()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp421 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
427 Check(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
431 Check(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
436 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
/freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp67 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp577 if (isa<BlockAddress>(L)) in equivalentAsOperands()
578 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
579 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1654 if (isa<BlockAddress>(U)) in ChangeCalleesToFastCall()
1671 if (isa<BlockAddress>(U)) in RemoveAttribute()
1697 if (isa<BlockAddress>(U)) in hasChangeableCCImpl()
1747 if (isa<BlockAddress>(U)) in isValidCandidateForColdCC()
1763 if (isa<BlockAddress>(U)) in changeCallSitesToColdCC()
1809 assert(isa<BlockAddress>(U) && in hasMustTailCallers()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DRelocation.txt7 ExternalSymbol, BlockAddress
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp741 BlockAddress::get(AllBlocks[i]), PtrTy)); in CreatePCArray()
1047 CFs.push_back((Constant *)IRB.CreatePointerCast(BlockAddress::get(&BB), in createFunctionControlFlow()
1052 CFs.push_back((Constant *)IRB.CreatePointerCast(BlockAddress::get(SuccBB), in createFunctionControlFlow()

12345