Home
last modified time | relevance | path

Searched refs:isBinaryOp (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/WindowsResource/
H A DResourceScriptToken.h49 bool isBinaryOp() const;
/llvm-project-15.0.7/llvm/tools/llvm-rc/
H A DResourceScriptToken.h61 bool isBinaryOp() const;
H A DResourceScriptToken.cpp67 bool RCToken::isBinaryOp() const { in isBinaryOp() function in RCToken
H A DResourceScriptParser.cpp158 while (!isEof() && look().isBinaryOp()) { in parseIntExpr1()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstruction.h162 bool isBinaryOp() const { return isBinaryOp(getOpcode()); }
184 static inline bool isBinaryOp(unsigned Opcode) {
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp225 bool isBinaryOp() const { return isOperator && Args.size() == 2; } in isBinaryOp() function in PrototypeAST
228 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
989 if (Proto->isBinaryOp()) in Codegen()
1015 if (Proto->isBinaryOp()) in Codegen()
H A Dtoy.cpp232 bool isBinaryOp() const { return isOperator && Args.size() == 2; } in isBinaryOp() function in PrototypeAST
235 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1360 if (Proto->isBinaryOp()) in Codegen()
1383 if (Proto->isBinaryOp()) in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp249 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in __anonb74c55720111::PrototypeAST
252 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
908 if (P.isBinaryOp()) in codegen()
936 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp210 bool isBinaryOp() const { return isOperator && Args.size() == 2; } in isBinaryOp() function in PrototypeAST
213 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
971 if (Proto->isBinaryOp()) in Codegen()
997 if (Proto->isBinaryOp()) in Codegen()
H A Dtoy.cpp211 bool isBinaryOp() const { return isOperator && Args.size() == 2; } in isBinaryOp() function in PrototypeAST
214 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1258 if (Proto->isBinaryOp()) in Codegen()
1281 if (Proto->isBinaryOp()) in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp266 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in __anoncef1c7f20111::PrototypeAST
269 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1063 if (P.isBinaryOp()) in codegen()
1096 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp272 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in __anona04537740111::PrototypeAST
275 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1068 if (P.isBinaryOp()) in codegen()
1101 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp264 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in PrototypeAST
267 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1054 if (P.isBinaryOp()) in codegen()
1087 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp271 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in __anon2bc8c6730111::PrototypeAST
274 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1069 if (P.isBinaryOp()) in codegen()
1105 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp266 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in __anon436e38f30111::PrototypeAST
269 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1063 if (P.isBinaryOp()) in codegen()
1096 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp266 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in __anonb7eaa9f40111::PrototypeAST
269 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1063 if (P.isBinaryOp()) in codegen()
1096 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp209 bool isBinaryOp() const { return isOperator && Args.size() == 2; } in isBinaryOp() function in PrototypeAST
212 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1218 if (Proto->isBinaryOp()) in Codegen()
1241 if (Proto->isBinaryOp()) in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp374 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp() function in __anon14c1a8750211::PrototypeAST
377 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1241 if (P.isBinaryOp()) in codegen()
1309 if (P.isBinaryOp()) in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp251 bool isBinaryOp() const { return isOperator && Args.size() == 2; } in isBinaryOp() function in PrototypeAST
254 assert(isUnaryOp() || isBinaryOp()); in getOperatorName()
1438 if (Proto->isBinaryOp()) in Codegen()
1461 if (Proto->isBinaryOp()) in Codegen()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp241 assert(Instruction::isBinaryOp(OC)); in expandPredicationInBinaryOperator()
535 if (OC && Instruction::isBinaryOp(*OC)) in expandPredication()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp321 bool IsBinOp = Instruction::isBinaryOp(Opcode); in isExtractExtractCheap()
718 if (!I.isBinaryOp() || !I.getType()->isIntegerTy(1)) in foldExtractedCmps()
1168 if (CI->isBinaryOp()) { in foldShuffleFromReductions()
1253 if (!Op0 || !Op1 || Op0 == Op1 || !Op0->isBinaryOp() || !Op1->isBinaryOp() || in foldSelectShuffle()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp284 if (Instruction::isBinaryOp(Opcode)) { in remapConstantExpr()
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl06.rst150 bool isBinaryOp() const { return IsOperator && Args.size() == 2; }
153 assert(isUnaryOp() || isBinaryOp());
290 if (P.isBinaryOp())
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp293 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); in makeGuaranteedNoWrapRegion()
880 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); in binaryOp()
926 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); in overflowingBinaryOp()
H A DConstantsContext.h88 return Instruction::isBinaryOp(CE->getOpcode()); in classof()

12