| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 177 if (CastInst->isCast()) in findMatInsertPt() 466 if (!CastInst->isCast()) in collectConstantCandidates() 484 if (!ConstExpr->isCast()) in collectConstantCandidates() 501 if (Inst->isCast()) in collectConstantCandidates() 769 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants() 798 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 321 bool isCast() const { return isCast(getOpcode()); } 376 static inline bool isCast(unsigned Opcode) {
|
| H A D | AbstractCallSite.h | 149 if (CE->hasOneUse() && CE->isCast()) in isCallee()
|
| H A D | Constants.h | 1256 LLVM_ABI bool isCast() const;
|
| H A D | InstrTypes.h | 633 return I->isCast();
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AbstractCallSite.cpp | 66 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
|
| H A D | ConstantsContext.h | 62 return Instruction::isCast(CE->getOpcode()); in classof() 488 if (Instruction::isCast(Opcode))
|
| H A D | ConstantFold.cpp | 49 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair() 51 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair() 153 if (CE->isCast()) { in ConstantFoldCastInstruction()
|
| H A D | IntrinsicInst.cpp | 729 return Instruction::isCast(*Opc); in isVPCast()
|
| H A D | Constants.cpp | 1541 bool ConstantExpr::isCast() const { return Instruction::isCast(getOpcode()); } in isCast() function in ConstantExpr 2215 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanUtils.h | 44 if (Instruction::isBinaryOp(Opcode) || Instruction::isCast(Opcode)) in isSingleScalar()
|
| H A D | VPlanAnalysis.cpp | 213 if (Instruction::isCast(Opcode)) in inferScalarTypeForRecipe()
|
| H A D | VPlanRecipes.cpp | 295 return VPI && Instruction::isCast(VPI->getOpcode()); in isScalarCast() 448 if (Instruction::isUnaryOp(Opcode) || Instruction::isCast(Opcode)) in getNumOperandsForOpcode() 504 if (Instruction::isBinaryOp(getOpcode()) || Instruction::isCast(getOpcode())) in canGenerateScalarForFirstLane() 1032 if (Instruction::isBinaryOp(getOpcode()) || Instruction::isCast(getOpcode())) in opcodeMayReadOrWriteFromMemory() 1063 if (Instruction::isBinaryOp(getOpcode()) || Instruction::isCast(getOpcode())) in onlyFirstLaneUsed() 1254 assert(Instruction::isCast(getOpcode()) && "unhandled opcode"); in print()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 265 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
|
| /freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 271 if (CE->isCast()) in SplitStaticCtorDtor()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | FunctionPropertiesAnalysis.cpp | 133 if (I.isCast()) in updateForBB()
|
| H A D | Lint.cpp | 707 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
|
| H A D | ConstantFolding.cpp | 1028 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl() 1482 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 401 assert(Instruction::isCast(CastOpcode)); in expandPredicationToCastIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ExecutionUtils.cpp | 68 if (CE->isCast()) in operator *()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopPeel.cpp | 246 if (I->isCast()) in calculate()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 3913 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion() 4456 (castACTC == ACTC_coreFoundation && SemaRef.isCast(CCK)) || in CheckObjCConversion() 4461 SemaRef.isCast(CCK)) || in CheckObjCConversion() 4488 SemaRef.isCast(CCK)) in CheckObjCConversion()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 152 bool isCast() const { return cast<llvm::Instruction>(Val)->isCast(); } in isCast() function
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 392 if (CE->isCast()) in runStaticConstructorsDestructors()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 2097 if (Instruction::isCast(CE->getOpcode())) { in writeConstants() 2238 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
|