Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DByteCodeEmitter.h28 using LabelTy = uint32_t;
42 void emitLabel(LabelTy Label);
44 LabelTy getLabel() { return ++NextLabel; } in getLabel()
54 bool jumpTrue(const LabelTy &Label);
55 bool jumpFalse(const LabelTy &Label);
56 bool jump(const LabelTy &Label);
57 bool fallthrough(const LabelTy &Label);
59 bool speculate(const CallExpr *E, const LabelTy &EndLabel);
83 LabelTy NextLabel = 0;
87 llvm::DenseMap<LabelTy, unsigned> LabelOffsets;
[all …]
H A DEvalEmitter.h32 using LabelTy = uint32_t;
53 void emitLabel(LabelTy Label);
55 LabelTy getLabel();
65 bool jumpTrue(const LabelTy &Label);
66 bool jumpFalse(const LabelTy &Label);
67 bool jump(const LabelTy &Label);
68 bool fallthrough(const LabelTy &Label);
70 bool speculate(const CallExpr *E, const LabelTy &EndLabel);
130 LabelTy NextLabel = 1;
132 LabelTy CurrentLabel = 0;
[all …]
H A DByteCodeEmitter.cpp102 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel()
120 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset()
227 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
231 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
235 bool ByteCodeEmitter::jump(const LabelTy &Label) { in jump()
239 bool ByteCodeEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
244 bool ByteCodeEmitter::speculate(const CallExpr *E, const LabelTy &EndLabel) { in speculate()
H A DEvalEmitter.cpp93 void EvalEmitter::emitLabel(LabelTy Label) { CurrentLabel = Label; } in emitLabel()
95 EvalEmitter::LabelTy EvalEmitter::getLabel() { return NextLabel++; } in getLabel()
119 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
127 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
135 bool EvalEmitter::jump(const LabelTy &Label) { in jump()
141 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
148 bool EvalEmitter::speculate(const CallExpr *E, const LabelTy &EndLabel) { in speculate()
H A DCompiler.cpp123 using LabelTy = typename Compiler<Emitter>::LabelTy; typedef in clang::interp::LoopScope
126 LoopScope(Compiler<Emitter> *Ctx, LabelTy BreakLabel, LabelTy ContinueLabel) in LoopScope()
154 using LabelTy = typename Compiler<Emitter>::LabelTy; typedef in clang::interp::SwitchScope
158 SwitchScope(Compiler<Emitter> *Ctx, CaseMap &&CaseLabels, LabelTy BreakLabel, in SwitchScope()
1074 LabelTy LabelTrue = this->getLabel(); in VisitLogicalBinOp()
1075 LabelTy LabelEnd = this->getLabel(); in VisitLogicalBinOp()
1096 LabelTy LabelFalse = this->getLabel(); in VisitLogicalBinOp()
1097 LabelTy LabelEnd = this->getLabel(); in VisitLogicalBinOp()
2421 LabelTy LabelEnd = this->getLabel(); // Label after the operator. in VisitAbstractConditionalOperator()
2422 LabelTy LabelFalse = this->getLabel(); // Label for the false expr. in VisitAbstractConditionalOperator()
[all …]
H A DCompiler.h113 using LabelTy = typename Emitter::LabelTy;
115 using OptLabelTy = std::optional<LabelTy>;
116 using CaseMap = llvm::DenseMap<const SwitchCase *, LabelTy>;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp34 VoidTy(C, Type::VoidTyID), LabelTy(C, Type::LabelTyID), in LLVMContextImpl()
H A DType.cpp282 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
H A DLLVMContextImpl.h1759 Type VoidTy, LabelTy, HalfTy, BFloatTy, FloatTy, DoubleTy, MetadataTy,