| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 177 if (CastInst->isCast()) in findMatInsertPt() 460 if (!CastInst->isCast()) in collectConstantCandidates() 478 if (!ConstExpr->isCast()) in collectConstantCandidates() 495 if (Inst->isCast()) in collectConstantCandidates() 792 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants() 821 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 168 bool isCast() const { return isCast(getOpcode()); } 225 static inline bool isCast(unsigned OpCode) {
|
| H A D | AbstractCallSite.h | 147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
|
| H A D | Constants.h | 1155 bool isCast() const;
|
| H A D | InstrTypes.h | 697 return I->isCast();
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | NodeIntrospection.h | 46 bool isCast() const { return m_flags & IsCast; } in isCast() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AbstractCallSite.cpp | 67 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
|
| H A D | ConstantsContext.h | 60 return Instruction::isCast(CE->getOpcode()) || in classof() 604 if (Instruction::isCast(Opcode) ||
|
| H A D | ConstantFold.cpp | 91 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair() 93 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair() 374 if (CE->isCast()) { in ConstantFoldCastInstruction() 2268 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
|
| H A D | Constants.cpp | 1458 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr 1459 return Instruction::isCast(getOpcode()); in isCast() 1981 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
|
| H A D | Function.cpp | 1722 if (FI->isCast() && !FI->user_empty() && in hasAddressTaken()
|
| H A D | AsmWriter.cpp | 1610 if (CE->isCast()) { in WriteConstantInternal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 281 if (I->mayReadFromMemory() || I->isCast()) in getUserBonus() 319 cast<ConstantExpr>(CalledValue)->isCast()) in getSpecializationBonus()
|
| H A D | Attributor.cpp | 1122 if (CE->isCast() && CE->getType()->isPointerTy() && in checkForAllCallSites()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
|
| H A D | NVPTXISelLowering.cpp | 1382 if (!CE->isCast()) in getArgumentAlignment()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ExecutionUtils.cpp | 63 if (CE->isCast()) in operator *()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 272 if (CE->isCast()) in SplitStaticCtorDtor()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 679 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
|
| H A D | ConstantFolding.cpp | 1098 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl() 1373 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 3915 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion() 4459 isCast(CCK)) in CheckObjCConversion() 4484 if (exprACTC == ACTC_retainable && isAnyRetainable(castACTC) && isCast(CCK)) in CheckObjCConversion()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 393 if (CE->isCast()) in runStaticConstructorsDestructors()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 4181 (Instruction::isCast(E->getOpcode()) && in getEntryCost() 4182 Instruction::isCast(E->getAltOpcode()))) && in getEntryCost() 5608 (Instruction::isCast(E->getOpcode()) && in vectorizeTree() 5609 Instruction::isCast(E->getAltOpcode()))) && in vectorizeTree()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 2557 if (Instruction::isCast(CE->getOpcode())) { in writeConstants() 2739 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 279 if (TI->getNumOperands() == 1 && TI->isCast()) { in foldSelectOpOp()
|