Home
last modified time | relevance | path

Searched refs:Operator (Results 1 – 25 of 139) sorted by relevance

123456

/openbsd-src/gnu/llvm/llvm/utils/PerfectShuffle/
H A DPerfectShuffle.cpp25 struct Operator;
91 Operator *Op; // The Operation used to generate this value.
104 static std::vector<Operator*> TheOperators;
107 struct Operator { struct
113 Operator(unsigned short shufflemask, const char *name, unsigned opnum, in Operator() argument
118 ~Operator() { in ~Operator() argument
152 static Operator InsOp(0, "ins", 15, 1); argument
361 Operator *Op = TheOperators[opnum]; in main()
536 struct vmrghw : public Operator {
537 vmrghw() : Operator(0x0415, "vmrghw", OP_VMRGHW) {} in vmrghw()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTemplateName.h511 OverloadedOperatorKind Operator; member
534 OverloadedOperatorKind Operator) in DependentTemplateName() argument
535 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
539 OverloadedOperatorKind Operator, in DependentTemplateName() argument
541 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
565 return Operator; in getOperator()
583 OverloadedOperatorKind Operator) { in Profile() argument
586 ID.AddInteger(Operator); in Profile()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DOperator.h31 class Operator : public User {
35 Operator() = delete;
36 ~Operator() = delete;
75 class OverflowingBinaryOperator : public Operator {
129 class PossiblyExactOperator : public Operator {
170 class FPMathOperator : public Operator {
376 class ZExtOperator : public ConcreteOperator<Operator, Instruction::ZExt> {};
379 : public ConcreteOperator<Operator, Instruction::GetElementPtr> {
518 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
546 : public ConcreteOperator<Operator, Instruction::BitCast> {
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/
H A DSetTheory.h71 class Operator {
75 virtual ~Operator() = default;
102 StringMap<std::unique_ptr<Operator>> Operators;
125 void addOperator(StringRef Name, std::unique_ptr<Operator>);
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DSetTheory.cpp38 struct AddOp : public SetTheory::Operator {
46 struct SubOp : public SetTheory::Operator {
62 struct AndOp : public SetTheory::Operator {
78 struct SetIntBinOp : public SetTheory::Operator {
157 struct InterleaveOp : public SetTheory::Operator {
176 struct SequenceOp : public SetTheory::Operator {
253 void SetTheory::Operator::anchor() {} in anchor()
269 void SetTheory::addOperator(StringRef Name, std::unique_ptr<Operator> Op) { in addOperator()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp147 Record *Operator = OpDef->getDef(); in evaluateExpansion() local
148 if (!Operator->isSubClassOf("Instruction")) { in evaluateExpansion()
150 "', result operator '" + Operator->getName() + in evaluateExpansion()
156 CodeGenInstruction Insn(Operator); in evaluateExpansion()
160 "', result operator '" + Operator->getName() + in evaluateExpansion()
168 "', result operator '" + Operator->getName() + in evaluateExpansion()
H A DCodeGenDAGPatterns.cpp1877 static unsigned GetNumNodeResults(Record *Operator, CodeGenDAGPatterns &CDP) { in GetNumNodeResults() argument
1878 if (Operator->getName() == "set" || in GetNumNodeResults()
1879 Operator->getName() == "implicit") in GetNumNodeResults()
1882 if (Operator->isSubClassOf("Intrinsic")) in GetNumNodeResults()
1883 return CDP.getIntrinsic(Operator).IS.RetVTs.size(); in GetNumNodeResults()
1885 if (Operator->isSubClassOf("SDNode")) in GetNumNodeResults()
1886 return CDP.getSDNodeInfo(Operator).getNumResults(); in GetNumNodeResults()
1888 if (Operator->isSubClassOf("PatFrags")) { in GetNumNodeResults()
1892 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) { in GetNumNodeResults()
1901 ListInit *LI = Operator->getValueAsListInit("Fragments"); in GetNumNodeResults()
[all …]
H A DCompressInstEmitter.cpp428 Record *Operator = SourceDag->getOperatorAsDef(Rec->getLoc()); in evaluateCompressPat() local
429 CodeGenInstruction SourceInst(Operator); in evaluateCompressPat()
441 if (Operator->getValueAsInt("Size") <= DestOperator->getValueAsInt("Size")) in evaluateCompressPat()
446 Operator->getName() + "' !"); in evaluateCompressPat()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp262 static bool isNoopPtrIntCastPair(const Operator *I2P, const DataLayout &DL, in INITIALIZE_PASS_DEPENDENCY()
265 auto *P2I = dyn_cast<Operator>(I2P->getOperand(0)); in INITIALIZE_PASS_DEPENDENCY()
298 const Operator *Op = dyn_cast<Operator>(&V); in isAddressExpression()
330 const Operator &Op = cast<Operator>(V); in getPointerOperands()
350 auto *P2I = cast<Operator>(Op.getOperand(0)); in getPointerOperands()
432 Operator *Op = cast<Operator>(V); in appendsFlatAddressExpressionToPostorderStack()
492 if (isNoopPtrIntCastPair(cast<Operator>(I2P), *DL, TTI)) in collectFlatAddressExpressions()
494 cast<Operator>(I2P->getOperand(0))->getOperand(0)); in collectFlatAddressExpressions()
655 assert(isNoopPtrIntCastPair(cast<Operator>(I), *DL, TTI)); in cloneInstructionWithNewAddressSpace()
656 Value *Src = cast<Operator>(I->getOperand(0))->getOperand(0); in cloneInstructionWithNewAddressSpace()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp724 return checkOperandCount(dwarf::OperationEncodingString(Operation.Operator), in writeDWARFExpression()
729 writeInteger((uint8_t)Operation.Operator, OS, IsLittleEndian); in writeDWARFExpression()
730 switch (Operation.Operator) { in writeDWARFExpression()
741 StringRef EncodingStr = dwarf::OperationEncodingString(Operation.Operator); in writeDWARFExpression()
745 ? "0x" + utohexstr(Operation.Operator) in writeDWARFExpression()
757 writeInteger((uint8_t)Entry.Operator, OS, IsLittleEndian); in writeListEntry()
759 StringRef EncodingName = dwarf::RangeListEncodingString(Entry.Operator); in writeListEntry()
770 switch (Entry.Operator) { in writeListEntry()
818 writeInteger((uint8_t)Entry.Operator, OS, IsLittleEndian); in writeListEntry()
820 StringRef EncodingName = dwarf::LocListEncodingString(Entry.Operator); in writeListEntry()
[all …]
H A DDWARFYAML.cpp281 IO.mapRequired("Operator", DWARFOperation.Operator); in mapping()
287 IO.mapRequired("Operator", RnglistEntry.Operator); in mapping()
293 IO.mapRequired("Operator", LoclistEntry.Operator); in mapping()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DParsedTemplate.h165 OverloadedOperatorKind Operator; member
247 Name(Name), Operator(OperatorKind), Template(OpaqueTemplateName), in TemplateIdAnnotation()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPExpressions.cpp607 tok::TokenKind Operator = PeekTok.getKind(); in EvaluateDirectiveSubExpr() local
615 if (Operator == tok::ampamp && LHS.Val == 0) in EvaluateDirectiveSubExpr()
617 else if (Operator == tok::pipepipe && LHS.Val != 0) in EvaluateDirectiveSubExpr()
619 else if (Operator == tok::question && LHS.Val == 0) in EvaluateDirectiveSubExpr()
656 if (Operator == tok::question) in EvaluateDirectiveSubExpr()
673 switch (Operator) { in EvaluateDirectiveSubExpr()
702 switch (Operator) { in EvaluateDirectiveSubExpr()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DOperatorKinds.h31 const char *getOperatorSpelling(OverloadedOperatorKind Operator);
/openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h391 explicit IntrinsicFunctionIdentifierNode(IntrinsicFunctionKind Operator) in IntrinsicFunctionIdentifierNode()
393 Operator(Operator) {} in IntrinsicFunctionIdentifierNode()
397 IntrinsicFunctionKind Operator; member
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DValue.cpp646 } else if (Operator::getOpcode(V) == Instruction::BitCast) { in stripPointerCastsAndOffsets()
647 V = cast<Operator>(V)->getOperand(0); in stripPointerCastsAndOffsets()
651 Operator::getOpcode(V) == Instruction::AddrSpaceCast) { in stripPointerCastsAndOffsets()
654 V = cast<Operator>(V)->getOperand(0); in stripPointerCastsAndOffsets()
758 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripAndAccumulateConstantOffsets()
759 Operator::getOpcode(V) == Instruction::AddrSpaceCast) { in stripAndAccumulateConstantOffsets()
760 V = cast<Operator>(V)->getOperand(0); in stripAndAccumulateConstantOffsets()
H A DOperator.cpp21 bool Operator::hasPoisonGeneratingFlags() const { in hasPoisonGeneratingFlags()
47 bool Operator::hasPoisonGeneratingFlagsOrMetadata() const { in hasPoisonGeneratingFlagsOrMetadata()
H A DCMakeLists.txt44 Operator.cpp
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1189 tok::TokenKind Operator, in ActOnCXXFoldExpr() argument
1229 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr()
1254 BinaryOperatorKind Operator, in BuildCXXFoldExpr() argument
1259 CXXFoldExpr(Context.DependentTy, Callee, LParenLoc, LHS, Operator, in BuildCXXFoldExpr()
1264 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr() argument
1275 switch (Operator) { in BuildEmptyCXXFoldExpr()
1286 << BinaryOperator::getOpcodeStr(Operator); in BuildEmptyCXXFoldExpr()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp977 const Operator *I, const APInt &DemandedElts, KnownBits &Known, in computeKnownBitsFromShiftOperator()
1061 static void computeKnownBitsFromOperator(const Operator *I, in computeKnownBitsFromOperator()
2033 if (const Operator *I = dyn_cast<Operator>(V)) in computeKnownBits()
2228 return isKnownToBeAPowerOfTwo(cast<Operator>(V)->getOperand(0), OrZero, in isKnownToBeAPowerOfTwo()
2551 const Operator *I = dyn_cast<Operator>(V); in isKnownNonZero()
2750 getInvertibleOperands(const Operator *Op1, in getInvertibleOperands()
2751 const Operator *Op2) { in getInvertibleOperands()
2831 auto Values = getInvertibleOperands(cast<Operator>(BO1), in getInvertibleOperands()
2832 cast<Operator>(BO2)); in getInvertibleOperands()
2937 auto *O1 = dyn_cast<Operator>(V1); in isKnownNonEqual()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp876 AsmToken::TokenKind Operator; in LexToken() local
879 std::tie(Operator, OperatorLength) = in LexToken()
908 if (Operator != AsmToken::Percent) { in LexToken()
910 return AsmToken(Operator, StringRef(TokStart, OperatorLength)); in LexToken()
/openbsd-src/gnu/usr.bin/clang/libLLVMCore/
H A DMakefile51 Operator.cpp \
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DValueTracking.h28 class Operator; variable
661 bool canCreateUndefOrPoison(const Operator *Op,
663 bool canCreatePoison(const Operator *Op, bool ConsiderFlagsAndMetadata = true);
/openbsd-src/gnu/llvm/libcxx/docs/Status/
H A DSpaceship.rst4 libc++ Spaceship Operator Status (operator<=>)
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/IR/
H A DBUILD.gn57 "Operator.cpp",

123456