Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp174 if (CastInst->isCast()) in findMatInsertPt()
445 if (!CastInst->isCast()) in collectConstantCandidates()
463 if (!ConstExpr->isCast()) in collectConstantCandidates()
480 if (Inst->isCast()) in collectConstantCandidates()
768 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
797 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstruction.h134 bool isCast() const { return isCast(getOpcode()); }
183 static inline bool isCast(unsigned OpCode) {
H A DConstants.h1099 bool isCast() const;
H A DInstrTypes.h623 return I->isCast();
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp61 if (CE->isCast()) in operator *()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp306 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
H A DNVPTXISelLowering.cpp1393 if (!CE->isCast()) in getArgumentAlignment()
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DExtractFunction.cpp273 if (CE->isCast()) in SplitStaticCtorDtor()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantFold.cpp81 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
83 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
538 if (CE->isCast()) { in ConstantFoldCastInstruction()
2214 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
H A DConstantsContext.h532 if (Instruction::isCast(Opcode) ||
H A DConstants.cpp1145 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr
1146 return Instruction::isCast(getOpcode()); in isCast()
1533 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
H A DAsmWriter.cpp1533 if (CE->isCast()) { in WriteConstantInternal()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLint.cpp700 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
H A DIVDescriptors.cpp701 if (I->isCast() && (I->getParent() == Phi->getParent()) && I->hasOneUse() && in isFirstOrderRecurrence()
H A DConstantFolding.cpp1007 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()
1279 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp3690 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion()
4234 isCast(CCK)) in CheckObjCConversion()
4259 if (exprACTC == ACTC_retainable && isAnyRetainable(castACTC) && isCast(CCK)) in CheckObjCConversion()
H A DSemaExprCXX.cpp4332 if (!isCast(CCK)) in PerformImplicitConversion()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2373 (Instruction::isCast(S.getOpcode()) && in getEntryCost()
2374 Instruction::isCast(S.getAltOpcode()))) && in getEntryCost()
3493 (Instruction::isCast(S.getOpcode()) && in vectorizeTree()
3494 Instruction::isCast(S.getAltOpcode()))) && in vectorizeTree()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp397 if (CE->isCast()) in runStaticConstructorsDestructors()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp296 if (TI->getNumOperands() == 1 && TI->isCast()) { in foldSelectOpOp()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2382 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2560 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h9403 static bool isCast(CheckedConversionKind CCK) { in isCast() function
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8860 if (I.isCast()) in findArgumentCopyElisionCandidates()