Home
last modified time | relevance | path

Searched refs:isCast (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp177 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 DInstruction.h321 bool isCast() const { return isCast(getOpcode()); }
376 static inline bool isCast(unsigned Opcode) {
H A DAbstractCallSite.h149 if (CE->hasOneUse() && CE->isCast()) in isCallee()
H A DConstants.h1256 LLVM_ABI bool isCast() const;
H A DInstrTypes.h633 return I->isCast();
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp66 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
H A DConstantsContext.h62 return Instruction::isCast(CE->getOpcode()); in classof()
488 if (Instruction::isCast(Opcode))
H A DConstantFold.cpp49 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 DIntrinsicInst.cpp729 return Instruction::isCast(*Opc); in isVPCast()
H A DConstants.cpp1541 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 DVPlanUtils.h44 if (Instruction::isBinaryOp(Opcode) || Instruction::isCast(Opcode)) in isSingleScalar()
H A DVPlanAnalysis.cpp213 if (Instruction::isCast(Opcode)) in inferScalarTypeForRecipe()
H A DVPlanRecipes.cpp295 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 DNVPTXGenericToNVVM.cpp265 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp271 if (CE->isCast()) in SplitStaticCtorDtor()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DFunctionPropertiesAnalysis.cpp133 if (I.isCast()) in updateForBB()
H A DLint.cpp707 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
H A DConstantFolding.cpp1028 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()
1482 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp401 assert(Instruction::isCast(CastOpcode)); in expandPredicationToCastIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp68 if (CE->isCast()) in operator *()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp246 if (I->isCast()) in calculate()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3913 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 DInstruction.h152 bool isCast() const { return cast<llvm::Instruction>(Val)->isCast(); } in isCast() function
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp392 if (CE->isCast()) in runStaticConstructorsDestructors()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2097 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2238 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()

12