Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp177 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 DInstruction.h168 bool isCast() const { return isCast(getOpcode()); }
225 static inline bool isCast(unsigned OpCode) {
H A DAbstractCallSite.h147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
H A DConstants.h1155 bool isCast() const;
H A DInstrTypes.h697 return I->isCast();
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/
H A DNodeIntrospection.h46 bool isCast() const { return m_flags & IsCast; } in isCast() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp67 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
H A DConstantsContext.h60 return Instruction::isCast(CE->getOpcode()) || in classof()
604 if (Instruction::isCast(Opcode) ||
H A DConstantFold.cpp91 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 DConstants.cpp1458 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 DFunction.cpp1722 if (FI->isCast() && !FI->user_empty() && in hasAddressTaken()
H A DAsmWriter.cpp1610 if (CE->isCast()) { in WriteConstantInternal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp281 if (I->mayReadFromMemory() || I->isCast()) in getUserBonus()
319 cast<ConstantExpr>(CalledValue)->isCast()) in getSpecializationBonus()
H A DAttributor.cpp1122 if (CE->isCast() && CE->getType()->isPointerTy() && in checkForAllCallSites()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
H A DNVPTXISelLowering.cpp1382 if (!CE->isCast()) in getArgumentAlignment()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp63 if (CE->isCast()) in operator *()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp272 if (CE->isCast()) in SplitStaticCtorDtor()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp679 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
H A DConstantFolding.cpp1098 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()
1373 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3915 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 DExecutionEngine.cpp393 if (CE->isCast()) in runStaticConstructorsDestructors()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4181 (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 DBitcodeWriter.cpp2557 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 DInstCombineSelect.cpp279 if (TI->getNumOperands() == 1 && TI->isCast()) { in foldSelectOpOp()

12