Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp179 if (CastInst->isCast()) in findMatInsertPt()
466 if (!CastInst->isCast()) in collectConstantCandidates()
484 if (!ConstExpr->isCast()) in collectConstantCandidates()
501 if (Inst->isCast()) in collectConstantCandidates()
789 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
818 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
H A DTLSVariableHoist.cpp111 if (Inst->isCast()) in collectTLSCandidate()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h247 bool isCast() const { return isCast(getOpcode()); }
298 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.h743 return I->isCast();
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DNodeIntrospection.h46 bool isCast() const { return m_flags & IsCast; } in isCast() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp66 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
H A DConstantsContext.h59 return Instruction::isCast(CE->getOpcode()); in classof()
488 if (Instruction::isCast(Opcode))
H A DConstantFold.cpp50 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
52 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
212 if (CE->isCast()) { in ConstantFoldCastInstruction()
H A DConstants.cpp1430 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr
1431 return Instruction::isCast(getOpcode()); in isCast()
1960 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp274 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DFunctionPropertiesAnalysis.cpp132 if (I.isCast()) in updateForBB()
H A DLint.cpp687 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
H A DConstantFolding.cpp1019 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()
1385 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp271 if (CE->isCast()) in SplitStaticCtorDtor()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp65 if (CE->isCast()) in operator *()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp244 if (I->isCast()) in calculate()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3914 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion()
4454 (castACTC == ACTC_coreFoundation && isCast(CCK)))) in CheckObjCConversion()
4458 isCast(CCK)) in CheckObjCConversion()
4483 if (exprACTC == ACTC_retainable && isAnyRetainable(castACTC) && isCast(CCK)) in CheckObjCConversion()
H A DSemaExprCXX.cpp4805 if (!isCast(CCK) && in PerformImplicitConversion()
4854 if (!isCast(CCK)) in PerformImplicitConversion()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp393 if (CE->isCast()) in runStaticConstructorsDestructors()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2098 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2247 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1430 if (Instruction::isCast(Opcode)) in isConstExprSupported()
1499 if (Instruction::isCast(BC->Opcode)) { in materializeValue()
1606 if (Instruction::isCast(BC->Opcode)) { in materializeValue()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2693 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2873 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp7850 if (!UnaryInstruction::isCast(E->getOpcode()) && E->Idx != 0) { in getEntryCost()
8387 (Instruction::isCast(E->getOpcode()) && in getEntryCost()
8388 Instruction::isCast(E->getAltOpcode())) || in getEntryCost()
11707 (Instruction::isCast(E->getOpcode()) && in vectorizeTree()
11708 Instruction::isCast(E->getAltOpcode())) || in vectorizeTree()

12