Home
last modified time | relevance | path

Searched refs:LabelTy (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.h28 using LabelTy = uint32_t;
42 void emitLabel(LabelTy Label);
44 LabelTy getLabel() { return ++NextLabel; } in getLabel()
52 bool jumpTrue(const LabelTy &Label);
53 bool jumpFalse(const LabelTy &Label);
54 bool jump(const LabelTy &Label);
55 bool fallthrough(const LabelTy &Label);
75 LabelTy NextLabel = 0;
79 llvm::DenseMap<LabelTy, unsigned> LabelOffsets;
81 llvm::DenseMap<LabelTy, llvm::SmallVector<unsigned, 5>> LabelRelocs;
[all …]
H A DEvalEmitter.h33 using LabelTy = uint32_t;
49 void emitLabel(LabelTy Label);
51 LabelTy getLabel();
58 bool jumpTrue(const LabelTy &Label);
59 bool jumpFalse(const LabelTy &Label);
60 bool jump(const LabelTy &Label);
61 bool fallthrough(const LabelTy &Label);
106 LabelTy NextLabel = 1;
108 LabelTy CurrentLabel = 0;
110 LabelTy ActiveLabel = 0;
H A DByteCodeStmtGen.cpp36 using LabelTy = typename ByteCodeStmtGen<Emitter>::LabelTy; typedef in clang::interp::LoopScope
40 LabelTy ContinueLabel) in LoopScope()
60 using LabelTy = typename ByteCodeStmtGen<Emitter>::LabelTy; typedef in clang::interp::SwitchScope
445 LabelTy EndLabel = this->getLabel(); in visitDoStmt()
446 LabelTy CondLabel = this->getLabel(); in visitDoStmt()
475 LabelTy EndLabel = this->getLabel(); in visitForStmt()
476 LabelTy CondLabel = this->getLabel(); in visitForStmt()
477 LabelTy IncLabel = this->getLabel(); in visitForStmt()
518 LabelTy EndLabel = this->getLabel(); in visitCXXForRangeStmt()
520 LabelTy IncLabel = this->getLabel(); in visitCXXForRangeStmt()
[all …]
H A DEvalEmitter.cpp54 void EvalEmitter::emitLabel(LabelTy Label) { in emitLabel()
58 EvalEmitter::LabelTy EvalEmitter::getLabel() { return NextLabel++; } in getLabel()
82 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
90 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
98 bool EvalEmitter::jump(const LabelTy &Label) { in jump()
104 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
H A DByteCodeStmtGen.h32 using LabelTy = typename Emitter::LabelTy; variable
34 using OptLabelTy = std::optional<LabelTy>;
35 using CaseMap = llvm::DenseMap<const SwitchCase *, LabelTy>;
H A DByteCodeEmitter.cpp146 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel()
165 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset()
248 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
252 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
256 bool ByteCodeEmitter::jump(const LabelTy &Label) { in jump()
260 bool ByteCodeEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
H A DByteCodeExprGen.h46 using LabelTy = typename Emitter::LabelTy;
H A DByteCodeExprGen.cpp257 LabelTy LabelTrue = this->getLabel(); in VisitCastExpr()
275 LabelTy EndLabel = this->getLabel(); in VisitCastExpr()
547 LabelTy LabelTrue = this->getLabel(); in VisitLogicalBinOp()
548 LabelTy LabelEnd = this->getLabel(); in VisitLogicalBinOp()
569 LabelTy LabelFalse = this->getLabel(); in VisitLogicalBinOp()
570 LabelTy LabelEnd = this->getLabel(); in VisitLogicalBinOp()
1129 LabelTy LabelEnd = this->getLabel(); // Label after the operator. in VisitAbstractConditionalOperator()
1130 LabelTy LabelFalse = this->getLabel(); // Label for the false expr. in VisitAbstractConditionalOperator()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp38 VoidTy(C, Type::VoidTyID), LabelTy(C, Type::LabelTyID), in LLVMContextImpl()
H A DType.cpp238 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
H A DLLVMContextImpl.h1552 Type VoidTy, LabelTy, HalfTy, BFloatTy, FloatTy, DoubleTy, MetadataTy,