| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 178 if (CastInst->isCast()) in findMatInsertPt() 468 if (!CastInst->isCast()) in collectConstantCandidates() 486 if (!ConstExpr->isCast()) in collectConstantCandidates() 503 if (Inst->isCast()) in collectConstantCandidates() 800 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants() 829 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
|
| H A D | TLSVariableHoist.cpp | 112 if (Inst->isCast()) in collectTLSCandidate()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 165 bool isCast() const { return isCast(getOpcode()); } 218 static inline bool isCast(unsigned OpCode) {
|
| H A D | AbstractCallSite.h | 147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
|
| H A D | Constants.h | 1182 bool isCast() const;
|
| H A D | InstrTypes.h | 696 return I->isCast();
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/ |
| H A D | NodeIntrospection.h | 46 bool isCast() const { return m_flags & IsCast; } in isCast() function
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AbstractCallSite.cpp | 66 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
|
| H A D | ConstantsContext.h | 60 return Instruction::isCast(CE->getOpcode()) || in classof() 521 if (Instruction::isCast(Opcode) ||
|
| H A D | ConstantFold.cpp | 89 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair() 91 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair() 372 if (CE->isCast()) { in ConstantFoldCastInstruction() 2112 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
|
| H A D | Constants.cpp | 1436 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr 1437 return Instruction::isCast(getOpcode()); in isCast() 1946 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
|
| H A D | Function.cpp | 1843 if (FI->isCast() && !FI->user_empty() && in hasAddressTaken()
|
| /llvm-project-15.0.7/llvm/test/Transforms/ConstantHoisting/AArch64/ |
| H A D | consthoist-unreachable.ll | 6 …m::Type *, const llvm::consthoist::ConstantUser &): Assertion `CastInst->isCast() && "Expected an …
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 289 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ExecutionUtils.cpp | 64 if (CE->isCast()) in operator *()
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 272 if (CE->isCast()) in SplitStaticCtorDtor()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 580 if (I->mayReadFromMemory() || I->isCast()) in getUserBonus()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 684 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
|
| H A D | ConstantFolding.cpp | 1053 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl() 1413 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 3915 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion() 4457 (castACTC == ACTC_coreFoundation && isCast(CCK)))) in CheckObjCConversion() 4461 isCast(CCK)) in CheckObjCConversion() 4486 if (exprACTC == ACTC_retainable && isAnyRetainable(castACTC) && isCast(CCK)) in CheckObjCConversion()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 393 if (CE->isCast()) in runStaticConstructorsDestructors()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 2106 if (Instruction::isCast(CE->getOpcode())) { in writeConstants() 2253 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
|
| /llvm-project-15.0.7/clang/unittests/Introspection/ |
| H A D | IntrospectionTest.cpp | 57 if (Call.isCast()) { in print()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 6516 (Instruction::isCast(E->getOpcode()) && in getEntryCost() 6517 Instruction::isCast(E->getAltOpcode())) || in getEntryCost() 8339 (Instruction::isCast(E->getOpcode()) && in vectorizeTree() 8340 Instruction::isCast(E->getAltOpcode())) || in vectorizeTree()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 2596 if (Instruction::isCast(CE->getOpcode())) { in writeConstants() 2782 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
|